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 CCS Technical Support

CCS Bootloader timing out

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



Joined: 15 Jun 2006
Posts: 66

View user's profile Send private message

CCS Bootloader timing out
PostPosted: Mon Aug 21, 2006 9:01 am     Reply with quote

Ok, i've read 99% of all the bootloader topics and i'm still confused.

I've loaded the CCS bootloader on my pic18f452, and i made 2 simple 4 line LED blinking programs. It loads the new program fine.

Heres my problem:

I want it to work on a software usart not the hardware usart. Is this possible?

When I try to load another program over the software uart, it always times out after 10 lines are read. I am using the siow.exe program that came with ccs compiler. If I just use 'open' then it won't time out, but it still doesn't work. Either way I use, the old program still works which makes me believe that no writing is being done at all. I've used a printf statement to show that it does read in the lines correctly, but does not write it onto the flash.

Anyone tried getting a software usart working with a bootloader and can push me in the right direction?
grasspuddle



Joined: 15 Jun 2006
Posts: 66

View user's profile Send private message

PostPosted: Tue Aug 22, 2006 6:00 am     Reply with quote

Works as well as a software uart can.

All someone could've said was "Remove XON/XOFF Commands" and that would've been 90% of the work.

So thats my advice for anyone else trying this.
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