有几个问题请教一下。我做了一批OMAPL138的板子,DDR2和FLASH经过CCS测试都没问题, 通过串口(OMAP-L138_FlashAndBootUtils_2_40)烧写AIS格式UBL和UBOOT,出现了三种情况:
1.顺利烧写,并且能顺利烧写内核和文件系统,重新上电后也能顺利启动;
2.能烧写UBL和UBOOT,但是不能顺利启动;
3.完全不能烧写,具体情况如下,
D:\u1>sfh_OMAP-L138.exe -flashType NAND -v -p Com3 -flash ubl_OMAPL138_NAND.bin
u-boot.bin -appStartAddr 0xC5080000 -appLoadAddr 0xC5080000
-----------------------------------------------------
TI Serial Flasher Host Program for OMAP-L138
(C) 2015, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
[TYPE] UBL and application image
[UBL] ubl_OMAPL138_NAND.bin
[APP IMAGE] u-boot.bin
[TARGET] OMAPL138
[DEVICE] NAND
[NAND Block] 1
Attempting to connect to device Com3...
Press any key to end this program at any time.
(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 14100-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 1352-Byte section to address 0x80003714.
(AIS Parse): Processing command 2: 0x58535906.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Performing jump and close...
(AIS Parse): AIS complete. Jump to address 0x80000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.
Waiting for SFT on the OMAP-L138...
Target: BOOTUBL
u-boot.bin -appStartAddr 0xC5080000 -appLoadAddr 0xC5080000
-----------------------------------------------------
TI Serial Flasher Host Program for OMAP-L138
(C) 2015, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
[TYPE] UBL and application image
[UBL] ubl_OMAPL138_NAND.bin
[APP IMAGE] u-boot.bin
[TARGET] OMAPL138
[DEVICE] NAND
[NAND Block] 1
Attempting to connect to device Com3...
Press any key to end this program at any time.
(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 14100-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 1352-Byte section to address 0x80003714.
(AIS Parse): Processing command 2: 0x58535906.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Performing jump and close...
(AIS Parse): AIS complete. Jump to address 0x80000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.
Waiting for SFT on the OMAP-L138...
Target: BOOTUBL
Target: DONE
Flashing UBL ubl_OMAPL138_NAND.bin (13040 bytes) at 0x00000000
Flashing UBL ubl_OMAPL138_NAND.bin (13040 bytes) at 0x00000000
一直停在此处。
令人费解,为什么有的板子可以,有的不可以。
另外,我用的FLASH型号为K9F4G08U0B-PCB0。谢谢。