- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use TC234 and TC275,wanted boot from ABM.
I uses only BMHD1.In linker file,this was configed:
RESET = 0x80020020;
.bmhd_1 (0x80020000) : FLAGS(arl)
{
BootModeIndex = .;
KEEP (*(.bmhd_1));
} > pfls0
In source file,I write the first user code and calculate the checksum:
const uint32 BootModeHeader_1[] = {
0x80020020u, /* STADBM first user code at 0x8002 0020h */
0xB3590064u, /* BMI = 0064h BMHDID = B359h disable HWCFG pins & ABM */
0x80020008u, /* ChkStart */
0x8002000Fu, /* ChkEnd */
0xEF947F9Fu, /* CRCrange */
0x106B8060u, /* !CRCrange */
0xE935730Fu, /* CRChead */
0x16CA8CF0u /* !CRChead */
};
When connected with debugger ,the program can run.If without debugger,it can't run.
What's wrong with it? Is anyone can help me? Thanks!
Solved! Go to Solution.
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your BMI setting is not valid. The PINDIS is bit 3 which makes it binary 8. For alternate boot mode with HWCFG disable would be 068h.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your BMI setting is not valid. The PINDIS is bit 3 which makes it binary 8. For alternate boot mode with HWCFG disable would be 068h.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tank you very much!It works. I did miscalculate the BMI data.