bloodynri
Joined: 03 Nov 2004 Posts: 2
|
Problem in getc() using bootloader +application |
Posted: Mon Nov 08, 2004 4:32 pm |
|
|
Hi,
I'm using the ex_bootloader.h,loader.c etc from CCS as my bootloader.
I have it in such a way that if I press "x" in hyperterminal, it will run load_program() and I will be able to upload my application hex file.
Now once the application is running, I want to be able to press "f" and kick out of the application and go into bootloader. On pressing "f" I have a goto 0x20 where my bootloader is. I'm able to go there and it does say "press 'x' to load new firmware" (as its supposed to) but when I press 'x' nothing happens. It works the first time around but once the application is running and I press 'f' it goes to bootloader but doesnt work that time around. I have #use rs232 in both bootloader and the application. I'm using kbhit(). Can someone please help?
Thanks! |
|