I am running a USB-based C5505 platform.
Referring to Section 2.10 in TMS320 DSP/BIOS v5.42, I summarize the following sequence:
1) Initialize DSP at starting at c_int00 which is where the reset interrupt vector points to.
2) User_defined init() routine defined in config by check-mark?
3) Call BIOS_init()
4) Call existing main() routine
5) Call BIOS_start()
6) Call user-defined IDL_loop() function
After I incorporated existing code with DSP/BIOS, I found that trace execution sequence was
different than documented. Below, I only mention the code that I have source files to and can
set breakpoints.
1) Initialize the DSP at starting at c_int00 which is where the reset interrupt vector points to.
2) User_defined init() routine
3) Call user-defined IDL_loop() function
4) Call user-defined IDL_loop() function
5) Call existing main() routine
6) Call user-defined IDL_loop() function
7) Call user-defined IDL_loop() function
....and item 7) repeats forever
The main() routine being called only after user-defined IDL_loop function
has been previously called twice is perplexing.
I wanted to rule out my own code. I traced the staircase example project,
and see still see the same unexpected execution sequence.
Chris Chow