This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMDSICE3359: Building bootloader

Part Number: TMDSICE3359

Tool/software: Code Composer Studio

Hi,

I'm trying to boot a SYS/BIOS program from the SD card on the TMDSICE3359 board. I am using an MLO that allegedly worked one, but I otherwise don't know where to get a correct MLO for this board.

I have put J5 to connect pins 2/3, and the SYSBOOT resistors are set so SYSBOOT[4:0] = 11000.

I have run the Isdk spi flasher.zip tool to erase the SPI NOR flash. The GEL file DDR3 test executes with no errors.

When I reset the board, I see the following:

*** StarterWare  Boot Loader. Build - 1.0.4-NOR BOOT

Copying application image from MMCSD to RAM

Copying to RAM completed successfully

 Image Copy Successful, Executing Application..

This is a bit surprising, as there shouldn't be anything in the NOR flash to boot from.

After this line, breaking in with JTAG shows the processor hung in a trap: 0x00020080. I have used the app files from both my own apps, the demo apps and app files used as examples in other questions.

I am trying to build the bootloader from the PDK (pdk_am335x_1._0_16/packages/ti/starterware/bootloader), but there are no project files there. Rebuilding the PDK does not appear to regenerate any project files to do with the bootloader.

I do see am335x-evm bootloader binaries: e.g. pdk_am335x_1_0_16/packages/ti/starterware/binary/bootloader/bin/am335x-evm/gcc/bootloader_boot_mmcsd_a8host_debug.out

How are you supposed to build the bootloader, or should I be creating my own build system to do this? Is the existing binary bootloader for am335x-evm compatible?  And is building this bootloader the correct way to proceed for SD card boot in the first place?