Relocatable patch files from cymcuelftools?

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

cross mob
MaPe_4795006
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

Hello!

I'm building  a product with a similar flash memory map layout as this example, except I will have two "user" applications. So in CM4 there are applications 0 (bootloader using DFU SDK), user apps 1 and 2.
https://github.com/Infineon/mtb-example-psoc6-dfu-basic

MaPe_4795006_0-1634647767101.png

For field upgrades of the user application, I'm creating patch files (.cyacd2 format) using cymcuelftools. When building a patch file, I've defined the flash memory region where this patch is applied in the linker script. Do I have to build two patch files, one for each possible flash memory region? Is there a way to build relocatable images/patches?

Regards

Markus

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi Markus,

You can find more information on patching images in the below document

https://www.cypress.com/file/493001/download

Regards

Alakananda

View solution in original post

0 Likes
1 Reply
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi Markus,

You can find more information on patching images in the below document

https://www.cypress.com/file/493001/download

Regards

Alakananda
0 Likes