You are here

Multi-application bootloader | Cypress Semiconductor

Multi-application bootloader

Summary: 9 Replies, Latest post by pvkv on 29 Sep 2015 02:47 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
rom17's picture
User
91 posts

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

Where can i find this?

Regards,

Romil 

HIMA's picture
Cypress Employee
389 posts

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

519561112_1416631's picture
User
4 posts

HI,Hima.

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

rom17's picture
User
91 posts

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

which psoc do you use?

 

519561112_1416631's picture
User
4 posts

PSOC 4.

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

rom17's picture
User
91 posts

ur welcome

Romil 

519561112_1416631's picture
User
4 posts

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

user_14586677's picture
User
7648 posts

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-introduction-bootloaders      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-bootloader                       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-5lp                               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-bootloader                                       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.

519561112_1416631's picture
User
4 posts

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.

pvkv's picture
Cypress Employee
82 posts

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

Log in to post new comments.