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

Bootloader for FTDI FT245 write_program_memory timeout

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



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

Bootloader for FTDI FT245 write_program_memory timeout
PostPosted: Fri Feb 13, 2009 2:16 pm     Reply with quote

16F877 v3.249
I'm making a bootloader based on ccs example.
It is for the FTDI chip FT245.
I took the example and made custom getc and putc functions.
after the #seperate and #org of loader.c I have defined
It seems like I'm hanging in the write_program_memory()
The addresses ect for write_program_memory() seem ok so I figure it should program.
Any ideas why it would hang?


Last edited by treitmey on Tue Feb 17, 2009 5:24 pm; edited 1 time in total
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Feb 16, 2009 10:33 am     Reply with quote

I think I figured it out.. I'll update the post after testing
. . .
Wells its the fact that the FTDI245 isn't Full-Duplex. The bootloader
expects a XOFF while it tries to send all the info.
If it doesn't get it, the software times out.
I'll now make a PC app to send one pic.hex line at a time
and wait for ACKLOD, before continuing. FIXED Smile
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