NandFlash 引腳及用示波器看到的波形:_第1頁
NandFlash 引腳及用示波器看到的波形:_第2頁
NandFlash 引腳及用示波器看到的波形:_第3頁
NandFlash 引腳及用示波器看到的波形:_第4頁
NandFlash 引腳及用示波器看到的波形:_第5頁
已閱讀5頁,還剩20頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領

文檔簡介

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引導界面并沒有出來,我也再次用示波器看了一下輸入腳的波形,請專家?guī)臀曳治龇治?,是哪出了問題。下面是我所做的過程。軟件: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開發(fā)板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開發(fā)板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后就沒有其它數(shù)據(jù)輸出來了我再次用示波器查看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 0x

42、0 # 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_padconf_sdrc_d16_hi 0x001f 0x0 # sdrc_d17modify control

43、_padconf_sdrc_d18 0x001f 0x0 # sdrc_d18modify control_padconf_sdrc_d18_hi 0x001f 0x0 # sdrc_d19modify control_padconf_sdrc_d20 0x001f 0x0 # sdrc_d20modify control_padconf_sdrc_d20_hi 0x001f 0x0 # sdrc_d21modify control_padconf_sdrc_d22 0x001f 0x0 # sdrc_d22modify control_padconf_sdrc_d22_hi 0x001f 0

44、x0 # sdrc_d23modify control_padconf_sdrc_d24 0x001f 0x0 # sdrc_d24modify control_padconf_sdrc_d24_hi 0x001f 0x0 # sdrc_d25modify control_padconf_sdrc_d26 0x001f 0x0 # sdrc_d26modify control_padconf_sdrc_d26_hi 0x001f 0x0 # sdrc_d27modify control_padconf_sdrc_d28 0x001f 0x0 # sdrc_d28modify control_p

45、adconf_sdrc_d28_hi 0x001f 0x0 # sdrc_d29modify control_padconf_sdrc_d30 0x001f 0x0 # sdrc_d30modify control_padconf_sdrc_d30_hi 0x001f 0x0 # sdrc_d31modify control_padconf_sdrc_clk 0x001f 0x0 # sdrc_clkmodify control_padconf_sdrc_clk_hi 0x001f 0x0 # sdrc_dqs0pmodify control_padconf_sdrc_dqs1 0x001f

46、0x0 # sdrc_dqs1p modify control_padconf_sdrc_dqs1_hi 0x001f 0x0 # sdrc_dqs2p modify control_padconf_sdrc_dqs3 0x001f 0x0 # sdrc_dqs3pmodify control_padconf_sys_boot7_hi 0x001f 0x8 # sdrc_dqs0nmodify control_padconf_sdrc_dqs1n 0x001f 0x8 # sdrc_dqs1nmodify control_padconf_sdrc_dqs1n_hi 0x001f 0x8 # s

47、drc_dqs2nmodify control_padconf_sdrc_dqs3n 0x001f 0x8 # sdrc_dqs3nmodify control_padconf_sdrc_cke0 0x011f 0x0 # sdrc_cke0modify control_padconf_sdrc_cke1 0x011f 0x0 # sdrc_cke1modify control_padconf_sdrc_dqs3n_hi 0x001f 0x8 # sdrc_strben_dly0modify control_padconf_sdrc_strben_dly1 0x001f 0x8 # sdrc_

48、strben_dly1modify control_padconf_sdrc_dqs3_hi 0x011f 0x0 # gpmc_a1modify control_padconf_gpmc_a2 0x011f 0x0 # gpmc_a2modify control_padconf_gpmc_a2_hi 0x011f 0x0 # gpmc_a3modify control_padconf_gpmc_a4 0x011f 0x0 # gpmc_a4modify control_padconf_gpmc_a4_hi 0x011f 0x0 # gpmc_a5modify control_padconf_gpmc_a6 0x011f 0x0 # gpmc_a6modify control_padconf_gpmc_a6_hi 0x011f 0x0 # gpmc_a7modify control_padconf_gpmc_a8 0x01

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論