View previous topic :: View next topic |
Author |
Message |
ralpok
Joined: 21 Dec 2005 Posts: 25
|
CAN Bootloader Help |
Posted: Tue Jan 02, 2007 4:42 pm |
|
|
I have seen some previous talk about this topic so I am hoping some people have had more success than I am having.
I have been spending some time attempting to get a CAN bootloader working. I haveread the application note AN247 from Microchip and downloaded the zip to go along with it. Has anybody successfully gotten this bootloader to work with your CCS code? The .hex file was included inside zip but I don't really understand the protocol to communicate with the CAN bootloader supplied by Microchip? Does anybody have a better understanding so that I can write the app I need to download the new code through the bootloader?
Thanks in advance |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Mon Mar 09, 2009 8:50 am |
|
|
Hi ralpok
Are you succeed to make bootloader for your Pic 18F ??
I am interested
hhget |
|
![](templates/subSilver/images/spacer.gif) |
ralpok
Joined: 21 Dec 2005 Posts: 25
|
Success in CAN Bootloader |
Posted: Mon Mar 09, 2009 9:23 am |
|
|
Yes we have succeeded in building our own CAN bootloader. It was an interesting project because a lot of the work had to be done at the lowest level (hand built assembly functions) because of odd stuff the compiler does with scratch variables during compile time and how strict you have to be about where things get put in memory. But in the end we prevailed and have had the system up and running for almost 5 months now with a reasonable amount of testing. |
|
![](templates/subSilver/images/spacer.gif) |
hdgetnet
Joined: 09 Mar 2009 Posts: 1
|
|
Posted: Tue Mar 10, 2009 3:00 am |
|
|
Hi ralpok
i work with pic18f4580, and i would like to implement bootloader Can for programming new application with Bus Can
In AN247, i dont know what the condition the pic entry in boot.!
I think for booting you need send a frame with special CAN ID!
Can you tell me more information to AN247
Tks |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Wed Mar 11, 2009 9:13 am |
|
|
hi
Anywhere in datasheet an247, it indicate the speed of the bus!
what speed do you use ?? 125, 250 , 500 ....
tks
hdget |
|
![](templates/subSilver/images/spacer.gif) |
|