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.

用CCS5烧写NAND Flash

Other Parts Discussed in Thread: TMS320C6748, OMAP-L138

你好,我使用的是TMS320C6748 DSP Development Kit (LCDK),想用CCS5烧写NAND Flash。 之前用UART串口的方法不成功,所以使用这个方法。具体步骤如下:

1. 我自己编了一个简单的程序,就是一按按钮,LED就灭。 我生成了LED.out. 而且点击Resume之后程序运行成功,我的Emulator是XDS100V2.

2.我用AISgen_d800k008产生bin文件,首先点击File,然后点 Load Configuration。cfg文件在C:\Texas Instruments\c6sdk_02_00_00_00\demos\flash\lcdk\LCDK_AISGen_Config.cfg。之后的设置如下图:

点击Generate AIS之后,LED.bin就产生了。

3.我又载入了NANDWriter_DSP.pjt. 在nandwriter.c把#define NANDWIDTH_8 改成 #define NANDWIDTH_16 然后Debug,最后resume。

4.然后出现一下显示:

[C674X_0] Starting OMAP-L138 NANDWriter.

Do you want to global erase NAND flash?y

Enter the binary AIS file name to flash (enter 'none' to skip) :

D:\LED.bin

Number of blocks needed for data: 0x1

Writing image data to block 0x1, page 0x0

Writing image data to block 0x1, page 0x1

Writing image data to block 0x1, page 0x2

NAND boot preparation was successful!

但是我每次按按钮,LED灯都没反应。请问问题出在哪里了呢?