Hi,
I'm using a '5509A, and booting from a 24-bit address serial flash. Everything works fine - the DSP loads the boot table (verified on a logic analyzer) and GPIO4 goes high, indicating it has finished. Then....nothing. The code works fine when loaded from the JTAG debugger, though.
I have verified the correct starting address (from the .map file) and all reg_config options are correct (there's only one to set the clkmod register). This option works fine, as you can see the delay and clock change.
There are no gel files in the project, so that's not the issue.
In an effort to track this down, and remove anything related to DSP/BIOS, my main() simply sets XF low (it defaults to high) and then goes into an endless for() loop, but it never gets there. All interrupts are disabled, as well.
In SPRA375F, there is a section on debugging bootloader issues, which I have tried to get through, but there is a fundamental problem with one of the suggestions. It suggests using a JTAG debugger to verify the code hits a breakpoint at the starting address. However, I have yet to figure out how to use the debugger with code loaded from an external source. You can't 'connect' to the target if it's in reset, but releasing reset causes the DSP to boot from the serial flash and, at least in my case, the debugger can't connect once it's started and /or finished the boot process.
Any ideas?
Thanks, Bill