Hello,
I am taking into use ICE V2 and using the provided tools and the boot_SPI (and led-blinking SPI) binaries in am335x_sysbios_ind_sdk_prebuilt_01_01_00_05, I can make the device boot from SPI and start the led-blinking application.
When trying to do the same with the am335x_sysbios_ind_sdk_1.1.0.5\sdk\starterware\bootloader example code, which I compile and post_build myself, I however cannot make it boot up.
There are things that make me think that something is wrong:
(1) The StarterWare example does not compile as such, but I have to undef the MMCSD flag from the CCS project
(2) in the post_build.bat, I have to remove the citation marks from the line
set dirtemp="C:\isdk_temp_%random%_%random%"
to make the script work.
After these changes, I can compile and build the SPI boot loader code, and also run the post_build.bat script, which creates the boot.bin and boot_SPI.bin files. The resulting files are slightly smaller than the prebuilt ones, but I would have attributed that to removing the MMCSD support. (Which I had to do to make the project compile).
I now have three different boot_SPI.bin files:
(A) one from the prebuilt binary folder
(B) one from C:\scanner\Main\Host2\ccsv6\am335x_sysbios_ind_sdk_1.1.0.5\sdk\starterware\binary\armv7a\cgt_ccs\am335x\evmAM335x\bootloader
(C) and the one which I built myself
Both (A) and (B) work, although they are different when seen with beyondCompare.
(C) does not work.
On top of the possible differences in the actual code, indicated by (1) and (2) above, the post_build.bat usage might make a difference. I am using it as follows:
post_build "C:/ti/ccsv6" "C:/ti/ccsv6/tools/compiler/arm_5.1.5" "c:\Users\user1\temp_spi" "boot" "c:\Users\user1\t
emp_spi" "0" "3"
Should I give some load and run addresses? (As it is now, it is supposed to use the defaults).
My main question is, however, can you please point me to any omissions I might have in my process above? Did I miss something, or could it be that the prebuilt examples are not from the code provided with SDK/StarterWare? Is the code available, with instructions, which was used to create the prebuilt examples?
I am using ARM compiler tools 5.1.5