On my way to trying to collect more debugging data, I moved my hardware initialization code into a _system_pre_init() routine that I just wrote (and made that routine return 1 indicating success). This resolved the problem! I can now create large .bss segments and the program still starts correctly! That's weird! Within the image, things have moved around (unsurprisingly). Within the __TI_cinit_table (and its relatives), everything is the same except that the address of __TI_zero_init() has changed to match where __TI_zero_init() actually landed in the image. But everything works!
↧
Forum Post: RE: MSP430F5359: CGT-generated MSP430X images won't start if .bss is 985 bytes or more
↧