- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your debugger get the reset address from the elf file and set the PC to this address after any reset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot. I had been tested what you said and it worked correctly. you did me a big favor.
Have a nice day!