Other Parts Discussed in Thread: SYSBIOS
Board TMDXICE3359
Code Composer Studio 5.2.1.00018
SDK am335x_sysbios_ind_sdk_1.0.0.4
Hi all
I was trying to write an Application (i2c_led) to the SPI. I've loaded the Program over JTAG and SD-Card and it worked well. Now i tried to flash it on the SPI (Start Address 0x20000) using precompiled SPI_Flashing_Tool.out. I've tested this tool to flash the Bootloader and it worked.
But when I try to run the ICE, nothing happens. Also it gives a fault by verifying the Flash. I've used the self built i2c_led_SPI.bin.
Console
[CortxA8] AM335X part detected.. SF: Got idcode ef 40 17
[CortxA8] Checking if Winbond flash writer can be used..
[CortxA8] SF: Detected W25Q64 with page size 256, total 8388608 bytes
[CortxA8] Starting SPIWriter.
[CortxA8] Enter the File Name
D:\i2c_led_SPI.bin
[CortxA8] Enter the Offset in bytes (in HEX)
0x20000
[CortxA8] Load .bin file to 0x80100000 and Enter 0 to continue (<- loaded D:\i2c_led_SPI.bin to memory)
0
[CortxA8] Erasing flash at byte offset: 131072, byte length: 98304
[CortxA8] SF: Winbond: Successfully erased 98304 bytes @ 0x38000
[CortxA8] Writing flash at page offset: 512, number of pages: 371
[CortxA8] Verifying...
[CortxA8] Did not match @ page 102
UART
*** StarterWare Boot Loader. Build - ***
Copying application image from MMCSD to RAM
Unable to open application file from MMCSD
Copying application image from SPI to RAM
Image Copy Successful, Executing Application..
I guess it has a problem with the SPI, is that rigth? What can I do now?
Regards
Cyril Mülller