CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Problem in getc() using bootloader +application

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bloodynri



Joined: 03 Nov 2004
Posts: 2

View user's profile Send private message

Problem in getc() using bootloader +application
PostPosted: Mon Nov 08, 2004 4:32 pm     Reply with quote

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!
jds-pic



Joined: 17 Sep 2003
Posts: 205

View user's profile Send private message

Re: Problem in getc() using bootloader +application
PostPosted: Tue Nov 09, 2004 2:57 pm     Reply with quote

bloodynri wrote:
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. Can someone please help?


the very same situation is described and resolved here:
http://www.ccsinfo.com/forum/viewtopic.php?t=20282

jds-pic
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group