TC387 bootloder configuration

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

cross mob
Tonny
Level 3
Level 3
25 replies posted 10 questions asked 50 sign-ins

Hi everyone:

I had configured in application project Ifx_Cfg_SswBmhd.c file the start address is oxA00008000:

bmhd0~bmhd3's configuration in application project is same,

const Ifx_Ssw_Bmhd bmhd_0_orig = {
0x00FE, 
0xB359, 
0xA0008000, /**< \brief 0x004: .stad: User Code start address*/
0x31795570, 
0xCE86AA8F,

}

and in the bootloader project the start address is 0xa000000, bmhd0~bmhd3's configuration in bootloader project is same,

const Ifx_Ssw_Bmhd bmhd_0_orig = {
0x00FE, 
0xB359, 
0xA0000000, /**< \brief 0x004: .stad: User Code start address*/
0x31795570, 
0xCE86AA8F,

}

 I want to know that whether the configuration is reasonable or not. thank you.

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

You can use Memtool 2021 to modify UCB_BMHD0 and save .hex for reference. As you changed something the checksum should be changed also. Below is for your reference.

dw_0-1668996537820.png

 

dw

View solution in original post

0 Likes
3 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

You can use Memtool 2021 to modify UCB_BMHD0 and save .hex for reference. As you changed something the checksum should be changed also. Below is for your reference.

dw_0-1668996537820.png

 

dw

0 Likes
Tonny
Level 3
Level 3
25 replies posted 10 questions asked 50 sign-ins

Hi dw:

        It's a very important key point you had offered, thanks a lot! and I want to know if I configured in my c program bmhd configuration, Boot project starts from 0xa0000000 and application starts from 0xa0008000. I wonder to know whether the configuration is finished or some other configuration should i  had missed!

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

I think the .map file should be checked. for example:

dw_0-1669007276795.png