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.

AM3517烧录问题

Other Parts Discussed in Thread: AM3517

各位专家,你们好,我现在做了一个AM3517的样板(仿照天漠公司的SOC8200),用串口终端看可以看到40x,但不能将x-load 烧到NANDFlash中,用的工具是Flash v1.6,NANDFlash是使用的镁光的MT29F2G16ABAEAWP,然后我用示波器看NandFlash的输入脚/WE、ALE、CLE、/CE、/RE,发现都有很多脉冲,例如WE#:幅值:3.3V,脉冲宽度:0.28us ;CE# :幅值:3.3V,脉冲宽度:0.2us的波形。这些引脚都是直接连在AM3517芯片上的GPMC_NWE,GPNC_NADV_ALE,GPMC_NBE0_CLE ,GPMC_NCS0,GPMC_NOE引脚上,为什么会有这样的时序出来,是AM3517内部固化了一段程序,还是硬件上哪里连错会产生这样的原因,我用示波器看了开发板,并没有这样的时序出来,现在找不到原因,请各位专家指点点,该怎么检测与判断?

谢谢

  • Nand Flash的帮助文件里有说明怎么做porting的,另外你的nand Flash的size多大

  • 先非常感谢工程师的指导,让我有方向去找问题!

    烧录还是有问题,我上传了一个附件,里面记录了我用示波器看到的NandFlash在没有烧程序和烧程序后的输入引脚波形。便于各位专家帮我找到问题的所在。

    我用Flash  v1.6.0.0擦除和下载在Flash V1.6.0.0的output中最后都显示了Console program success, exit code: 0

    在超级终端中显示40X,可惜烧录的xload信息没有显示出来,请专家帮我找找原因,用的NandFlash是MT29F2G16ABAEAWP,大小512M,16位,在附件中有说明。

     

    辛苦你们了,先谢谢!

    注:

    xload在NandFlash为三星芯片K9F2G08U0B,大小256M,8位的开发板中是可以用的,可以显示出xload的信息。

    下面是Download过程中output的信息,在串口中只出现40X:

     -stdout

    -omap 3

    -no_force_package_alignment

    -com 1

    -t 60

    -p EVM_MDDR_MICRON_2G_EMIF

    -2

    chip_download NANDINFO1BITBOOT E:\贺帅\天漠科技Cortex-A8开发板\SOC8200\linux\image\x-load.bin.ift_for_NAND

    Leaving parameter file:temp_script.txt

    @temp_script.txt

    Looking for device (omap com1)

    Please turn off device, then turn it on again

    Awaiting ASIC id

    AsicId items 04

    AsicId id 01 05 01 34 30 07 58

    AsicId secure_mode 13 02 01 00

    AsicId public_id 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    AsicId root_key_hash 14 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    Searching 2nd for: EVM_MDDR_MICRON_2G_EMIF 343007 58 GP

    Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd

    Entering parameter file:omapflash2nd.txt at line: 15

    -pheriphalboot_reopen

    Reading board configuration file Targets\Configurations\configuration_am35xxevm_micron_2g.txt

    Reading definition file .\targets\definitions\definitions_omap3.txt

    -board_config Targets\Configurations\configuration_am35xxevm_micron_2g.txt

    Leaving parameter file:omapflash2nd.txt

    Sending size of second file (0x00006804 bytes)

    Transferring second file to target (0x6804 bytes)

    Closing boot connection

    Found device (omap com1)

    Waiting for 2nd

    Found 2nd

    Looking for a driver for 'NANDINFO1BITBOOT'

    chip_driver NANDINFO1BITBOOT Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 1024 l 2 acv 0x23 f 0x0019 eTxp...

    Downloading driver

    Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'

    Sending data (41008 bytes) :::::::::::::::..... [32764]

    Sending data (41008 bytes) :::::::::::::::::::: [41008]

    Sending data (41008 bytes) :::::::::::::::::::: [41008]

    Interface 'OMAPFLASH DRIVER v5'

    Driver 'NAND ONFI 16/8 BIT'

    Driver configuration: gpmc = 0x6E000000

    Driver configuration: cs = 0x00000000

    Driver configuration: address = 0x30000000

    Driver configuration: bberase = 0x00000000

    Driver configuration: onfi = 0x00000000

    Driver configuration: bpp = 0x00000400

    Driver configuration: sbpp = 0x00000020

    Driver configuration: ppb = 0x00000040

    Driver configuration: bpl = 0x00000400

    Driver configuration: l = 0x00000002

    Driver configuration: acv = 0x00000023

    Driver configuration: f = 0x00000019

    Driver configuration: eccoffset = 0x00000002

    NAND HW ECC

    NAND BCH Mode = 0

    NAND HWECC offset = 2, size = 12

    NAND NONEv0 VENDOR 0x00 UNKNOWN

    NAND 16 BIT DEVICE 0x00 UNKNOWN

    NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)

    NAND 1024 BYTES/PAGE (SPARE 32)

    NAND 64 PAGES/BLOCK (65536 BYTES/BLOCK)

    NAND 1024 BLOCKS/UNIT (67108864 BYTES/UNIT)

    NAND DRIVER ONLY SUPPORTS 1 OF 2 UNITS

    NAND 0 BIT(S) ECC REQUIRED

    NAND 128 MB TOTAL SIZE

    NAND ONFI DRIVER INIT COMPLETE

    Downloading complete

    Elapsed time: 0:04.562 (10252 bytes/s)

    End loading driver

    Downloading

    Downloading 'E:\贺帅\天漠科技Cortex-A8开发板\SOC8200\linux\image\x-load.bin.ift_for_NAND'

    Sending data (9344 bytes) :::::::::::::::::::: [9344]

    Sending data (9344 bytes) :::::::::::::::::::: [9344]

    Downloading complete

    Elapsed time: 0:00.922 (10134 bytes/s)

    Elapsed time: 0:00.000

    Console program success, exit code: 0

     

    am3517_NANDFLASH烧录问题待解决20121106.doc
  • 我在porting的说明中看到

    l         (mandatory if onfi = 0)   Logical unit count (only 1 supported by the driver)

    是不是 l 只能为 " 1 " ,我的芯片 l = " 2  ",是不是这个软件不支持?

  • 我把NandFlash芯片换成K9F2G08U0B了,问题解决了,原因还没弄清楚,路过的专家,清楚的留言哦