Multi-application bootloader

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

cross mob
Anonymous
Not applicable

I need a multi-application bootloader. i can't find example for this.

   

Where can i find this?

   

Regards,

   

Romil 

0 Likes
1 Solution
Anonymous
Not applicable

Check this note http://www.cypress.com/file/137036/download

   

which psoc do you use?

View solution in original post

0 Likes
9 Replies
lock attach
Attachments are accessible only for community members.
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello Romil,

   

 

   

There is no much difference between a Multi Application bootloader and a normal bootloader. If you add the dependency to a multi App bootloader .hex file then two .cyacd,.elf and .map files will be generated.One will be corresponding to the lower flash address region and other the higher flash address region.

   

While bootloading the .cyacd file needs to be chosen such that it must correspond to the not active application. After bootloading the newly bootloaded application will be made as the active application.

   

I'm attaching a very basic example project. This is the PSoC Creator example project with the bootloader configured as Multi Application Bootloader.

   

 

   

Thanks,

   

Hima

0 Likes
Anonymous
Not applicable

HI,Hima.

   

I want to know how to switch from one to another between two bootloadable applications?

0 Likes
Anonymous
Not applicable

Check this note http://www.cypress.com/file/137036/download

   

which psoc do you use?

0 Likes
Anonymous
Not applicable

PSOC 4.

   

Thank you!I have find it in the document you provide.

0 Likes
Anonymous
Not applicable

ur welcome

   

Romil 

0 Likes
Anonymous
Not applicable

Hi,Romil.

   

Another question,I modify some files in the bootloader generated source because I need to communicate according my own Uart protocol.But the files will recover just as before modified when restart the PSOC Creator software.

   

So what should I do if I want to save the changes of files?

   

Thanks!

   

​Zhang Ting

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Look at the first ap note, discusses customization of BL code.

   

 

   

http://www.cypress.com/documentation/application-notes/an73854-psoc-3-psoc-4-and-psoc-5lp-introducti...      AN73503 PSoC® 3, PSoC 4, and PSoC 5LP Introduction To Bootloaders

   

http://www.cypress.com/documentation/application-notes/an68272-psoc-3-psoc-4-and-psoc-5lp-uart-bootl...                       AN68272 UART BL     PSOC 3, 4, 5LP

   

http://www.cypress.com/documentation/application-notes/an60317-psoc-3-and-psoc-5lp-i2c-bootloader                                         AN60317 I2C BL         PSOC 3, 5LP

   

http://www.cypress.com/documentation/application-notes/an73503-usb-hid-bootloader-psoc-3-and-psoc-5l...                               AN73503 USB HID BL with GUI Host     PSOC 3, 5LP

   

http://www.cypress.com/documentation/application-notes/an86526-psoc-4-i2c-bootloader                                                                                     AN86526 - PSoC® 4  I2C Bootloader

   

http://www.cypress.com/documentation/application-notes/an68272-psoc-3-psoc-4-and-psoc-5lp-uart-bootl...                                       AN68272 - PSoC® 3, PSoC 4 and PSoC 5LP UART Bootloader

   

http://www.cypress.com/forum/psoc-3-known-problems-and-solutions/multi-application-bootloader

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Hi,Dana.

   

According the document,I load the existing Bootloader(v1.30) component,then modify some API code. The question is that I have define Catalog Placement in the Catalog Placement dialog,but my component is not displaying in the Catalog. Why?

   

 

   

Regards,Zhang Ting.

0 Likes
Anonymous
Not applicable

Hi, Can you attach your project here, so that we can see catalog placement of the component ?

0 Likes