1 - Download ATK Release 1.7. The version ATK 1.7 can be downloaded here.
2 - Unzip file iMX_AdvancedToolKit_R170.zip into "C:\Program Files\freescale\AdvancedToolKit-STD\image\".
3 - Open the file "C:\Program Files\freescale\AdvancedToolKit-STD\config\ADSToolkit.cfg" and add the following lines:
[MX25_TO11]
MMC/SD::image\mx25_mmc.bin:0x(unknown)
NAND::image\mx25_nand.bin:0x(unknown)
SPI::image\mx25_spi.bin:0x(unknown)
[MX31]
4 - Set the SPI Boot Config on MX25PDK:
SW22: no influence
SW21[1-8]: 11110010
BT_MEM_CTL[0:1] = 11 (Expansion)
BT_MEM_TYPE[0:1] = 11 (Serial ROM via SPI)
BT_PAGE_SIZE[0:1] = no influence
BT_BUS_WIDTH[0:1] = 10 (3-Address SPI (24-bit) Note: BT_BUS_WIDTH[0]=1, BT_BUS_WIDTH[1]=0
On Debug Board the red switches:
(SW5-SW10) = 000011 (0=off)
Boot Config Switches (SW21, SW22) on Personality Board have no influence.
5 - Connect USB or Serial cable between Host PC and PDK and execute ATK
6 - Select USB/UART serial boot on MX25PDK and power on the board
7 - Configure ATK as following:
Device = i.MX25_TO1.1
device memory initial = DDR2
Communication channel: COMn (select the COM port on your PC)
or
Communication channel: USB
If you choose COM (serial UART connection) you MUST disconnect USB cable from OTG connector on i.MX25 PDK.
8 - Configure ATK "Flash Tool" as following:
Tick "Program"
Tick "Read Back Check"
Flash Model = SPI
Address = 0x0
Image = mx25_3stack_redboot_TO1_1.bin (same file as for NAND boot).
Same should be applicable to U-boot.
Note: SPI NOR Boot requires internal boot mode. On Debug Card all red switches must be off
(SW5-SW10) = 000000 (0=off).
Note: if booting from SPI NOR, Redboot needs approx 2 seconds before it shows messages on the console.
I found that this image only support CP (continuously program) mode, however, my spi flash doesn't support it. and, there are many errors in source code
Hello,
We could not find the Mx25_spi.bin file inside ATK installation, as well as couldn't get it on the broken link: http://www.imxdev.org/wiki/images/4/45/Mx25_spi.bin.tar.gz
Do you have that file?
Tks,
Bruno
Bruno,
As an alternative you could try is to boot via other media (say SD card, for example), get into the Linux prompt and then use mtd utils to flash the SPI.
Regards,
Fabio Estevam
Thanks Fabio!
Problem here is that SD card boot is not working on this board, we are debugging to understand why.
http://dl.vmall.com/c017bvfor0
for mx25_spi.bin, try this link
Thanks Sun!
We noticed this file supports a Micronix SpI memory, while we are using an Micron, the writing mechanism should be different.
Would you have the source code so we can try to adapt the code to that memory?
Thanks!
Bruno
Plz download from here:
http://pan.baidu.com/share/link?shareid=260164&uk=3642764781
and remove the last ".txt" which I added to avoid being killed by anti-virus software.
在 2013-02-01 01:48:49,"Bruno Castelucci" <admin@community.freescale.com> 写道:
|
|
|
|
i.MX25 PDK Board Flashing SPI NOR
new comment by Bruno CastelucciView all comments on this document
Thanks Sun!
We noticed this file supports a Micronix SpI memory, while we are using an Micron, the writing mechanism should be different.
Would you have the source code so we can try to adapt the code to that memory?
Thanks!
Bruno
Reply to this email to respond to Bruno Castelucci's comment.
|
|
Hello Sun,
Could you please help share file in baidu again?