Other Parts Discussed in Thread:TMDSLCDK6748, OMAP-L138
开箱测试TMDSLCDK6748,烧写程序报错
将编译好的程序通过 AISgen 烧写报错
步骤如下:
打开AISgen选择C6748配置文件
转换生成ais文件
通过串口烧写
板子拨码开关选择串口启动
点击start 按钮复位板子,显示IO错误
(File IO): Read 25908 bytes from file D:\StarterWare_Gitorious_C6748\C6748_StarterWare_1_20_04_01\build\c674x\cgt_ccs\c6748\lcdkC6748\uart_edma\Debug\uartEcho.ais.
(Serial Port): Opening COM4 at 115200 baud…
(AIS Parse): Read magic word 0x41504954.
(AIS Parse): Waiting for BOOTME… (power on or reset target now)
(AIS Parse): BOOTME received!
(AIS Parse): Performing Start-Word Sync…
(AIS Parse): Performing Ping Opcode Sync…
(AIS Parse): Processing command 0: 0x58535901.
(AIS Parse): Performing Opcode Sync…
(AIS Parse): Loading section…
(AIS Parse): Loaded 704-Byte section to address 0x00800020.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync…
(AIS Parse): Loading section…
(AIS Parse): Loaded 288-Byte section to address 0x008002E0.
(AIS Parse): Processing command 2: 0x58535901.
(AIS Parse): Performing Opcode Sync…
(AIS Parse): Loading section…
(AIS Parse): Loaded 64-Byte section to address 0x00800400.
(AIS Parse): Processing command 3: 0x58535901.
(AIS Parse): Performing Opcode Sync…
(AIS Parse): Loading section…
(AIS Parse): Loaded 16-Byte section to address 0x00800440.
(AIS Parse): Processing command 4: 0x58535905.
(AIS Parse): Performing Opcode Sync…
(AIS Parse): Performing jump…
(AIS Parse): Jump to address 0x00800220.
(AIS Parse): Processing command 5: 0x5853590D.
(AIS Parse): Performing Opcode Sync…
(AIS Parse): Executing function…
(AIS Parse): Processing command 6: 0x5853590D.
(AIS Parse): Performing Opcode Sync…
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(AIS Parse): Opcode Sync failed after 11 consecutive I/O failures.
(AIS Parse): Boot aborted.
(Serial Port): Closing COM4.
尝试擦除Nand Flash
发现软件报错
和文档描述不一致
Nancy Wang:
看步骤应该是没有问题,换一台电脑试一下或者重启再试一下,擦除指令。
以下链接 2.2 Serial Boot and Flash Loading Utility部分的说明也参考看一下。
https://www.ti.com.cn/cn/lit/an/spracm8a/spracm8a.pdf
,
user6612693:
经过尝试采用 \C6748_StarterWare_1_20_04_01\build\c674x\cgt_ccs\c6748\lcdkC6748\nand 工程修改代码将整个NAND擦除一遍,然后采用sfh_OMAP-L138.exe工具烧写NAND
sfh_OMAP-L138.exe -flash -p COM4 -baud 115200 -v -targetType C6748_LCDK uartEcho.ais uartEcho.out -flashType NAND
最后成功烧写并通过NAND启动程序
,
Nancy Wang:
感谢分享!