TC387 boot

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 Infineon:

I didn't change the configuration of BMI in SswBmhd.c , the start adress is 0xA0000000;But I changed the link file and Fixed the start adress at 0xA0008000, and  it worked.I just curious about that the bmhd start adress is 0xA0000000, but program  start from 0xA0008000, I want to know why the configuration is worked. Thank you!

 

Tonny_0-1669112326126.png

Tonny_1-1669112361776.png

 

 

0 Likes
1 Solution
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

In your case:

.crc = 0x0AFACD3B

.crcInv = 0xF50532C4

You can use an online crc calculator, e.g. https://crccalc.com/

Enter

B35900FE A0008000

Select Input and Output as Hex and click to CRC-32 button

Use result from CRC-32 for .crc and invert this value for .crcInv. For the invertred value can be used the result of CRC-32/JAMCRC also.

 

View solution in original post

4 Replies
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

Your debugger get the reset address from the elf file and set the PC to this address after any reset.

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

Hi MoD:

Thank you for your correct answer.I just tried and the program can't run without debugger indeed. And I need to configure bmhd start adress, but I can't calculate out correct crc code , could you give me some advice about how to do with this. thank you!

Tonny_0-1669114922330.png

 

 

0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

In your case:

.crc = 0x0AFACD3B

.crcInv = 0xF50532C4

You can use an online crc calculator, e.g. https://crccalc.com/

Enter

B35900FE A0008000

Select Input and Output as Hex and click to CRC-32 button

Use result from CRC-32 for .crc and invert this value for .crcInv. For the invertred value can be used the result of CRC-32/JAMCRC also.

 

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

Thanks a lot. I had been tested what you  said and it worked correctly.  you did me a big favor.

Have a nice day!

0 Likes