On the EVMK2H, I tried to load and start u-boot from MSMC RAM using CCS and the JTAG emulator connection. I followed the directions in the MCSDK User Guide Exploring chapter:
It gets as far as displaying the following messages and then hangs:
U-Boot 2013.01 (Dec 30 2013 - 13:19:04) I2C: ready Detected SO-DIMM [] DRAM: 2 GiB
Note that these are the same messages I get when booting normally (but, of course, it goes on). When I stop the emulator, the SP is suspiciously set to "0x0BADCODE" and the PC is at 0x0C001010. The program is then in a 3-instruction loop c001010->c0012c0->c0012c4.
I left the switch on the EVM for SPI boot (0010), but I did a CPU reset before I started. I also tried this with the DSP NOBOOT setting (0001) and did not even get the messages shown above.
Note that I am not rebuilding u-boot when I do this, so it is still built as though loaded from a SPL in SPI NOR. Does that matter?
Is it even possible to boot the board this way? If not, how would I recover if the SPI flash got corrupted?
The EVM revision is 3.0 and the silicon revision is 1.1 (JTAG ID of 0x1b98102f).
Thanks,
Lance