|
|
View previous topic :: View next topic |
Author |
Message |
championx
Joined: 28 Feb 2006 Posts: 151
|
18F252 and CCS Bootloader.c |
Posted: Sat May 12, 2007 1:00 pm |
|
|
Hi! im using the bootloader.c file to implement a bootloader on a 18F252 , but i get timeout error (siow.exe)
I did not chaged the bootloader.c code (only changed 18F452 to 18F252) anyone have this bootloader working?
thanks! |
|
|
miky
Joined: 06 May 2007 Posts: 10 Location: Prague
|
|
Posted: Wed May 16, 2007 4:15 pm |
|
|
Hi, I am using TinyBootLoader, v1.9.3, it is only 100bytes long and works with 16f88, 16f876,7, 18f252,452...
Miky |
|
|
RolandAldridge
Joined: 26 Mar 2007 Posts: 7 Location: Southern California
|
|
Posted: Thu May 17, 2007 10:24 am |
|
|
I've been struggling with a PIC18F2525, trying to do the same thing.
If I start the CCS compiler, and use the ICD-U40, I can download the bootloader into the chip, start it up, and then use SIOW to place my application program into the chip. This all does appear to work. I don't get a time out.
Make sure you've got the RS232 settings in the SIOW the same as the bootloader expects - typically 9600 baud, 8 bits, 1 stop, no flow control. By default mine was set to 4800 baud, which of course didn't work.
Now I have the problem, how to start the application program? According to a CCS guy, one needs to load the bootloader into the chip with a programmer, not the ICD-U40 (though why the hell I have no idea). Then download the application code. That's today's project. Does the ICD-U40 with the CCS debugger understand this? No doubt this will become clear eventually.
Is there a tutorial on how to use a bootloader written in words of one or possibly even two syllables for idiots like myself to comprehend? So far it seems that one has to figure it out the old fashioned way - stop when blood appears on the forehead.
Roland _________________ Roland Aldridge
www.amio2.com |
|
|
|
|
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
|