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

cross mob
90670
Level 4
Level 4
25 replies posted 25 sign-ins 10 questions asked

Hi everyone, I'm trying to build a bootloader with ABM mode for my P2G XMC4700 kit. I found in the document that the ABM header default application length and ApplicationCRC32 is 0x0FFFFFFF for scatterd applications. But how about not scattered application? How I can determine these value in ABM header? I tried the default header like below but it doesn't work for me.

90670_1-1665988306385.png

 

90670_0-1665988249556.png

 

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

As my understanding,  the CRC check of the application code can be disabled with setting  Length and  ApplicationCRC32 to 0xFFFFFFFF.  So you only need to set it depending on our demo code. 

LinglingG_46_0-1665992960248.png

 

 

View solution in original post

0 Likes
3 Replies
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

As my understanding,  the CRC check of the application code can be disabled with setting  Length and  ApplicationCRC32 to 0xFFFFFFFF.  So you only need to set it depending on our demo code. 

LinglingG_46_0-1665992960248.png

 

 

0 Likes

Hi @LinglingG_46 , 

Thanks for response. Does ABM_0 and ABM_1 mode have limit the firmware size and location in flash? 

0 Likes
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

More details about the ABM0/1, please refer to the linker:

https://community.infineon.com/t5/XMC/ABM-Header/td-p/301478

As my understanding the ABM-0 Address for the header is the last 32 bytes (0C00FFE0H
for XMC4[78]00) of the first 64 KB physical sector,ABM1 is the second(C01FFE0H).

 

0 Likes