Hi all
I want to know if it is possible to switch bootmodes on a DM6437 from firmware. Being inexperienced on this platform, we've hardwired our DSP to boot into EMIFA ROM Direct Boot (BOOTMODE[3:0] = 0100, FASTBOOT = 0), thinking that we needed to write our own bootloader. This is not necessary of course, since excellent tools are available to boot from NOR flash (http://e2e.ti.com/forums/t/10054.aspx) I'm wondering now whether it is possible to set a different bootmode from firmware. What I'd like to do is:
1) Boot an assembly program from 0x4200 0000 (as i'm now forced to do)
2) Set the bootmode registers to contain the values I really want
3) Jump to the internal bootloader.
I'm confident that I can get the first two steps to work. I'm not sure how to jump to the internal bootloader, and whether I need to set anything more up for this bootloader to work. I'm also uncertain of how to link my assembly program to the main application, as the .cmd file of a DSP/BIOS dependant application is usually not directly editable.
Besides solving my problem above, it could actually be quite handy to be able to jump to the internal bootloader from firmware. We might want to jump to the UART bootloader for instance, in order to be able to bootload easily in the field where JTAG might not be available.
I'd really appreciate any advice/input.
Leon de Wit