Page 1 of 1
Write code via XBEE wireless dongle/module

Posted:
Sat Apr 23, 2011 9:40 pm
by yu_buffon
Hi there, I'm realtively new to PIC programming. I have a few IFCs namely, XBEE PRO STARTER KIT, IFC - Xbee Wireless Card and other required cards. May I know if I can use the XBEE PRO STARTER KIT to transmit the .hex file to the PIC chip on the IFC - Main Board card via IFC - Xbee Wireless Card? My objective here is to overwrite the old code with a newer code. Is it possible? Please help!
Re: Write code via XBEE wireless dongle/module

Posted:
Sun Apr 24, 2011 7:24 am
by yonghui
hi,
im not so clear with ur intention.
the hex file u receive from the xbee is then sent to main board, then when the main board received it. u wanted to burn the hex file to where?
its not possible for the PIC on IFC to reprogram it self. u need UC00A/B
regards
yh
Re: Write code via XBEE wireless dongle/module

Posted:
Mon Apr 25, 2011 11:21 am
by yu_buffon
Hi there, thank u very much 4 the reply. U r very close there, the hex file is received from the xbee is then sent to main board, then when the main board received it n then burn/overwrite it into the main PIC. I know it may look not right, but I'm totally new to PIC programming. N thats the reason I'm on this forum asking for opinions. I'm really appreciate if u can give me thorough explanation what can n cannot be done with XBee cards.
Re: Write code via XBEE wireless dongle/module

Posted:
Mon Apr 25, 2011 7:42 pm
by yonghui
hi,
u can for example, preprogram the main controller with some tasks tat u want main controller to do. but the the task is not immediately run on power up of the main board, but it waits for command from xbee.
lets say
command task
'A' display "xbee communication sucessful" on IFC-control panel's LCD
'B' run motors on IFC-brush motor
'C' read analog value from sensor and display the meaning on IFC-control panel.
'R' reset IFC slave cards.
from sk xbee plug on computer. u can send a command out to the IFC-xbee. then main board will read data from IFC-xbee and perform task accordingly.
regards,
yh
Re: Write code via XBEE wireless dongle/module

Posted:
Tue Apr 26, 2011 1:53 pm
by yu_buffon
Thank u for the reply. Now I get the idea that I cannot use the XBee card to overwrite the PIC in the main card. For that purpose, I need to use the UC00A/B. I can use the XBee card, for example, to send signals to the main card to perform the preprogrammed task. Correct me if I'm wrong!
Re: Write code via XBEE wireless dongle/module

Posted:
Thu Apr 28, 2011 1:12 pm
by yonghui
ya
correct
regards,
yh
Re: Write code via XBEE wireless dongle/module

Posted:
Sun May 01, 2011 3:20 pm
by yu_buffon
thanks a lot.