按照例子做完后,程序前面的编译和连接都是可以的,只是烧录的时候弹出烧录窗口点击完OK后,不弹烧录的进度条,也烧不进去是怎么回事?希望有高手指教,小弟刚刚接触。
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.
按照例子做完后,程序前面的编译和连接都是可以的,只是烧录的时候弹出烧录窗口点击完OK后,不弹烧录的进度条,也烧不进去是怎么回事?希望有高手指教,小弟刚刚接触。
你是烧写nand flash还是nor flash, 在mcsdk_2_01_02_06\tools\writer里有相应的烧写步骤介绍,烧写成功的话,会有"NAND programming completed successfully"提示。
nand还是NOR的flash我没弄明白,但是那个文件的路径我找到了,可是里面只有eeprom还有nand和nor的文件夹以及里面的文件,我都打开了,是打开nand或者nor文件夹下的docs文件里的readme这个文本,这里面的烧写步骤吗?Shine Zhang 说:你是烧写nand flash还是nor flash, 在mcsdk_2_01_02_06\tools\writer里有相应的烧写步骤介绍,烧写成功的话,会有"NAND programming completed successfully"提示。
看你是要烧写I2C EEPROM, SPI Nor flash还是nand flash,查看对应的文件夹里的readme.txt文件,按照里面的步骤烧写就可以了。
Shine Zhang 说:看你是要烧写I2C EEPROM, SPI Nor flash还是nand flash,查看对应的文件夹里的readme.txt文件,按照里面的步骤烧写就可以了。
Steps to program the NAND:
1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.
2. Copy the binary file to writer\nand\evmc66xxl\bin directory, and rename it to app.bin.
3. Change the file_name and start_addr in writer\nand\evmc66xxl\bin\nandwriter_input.txt if necessary.
这些步骤是吗?可是第一步我就不知道怎么做,set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.。那个设置是在哪里?我找不到。我用的是CCS5.2。。。
请问你用是C6678EVM板还是自己的板子?下面是C6678 EVM板的boot mode管脚设置说明。
http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings
我按照readme步骤,做到了第九歩,显示了“NAND programming completed successfully”,可是接下了来的Shine Zhang 说:是指.out文件。
Steps to re-build nandwriter:
1. Uses CCS to build nandwriter:
* Import the nandwriter CCS project from writer\nand\evmc66xxl directory (in CCSv5, Project->Import Existing CCS/
CCE Eclipse Projects).
* Clean and build the nandwriter project.
* After the project build is completed, nandwriter_evm66xxl.out and nandwriter_evm66xxl.map will be generated under writer\nand\evmc66xxl\bin directory.
2. Uses Makefile to build nandwriter:
NOTE FOR BUILDING ON WINDOWS ENVIRONMENT:
For building on windows environment GNU utilities like "make" would be required.
The following build procedure should also work on MINGW-MSYS Bourne shell.
这里的第二歩,使用makefile构建nandwriter是什么意思,怎么构建,能详细解释一下吗?谢谢。
这里是re-build nandwriter的两种方法,不是两个步骤。
第一种是用CCS编译
第二种是用Makefile编译,是在linux下用的,需要安装GNU工具。
好的,谢谢您了。我还想再问一问,我最后烧录完了,也re_build完后,显示的都是 NAND programming completed successfully。这是不是就是说我的程序烧录已经成功了,可是我断电在上电后,板子上的led灯不是按照连接好那样流水灯效果闪烁啊。我是把led_play生成的.out的文件改成.bin的。然后按照步骤烧录的。Shine Zhang 说:这里是re-build nandwriter的两种方法,不是两个步骤。
第一种是用CCS编译
第二种是用Makefile编译,是在linux下用的,需要安装GNU工具。
如果你的芯片硅版本号是1.0的,需要先烧写IBL烧写了, 请参考MCSDK中的C:\ti\c66x bios mcsdk 2.1\mcsdk_2_01_02_06\tools\boot_loader\examples\i2c\nand\docs\readme.txt文档
Jellal Fernandez 说:这里是re-build nandwriter的两种方法,不是两个步骤。
第一种是用CCS编译
第二种是用Makefile编译,是在linux下用的,需要安装GNU工具。
[/quote]
IBL是了解决PG1.0中的PLL unlock问题,所以对于非I2C/SPI boot的mode都需要首先重配PLL,然后再跳转到相应的正常bootmode执行启动过程。见下面EVM文档第69页上的说明。
http://wfcache.advantech.com/support/DSPM-8301E_EVM%20(6678)-3.0/TMDSEVM6678L_Technical_Reference_Manual_2V01_0320.pdf
Jellal Fernandez 说:请问,芯片硅的版本号在哪里可以看到?我的板子是TMDSEVM6678LE的。
EEPROM Writer is a simple utility to program a CCS format image/data file to I2C EEPROM.
Steps to program the EEPROM with a CCS format data file (.out or .dat):
1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.
2. Copy the CCS format data file to writer\eeprom\evmc66xxl\bin directory, and rename it to app.dat.
3. Change the file_name, bus_addr, start_addr and swap_data in writer\eeprom\evmc66xxl\bin\eepromwriter_input.txt if necessary.
By default the EEPROM writer will load app.dat to DSP memory and write the data to I2C slave
bus address 81 (0x51) at EEPROM device start byte address 0 with data swap disabled (0).4. Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
5. Load the program writer\eeprom\evmc66xxl\bin\eepromwriter_evm66xxl.out to CCS, be sure evmc66xxl.gel is used in CCS and DDR is intialized.
你好,这里第二歩的CCS格式的数据文件是指哪个文件啊?
Steps to program i2cnandboot to NAND:
1. Be sure IBL is programmed to I2C EEPROM bus address 0x51, if IBL is not programmed, refer to
tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM.
2. By default, IBL will boot a BBLOB image (Linux kernel) from NAND, to run this example, we need to change the
NAND boot image format to ELF:
a. In setConfig_c66xx_main() of tools\boot_loader\ibl\src\make\bin\i2cConfig.gel,
replace ibl.bootModes[1].u.nandBoot.bootFormat = ibl_BOOT_FORMAT_BBLOB;with ibl.bootModes[1].u.nandBoot.bootFormat = ibl_BOOT_FORMAT_ELF;
b. Re-program the boot configuration table, refer to tools\boot_loader\ibl\doc\README.txt on how to program
the boot configuration table to EEPROM.
3. Copy tools\boot_loader\examples\i2c\nand\evmc66xxl\bin\i2cnandboot_evm66xxl.out to tools\writer\nand\evmc66xxl\bin,rename it to app.bin and refer to tools\writer\nand\docs\README.txt on how to program he app.bin to NAND flash.
4. Once the programming is completed successfully, set the boot dip switches to I2C master mode,bus address 0x51 and boot parameter index to be 2.
5. After POR, IBL will boot the hello world image from NAND.
你好,请问这里的第四歩是什么意思?怎么操作那个set the boot dip switches to I2C master mode,bus address 0x51 and boot parameter index to be 2.,最后的boot parameter index to be 2.又怎么理解
boot mode管脚配置请参考下面wiki网站上的表。
http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings
parameter index的含义见下面数据手册第29页I2C boot mode说明。
http://www.ti.com/lit/ds/symlink/tms320c6678.pdf