EtherCAT - firmware update - Combine Bootlader Project with Application

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

cross mob
User18369
Level 2
Level 2
Hi,

I´m working on the firmware update via EtherCat. example : ETHCAT_FWUPDATE_SSC_APPLICATION_XMC48

So my question is. Is it possible to combine the Bootloader project with the EtherCat example? I read about converting the Bottlader.bin File in a C-File and then import it to the Application SW.
Is this possible ?
I tried to do so, but without sucess.

Thanks for any help.
0 Likes
1 Reply
User18369
Level 2
Level 2
Ok now I think i fixed it.
1. edit Linker Script from the Application

.abm_rawData (0x08000000):
{
KEEP(*(.abm_rawData))
} > FLASH_0_cached

2. Generated C File edit
- from unsigned char rawData[65524] = { .....
- to const unsigned char __attribute__((section(".abm_rawData"))) rawData[65524] = {
0 Likes