NandFlash 引脚及用示波器看到的波形: .doc

上传人:仙人指路1688 文档编号:2884190 上传时间:2023-03-01 格式:DOC 页数:25 大小:826KB
返回 下载 相关 举报
NandFlash 引脚及用示波器看到的波形: .doc_第1页
第1页 / 共25页
NandFlash 引脚及用示波器看到的波形: .doc_第2页
第2页 / 共25页
NandFlash 引脚及用示波器看到的波形: .doc_第3页
第3页 / 共25页
NandFlash 引脚及用示波器看到的波形: .doc_第4页
第4页 / 共25页
NandFlash 引脚及用示波器看到的波形: .doc_第5页
第5页 / 共25页
点击查看更多>>
资源描述

《NandFlash 引脚及用示波器看到的波形: .doc》由会员分享,可在线阅读,更多相关《NandFlash 引脚及用示波器看到的波形: .doc(25页珍藏版)》请在三一办公上搜索。

1、NandFlash烧录问题待解决样板没有烧程序,在上电后用示波器看NandFlash的控制输入脚,看到的波形如下:7脚 R/B# :高电平3.3V19脚WP#:0V16脚 CLE :0V8 脚 RE#9脚:CE# 17脚ALE的波形18脚:WE#的波形各信号引脚及封装的说明:(连接的电路图在本文档附录中)下面是我用Flash V1.6.0.0的烧录过程:烧录下载都没出错,可惜从串口出来的是40x,xload引导界面并没有出来,我也再次用示波器看了一下输入脚的波形,请专家帮我分析分析,是哪出了问题。下面是我所做的过程。软件:Flash v1.6.0.0NandFlash:MT29F2G16,大小

2、256M,16位,如下图所示:配制文件:configuration_am35xxevm_micron_2g.txt修改的部分如下:(整个文档在最后的附件中)memory NAND1BITBOOT driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 1024 l 2 acv 0x23 f 0x0019 eccoffset 2memory NANDINFO1

3、BITBOOT driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 1024 l 2 acv 0x23 f 0x0019 eccoffset 2擦除过程:能擦除成功下面是擦除过程中output输出来的信息 -stdout-omap 3-no_force_package_alignment-com 1-t 60-p EVM_MDDR_MICRON_2G_E

4、MIF-2chip_erase NANDINFO1BITBOOT 800000Leaving parameter file:temp_script.txttemp_script.txtLooking for device (omap com1)Please turn off device, then turn it on againAwaiting ASIC idAsicId items 04AsicId id 01 05 01 34 30 07 58AsicId secure_mode 13 02 01 00AsicId public_id 12 15 01 00 00 00 00 00 0

5、0 00 00 00 00 00 00 00 00 00 00 00 00 00 00AsicId 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 00Searching 2nd for: EVM_MDDR_MICRON_2G_EMIF 343007 58 GPLoading second file Targets2nd-Downloadersdnld_startup_omap3_gp_2g.2ndEntering parameter file:omapflash2nd.txt at

6、 line: 15-pheriphalboot_reopenReading board configuration file TargetsConfigurationsconfiguration_am35xxevm_micron_2g.txtReading definition file .targetsdefinitionsdefinitions_omap3.txt-board_config TargetsConfigurationsconfiguration_am35xxevm_micron_2g.txtLeaving parameter file:omapflash2nd.txtSend

7、ing size of second file (0x00006804 bytes)Transferring second file to target (0x6804 bytes)Closing boot connectionFound device (omap com1)Waiting for 2ndFound 2ndLooking for a driver for NANDINFO1BITBOOTchip_driver NANDINFO1BITBOOT TargetsFlash-Driversnand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 ad

8、dress 0x30000000 bberase 0 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 1024 l 2 acv 0x23 f 0x0019 eTxp.Downloading driverDownloading TargetsFlash-Driversnand_onfi_16bit_8bit.binSending data (41008 bytes) :. 32764Sending data (41008 bytes) : 41008Sending data (41008 bytes) : 41008Interface OMAPFLASH DRIVER v5

9、Driver NAND ONFI 16/8 BITDriver configuration: gpmc = 0x6E000000Driver configuration: cs = 0x00000000Driver configuration: address = 0x30000000Driver configuration: bberase = 0x00000000Driver configuration: onfi = 0x00000000Driver configuration: bpp = 0x00000400Driver configuration: sbpp = 0x0000002

10、0Driver configuration: ppb = 0x00000040Driver configuration: bpl = 0x00000400Driver configuration: l = 0x00000002Driver configuration: acv = 0x00000023Driver configuration: f = 0x00000019Driver configuration: eccoffset = 0x00000002NAND HW ECCNAND BCH Mode = 0NAND HWECC offset = 2, size = 12NAND NONE

11、v0 VENDOR 0x00 UNKNOWNNAND 16 BIT DEVICE 0x00 UNKNOWNNAND 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 UNITSNAND 0 BIT(S) ECC REQUIREDNAND 128 MB TOTAL SIZENAND ONFI

12、 DRIVER INIT COMPLETEDownloading completeElapsed time: 0:04.516 (10252 bytes/s)End loading driverErasingErasing 8388608 bytes starting at 0x30000000Erase progress . 65536Erase progress . 262144Erase progress :. 458752Erase progress :. 655360Erase progress :. 851968Erase progress :. 1048576Erase prog

13、ress :. 1245184Erase progress :. 1441792Erase progress :. 1638400Erase progress :. 1835008Erase progress :. 2031616Erase progress :. 2228224Erase progress :. 2424832Erase progress :. 2621440Erase progress :. 2818048Erase progress :. 3014656Erase progress :. 3211264Erase progress :. 3407872Erase prog

14、ress :. 3604480Erase progress :. 3801088Erase progress :. 3997696Erase progress :. 4194304Erase progress :. 4390912Erase progress :. 4587520Erase progress :. 4784128Erase progress :. 4980736Erase progress :. 5177344Erase progress :. 5373952Erase progress :. 5570560Erase progress :. 5767168Erase prog

15、ress :. 5963776Erase progress :. 6160384Erase progress :. 6356992Erase progress :. 6553600Erase progress :. 6750208Erase progress :. 6946816Erase progress :. 7143424Erase progress :. 7340032Erase progress :. 7536640Erase progress :. 7733248Erase progress :. 7929856Erase progress :. 8126464Erase prog

16、ress :. 8323072Erase progress : 8388608NAND ERASED 8388608 BYTES FROM ADDRESS 0x30000000 (0 BAD BLOCKS)Elapsed time: 0:00.000Console program success, exit code: 0Download过程 能下载成功下面是Download过程中output的信息 -stdout-omap 3-no_force_package_alignment-com 1-t 60-p EVM_MDDR_MICRON_2G_EMIF-2chip_download NAND

17、INFO1BITBOOT E:贺帅天漠科技Cortex-A8开发板SOC8200linuximagex-load.bin.ift_for_NANDLeaving parameter file:temp_script.txttemp_script.txtLooking for device (omap com1)Please turn off device, then turn it on againAwaiting ASIC idAsicId items 04AsicId id 01 05 01 34 30 07 58AsicId secure_mode 13 02 01 00AsicId p

18、ublic_id 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00AsicId 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 00Searching 2nd for: EVM_MDDR_MICRON_2G_EMIF 343007 58 GPLoading second file Targets2nd-Downloadersdnld_startup_omap3_gp_2g.2ndEntering

19、parameter file:omapflash2nd.txt at line: 15-pheriphalboot_reopenReading board configuration file TargetsConfigurationsconfiguration_am35xxevm_micron_2g.txtReading definition file .targetsdefinitionsdefinitions_omap3.txt-board_config TargetsConfigurationsconfiguration_am35xxevm_micron_2g.txtLeaving p

20、arameter file:omapflash2nd.txtSending size of second file (0x00006804 bytes)Transferring second file to target (0x6804 bytes)Closing boot connectionFound device (omap com1)Waiting for 2ndFound 2ndLooking for a driver for NANDINFO1BITBOOTchip_driver NANDINFO1BITBOOT TargetsFlash-Driversnand_onfi_16bi

21、t_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 driverDownloading TargetsFlash-Driversnand_onfi_16bit_8bit.binSending data (41008 bytes) :. 32764Sending data (41008 bytes) : 41008Sending data (41008 bytes) :

22、41008Interface OMAPFLASH DRIVER v5Driver NAND ONFI 16/8 BITDriver configuration: gpmc = 0x6E000000Driver configuration: cs = 0x00000000Driver configuration: address = 0x30000000Driver configuration: bberase = 0x00000000Driver configuration: onfi = 0x00000000Driver configuration: bpp = 0x00000400Driv

23、er configuration: sbpp = 0x00000020Driver configuration: ppb = 0x00000040Driver configuration: bpl = 0x00000400Driver configuration: l = 0x00000002Driver configuration: acv = 0x00000023Driver configuration: f = 0x00000019Driver configuration: eccoffset = 0x00000002NAND HW ECCNAND BCH Mode = 0NAND HW

24、ECC offset = 2, size = 12NAND NONEv0 VENDOR 0x00 UNKNOWNNAND 16 BIT DEVICE 0x00 UNKNOWNNAND 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 UNITSNAND 0 BIT(S) ECC REQUI

25、REDNAND 128 MB TOTAL SIZENAND ONFI DRIVER INIT COMPLETEDownloading completeElapsed time: 0:04.562 (10252 bytes/s)End loading driverDownloadingDownloading E:贺帅天漠科技Cortex-A8开发板SOC8200linuximagex-load.bin.ift_for_NANDSending data (9344 bytes) : 9344Sending data (9344 bytes) : 9344Downloading completeEl

26、apsed time: 0:00.922 (10134 bytes/s)Elapsed time: 0:00.000Console program success, exit code: 0在超级终端中的显示如下图,输出40x后就没有其它数据输出来了我再次用示波器查看NandFlash控制引脚的波形,所测量的各引脚的波形如下:第7脚RB:幅值3.3V 脉冲宽度:20us第8脚RE脉冲宽度:024us第9脚CE# 脉冲宽度:0.4us第16脚:CLE脉冲宽度:0.4us第17脚:ALE脉冲宽度:0.4us第18脚:WE脉冲宽度:0.28us第19脚:WP电压幅值0Vconfiguration_a

27、m35xxevm_micron_2g.txt# Specify platform memories# Do not set bberase to 1 unless you know what you are doing - it will cause factory-marked bad blocks to be marked as good and cannot be undonememory NAND1BITKERNEL driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 a

28、ddress 0x30000000 bberase 0 eccoffset 40memory NAND1BITBOOT driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 1024 l 2 acv 0x23 f 0x0019 eccoffset 2memory NANDBCH4 driver TargetsFlash-Driversnand_onfi_1

29、6bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 bch 4 eccoffset 36memory NANDBCH8 driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 bch 8 eccoffset 12memory NANDBCH4WINCE driver TargetsFlash-Driversnand_onfi_16

30、bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 bch 4 eccoffset 2memory NANDBCH8WINCE driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 bch 8 eccoffset 2memory NANDSWECC driver TargetsFlash-Driversnand_onfi_16bi

31、t_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 swecc 1 eccoffset 40memory NANDINTECC driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 intecc 1 eccoffset 36memory NANDINFO1BITKERNEL driver TargetsFlash-Driversnan

32、d_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019 eccoffset 40memory NANDINFO1BITBOOT driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0

33、 bpp 1024 sbpp 32 ppb 64 bpl 1024 l 2 acv 0x23 f 0x0019 eccoffset 2memory NANDINFOBCH4 driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019 bch 4 eccoffset 36memory NANDINFOBCH8

34、driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019 bch 8 eccoffset 12memory NANDINFOBCH4WINCE driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs

35、0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019 bch 4 eccoffset 2memory NANDINFOBCH8WINCE driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23

36、 f 0x0019 bch 8 eccoffset 2memory NANDINFOSWECC driver TargetsFlash-Driversnand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019 swecc 1 eccoffset 40memory NANDINFOINTECC driver TargetsFlash-Driversnand_onf

37、i_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019 intecc 1 eccoffset 36memory SDRAM parameters address 0x80300000 # Get device definitionsuse .targetsdefinitionsdefinitions_omap3.txt# Specify OMAP configuration

38、# Pin multiplexingMODE_32# secure_unlock() in am3517evm.c of xloaderWRITE RT_REQ_INFO_PERMISSION_1 0xFFFFFFFFWRITE RT_READ_PERMISSION_0 0xFFFFFFFFWRITE RT_WRITE_PERMISSION_0 0xFFFFFFFFWRITE RT_ADDR_MATCH_1 0x00000000WRITE GPMC_REQ_INFO_PERMISSION_0 0x0000FFFFWRITE GPMC_READ_PERMISSION_0 0x0000FFFFWR

39、ITE GPMC_WRITE_PERMISSION_0 0x0000FFFFWRITE OCM_REQ_INFO_PERMISSION_0 0x0000FFFFWRITE OCM_READ_PERMISSION_0 0x0000FFFFWRITE OCM_WRITE_PERMISSION_0 0x0000FFFFWRITE OCM_ADDR_MATCH_2 0x00000000WRITE SMS_RG_ATT0 0xFFFFFFFFMODE_16MODIFY CONTROL_PADCONF_SDRC_D0 0x001F 0x0 # sdrc_d0MODIFY CONTROL_PADCONF_S

40、DRC_D0_HI 0x001F 0x0 # sdrc_d1MODIFY CONTROL_PADCONF_SDRC_D2 0x001F 0x0 # sdrc_d2MODIFY CONTROL_PADCONF_SDRC_D2_HI 0x001F 0x0 # sdrc_d3MODIFY CONTROL_PADCONF_SDRC_D4 0x001F 0x0 # sdrc_d4MODIFY CONTROL_PADCONF_SDRC_D4_HI 0x001F 0x0 # sdrc_d5MODIFY CONTROL_PADCONF_SDRC_D6 0x001F 0x0 # sdrc_d6MODIFY CO

41、NTROL_PADCONF_SDRC_D6_HI 0x001F 0x0 # sdrc_d7MODIFY CONTROL_PADCONF_SDRC_D8 0x001F 0x0 # sdrc_d8MODIFY CONTROL_PADCONF_SDRC_D8_HI 0x001F 0x0 # sdrc_d9MODIFY CONTROL_PADCONF_SDRC_D10 0x001F 0x0 # sdrc_d10MODIFY CONTROL_PADCONF_SDRC_D10_HI 0x001F 0x0 # sdrc_d11MODIFY CONTROL_PADCONF_SDRC_D12 0x001F 0x0 # sdrc_d12MODIFY CONTROL_PADCONF_SDRC_D12_HI 0x001F 0x0 # sdrc_d13MODIFY CONTROL_PADCONF_SDRC_D14 0x001F 0x0 # sdrc_d14MODIFY CONTROL_PADCONF_SDRC_D14_HI 0x001F 0x0 # sdrc_d15MODIFY CONTROL_PADCONF_SDRC_D16 0x001F 0x0 # sdrc_d16MODIFY CONTROL_P

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 建筑/施工/环境 > 项目建议


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号