CAN bus Bootloader

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
jofic_334026
Level 3
Level 3
First like received

I need to create a bootloader using a CAN bus component.  I've read the bootloader component datasheet as well as AN73854, AN73503, and AN68272 but I'm still a bit confused.  In the attached project I have a bootload component and a CAN component.   The CAN component is not listed as an option under the "Communication component" in the bootloader setup dialog so I'm going with "Custom Interface".  This means I have to define 5 different API function (i.e. - Start, Stop, Reset, Write, and Read).  This is where I start getting confused.  I'd like for the interface to be compatible with PC side (host) software tools that we already have for our current microprocessors.  That is, we have a protocol defined already for things like "ENTER BOOTLOAD MODE" and "WRITE FLASH ADDRESS".  I'm confused enough to not even know what to exactly ask here.  Just any help to get me going would be much appreciated!

0 Likes
3 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

 Hi,

   

 

   

Can you please have a look at this thread 

   

http://www.cypress.com/?app=forum&id=2233&rID=88995

   

 

   

Thanks,

   

Hima

0 Likes
jofic_334026
Level 3
Level 3
First like received

Thanks.  Where does the write to flash occur?

0 Likes

Hello,

   

For all custom bootloaders the Flash write will occur inside Bootloader_HostLink() itself similar to the existing bootloader.

   

 

   

Thanks,

   

Hima

0 Likes