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.

开发板是Leopard DM365,用sfh_DM35x.exe擦除flash,到UBL transmitted successfully之后就没反应了,哪里不对呢



刚接触这个,只知其然。

在网上搜索的帖子,照着做,装了mono,启动方式是011。之前sfh_dm35x.exe -nanderase -p COM4,(我这个就默认成4了也很奇怪,别人都是1)屏幕显示到waiting for dm365就不动了,后来我reset了一下 ,就继续显示了。现在停到UBL transmitted successfully这里了,又没有响应,没有别人帖子里面写的下面会出现的Target: Chip initialization passed!这些信息

我检查了硬件原因,把所有的接口都按了一遍。能出问题的,一个是我用的usb转串口线,很长,会不会是太长了影响数据传输响应。一个是会不会是flash出了什么问题,如果是的话怎么确认。如果是软件方面的原因,这个板子的文档我都是从网上搜的,并不清楚DM35x_flashandbootutils这套工具的用途,恳请指点,能让我找出问题所在。

  • sfh_dm35x.exe用途:

    Serial Flasher Usage
    ====================
    More info can be found by running the utility with the '-h' option.
    	sfh_DM35x.exe -h
    	
    1) Erase the NAND flash
    	
    	sfh_DM35x.exe -nanderase
    	
    2) Flash the NAND with a UBL and u-boot image
    	
    	sfh_DM35x.exe -nandflash  <UBL binary file> <binary application file>
    	
    The entry point of the UBL is assumed to be 0x0100, but this can be changed by using 
    the -UBLStartAddr option.  The entry point and load address of the application default
    to 0x81080000 (u-boot defaults).  To change these values, use the -APPStartAddr and 
    -APPLoadAddr option.
    
    NOTE: Currently, YOU MUST USE THE UBL BINARY CREATED BY THE UBL PROJECT IN THIS PACKAGE.
          If you use any other UBL binary, the boot procedure will most likely fail.
    NAND上的内容擦除之后,你想从哪里启动?如过要从NAND启动,请重新将UBL,UBOOT等烧写进NAND,然后配置板子启动方式,NAND boot。
    DM35x_flashandbootutils这套工具的用途:
    https://source.ridgerun.net/svn/leopardboarddm365/sdk/trunk/bsp/mach-leopard/dm3xx_sd_boot-6_leopard/flash_utils/DM35x/GNU/readme.txt
  • 我用

    sfh_DM35x.exe -nandflash 这个命令 烧的目录下的sft_DM36x_nand.bin 和uboot文件夹下面的u-boot.bin
    然后返回的错误
     
    
    
    为什么nand会写保护呢?