Flashtool download fail analysis
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
FlashTool download fail analysis about new comer boards.
[SOLUTION]
1. Location problem using flashtool log
BROM_
BROM_DLL_V5.log records information related to Download, Format, Read back & memory Test.
SP_FLASH_TOOL.log records user operations and other information related to the tool.
EBOOT_DLL.log records information about USB enum. No use now.
META_DLL.log records information about Meta operation. No use now.
SP_META_DLL.log records information about AP META operations. No use now.
2. Fail cases analysis
1) Error:S_FT_ENABLE_DRAM_FAIL
conclusion: the Flash customized in custom_MemoryDevice.h doed not match with Flash mounted on board, so fail occur during downloading.
2) Error: S_DA_NFB_BOOTLOADER_NOT_EXIST
At first, we can see that the flash ID match with the Flash mounted on board. So we can sure that the DRAM part is okey on board. But, some errors occur when DA read boot loader header. Since the bootloader will be intalled in nand flash, we could do memory test using Flashtool to locat
problem. If memory test is failed on this board, we can sure that this is a hardware issue, maybe some wrong with Flash or mounting.
A classical case with this download error as following.
One customer designed a board with EMMC and Nand+DDR2. When using EMMC flash, everything is okey. But when switching to Nand+DDR2 flash, this
download error occorred during downloading. After checking by hardware engineer, there is a lineshared between EMMC Flash with Nand+DDR2. When
using on EMMC Flash, this line is used to conected with LDO. So, a 100nf capacitance should be connected with this line. But, when using on
NandFlash, this line is used as a dataline, the capacitance can not beyond 10pf, as descripted in Nand flash Specification.
FlashTool download fail analysis about new comer boards.
[SOLUTION]
1. Location problem using flashtool log
BROM_
BROM_DLL_V5.log records information related to Download, Format, Read back & memory Test.
SP_FLASH_TOOL.log records user operations and other information related to the tool.
EBOOT_DLL.log records information about USB enum. No use now.
META_DLL.log records information about Meta operation. No use now.
SP_META_DLL.log records information about AP META operations. No use now.
2. Fail cases analysis
1) Error:S_FT_ENABLE_DRAM_FAIL
conclusion: the Flash customized in custom_MemoryDevice.h doed not match with Flash mounted on board, so fail occur during downloading.
2) Error: S_DA_NFB_BOOTLOADER_NOT_EXIST
At first, we can see that the flash ID match with the Flash mounted on board. So we can sure that the DRAM part is okey on board. But, some errors occur when DA read boot loader header. Since the bootloader will be intalled in nand flash, we could do memory test using Flashtool to locat
problem. If memory test is failed on this board, we can sure that this is a hardware issue, maybe some wrong with Flash or mounting.
A classical case with this download error as following.
One customer designed a board with EMMC and Nand+DDR2. When using EMMC flash, everything is okey. But when switching to Nand+DDR2 flash, this
download error occorred during downloading. After checking by hardware engineer, there is a lineshared between EMMC Flash with Nand+DDR2. When
using on EMMC Flash, this line is used to conected with LDO. So, a 100nf capacitance should be connected with this line. But, when using on
NandFlash, this line is used as a dataline, the capacitance can not beyond 10pf, as descripted in Nand flash Specification.