cannot burn empty NAND flash with ATK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cannot burn empty NAND flash with ATK

1,165 Views
robinfeng
Contributor II

Platform:

CPU: imx25

NAND

boot mode= 0b11

we use try to burn uboot with ATK, prompt download successful, but program failed, prompt ATK not support nand flash, who can help on this?

Labels (1)
4 Replies

869 Views
igorpadykov
NXP Employee
NXP Employee

Hi robin

please try to add support for that nand using sect.4.1 Supporting a New Flash Device

attached ATK ReferenceManual and ATK sources:

Programmers (Flash, etc.) (2)
Source Code for the Flash tool used for downloading, programing, dumping and
erasing images in Flash memory to the i.MX EVKs(REV 1.71)
https://www.nxp.com/products/power-management/pmics/power-management-for-i.mx-application-processors...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

869 Views
robinfeng
Contributor II

Hi, Igor

could you please share libc.a to me under C:\Program Files (x86)\GNUARM\arm-elf\lib?

best wishes

Robin

0 Kudos

869 Views
igorpadykov
NXP Employee
NXP Employee

since available full atk sources, seems one can compile it using

available compiler and ide tools.

Another option - use mfg tools for programming

From ATK to MFG - How to flash iMX25 NAND 

Best regards
igor

0 Kudos

869 Views
robinfeng
Contributor II

Hi, igor

thanks,

1 I cannot download GNU gcc you mentioned in ref manual, got it from others

2 failed to build flashlib due to "undefined reference to '_sbrk_r'", looks lack of newlib-build/arm-elf/newlib/libc/stdlib, can you send it to me by mail?

3 or could you please help build a device program to support NAND: MT29F2G08ABBEAH4

NAND MT29F2G08ABBEAH4 info:

Features
• Open NAND Flash Interface (ONFI) 1.0-compliant1
• Single-level cell (SLC) technology
• Organization
– Page size x8: 2112 bytes (2048 + 64 bytes)
– Page size x16: 1056 words (1024 + 32 words)
– Block size: 64 pages (128K + 4K bytes)
– Plane size: 2 planes x 1024 blocks per plane
– Device size: 2Gb: 2048 blocks

best wishes

Robin

0 Kudos