ccs debug初始化板子失败需要擦除SPI,相关文档 processors.wiki.ti.com/.../AM335x_SYSBIOS_Industrial_SDK_Getting_Started_Guide 已经看过但是还是不知道,有没有前辈帮帮忙?不胜感激。
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 debug初始化板子失败需要擦除SPI,相关文档 processors.wiki.ti.com/.../AM335x_SYSBIOS_Industrial_SDK_Getting_Started_Guide 已经看过但是还是不知道,有没有前辈帮帮忙?不胜感激。
This section describes how to flash a binary image to the SPI flash on ICE.
The pre-built CCS tool for SPI flash(isdk_spi_flasher.out) can be found in $(IA_SDK_HOME)\tools\flashing tools\SPI_Flash\pre_built\CCS_based.
Enter the board type [0-ICE, 1-IDK ]
Enter Operation [1 - Flash ] [2 - Erase] :
Enter the binary type [0-Bootloader, 1-Other ]
Enter the Offset in bytes (in HEX eg:- bootloader :0x0 app : 0x20000)
Load .bin file to 0x80100000
Load binary file to Memory - Using LoadMemory
Pause Program Execution by pressing the Suspend '||' button
Open Memory window in CCS (View->Memory Browser)
Select "'Tools->'Load Memory".
Browse and select the .bin file to be loaded )
Select 'TI RAW' for the format and Click 'Next'. (File should be named as *.bin)
Enter 0x80100000 in "Start Address' field.
Select '32 bits' for 'Type-size' field
Keep the swap tick box un-checked.
click 'Finish'
Wait for the memory to be loaded
Press the Green 'Resume' Arrow
Enter 0 to continue
您好,谢谢您之前的回答。我一开始就是按照这里做,但是经常出现各种错误,问题无法解决。
请问这几个步骤有没有具体的截图教程,本人是新手能力比较差,再次期盼您的指教。谢谢
直接
想方便可以自己加载已经编译好的文件,C:\ti\AM335X_StarterWare_02_00_01_01\tools\flash_writer\spi_flash_writer_AM335X.out
想打开源代码,重新编译生成.out文件,可以打开spi flash的工程,位置在:
C:\ti\AM335X_StarterWare_02_00_01_01\tools\flash_writer\src\spi-flash-writer_AM335x\SPI_Flasher