I.MX27 PDK Board Flashing

Document created by jesseg Employee on Aug 17, 2012Last modified by Jodi Paul on Apr 17, 2013
Version 2Show Document
  • View in full screen mode

i.MX27 PDK Board Flashing

This tutorial teaches how to flash bootloader using ATK. To flash kernel and root file system, follow the directions: IMX27 PDK NAND Flashing RedBoot.

Using ATK

ATK (Advanced Toolkit) is a Windows software for programming the flash memory of i.MX boards.

 

This section will describe the procedure to erase the flash memory and program the bootloader.

1 - Connect a serial cable between PC and i.MX board.

2 - Some hardware configurations (switches) must be done to flash the board.

Set red and cream switches as below: 
Switch SW5 -> 00000 
Switch SW4 -> 10000001

Installing ATK on Linux

Download ATK:

Download. 

Extract ATK:

# unzip ATK_1_41_STD_installer.zip 

Execute the default install process:

# wine SETUP.EXE 

Get mfc42.dll and msvcp60.dll from a Windows Machine (C:\Windows\System32) and copy to wine system32 (/root/.wine/drive_c/windows/system32)

Run ATK:

# wine ADSToolkit_std.exe 

 

Next Step

To flash kernel and root file system, follow the directions: IMX27 PDK NAND Flashing RedBoot.


400px-External_boot_imx27.jpg

PS: On SW5 and SW4, "1" means the keys selected towards the edge of the board.

3 - Run ATK by clicking Start -> Programs -> AdvancedToolKit -> AdvancedToolKit


Atk1_imx27.png

   
   Set the options:
   Device memory -> DDR; Custom Initial File -> (keep it unmarked)
   Communication Channel -> Serial Port (Usually COM1)

4 - Click on Flash Tools to erase, program or dump the the flash memory and click GO.


Atk2_imx27.png

Flash Erasing

1 - To erase Flash memory, select the parameters as shown in the figure below:

 

Imx27_pdk_atk3.PNG

2 - Turn on the board and press Erase.

3 - ATK shows this message when flash is erased

 

Imx27_pdk_atk4.PNG

Flash Programming

The next step is to program the bootloader image into the board's Flash following the steps below.

1 - Select the parameters as shown in the figure below and press Program.

The bootloader binary image file can be found into your Board Support Package 
Set Program, NAND, Address: 0x00000000

 

 

Imx27_pdk_atk5.PNG

2 - Add it on Image File field and press Program.

3 - Close ATK, turn off the board and set switch back as shown in the picture below.

 

400px-Internal_boot_imx27.jpg

Installing ATK on Linux

Download ATK:

Download.

Extract ATK:

# unzip ATK_1_41_STD_installer.zip

Execute the default install process:

# wine SETUP.EXE

Get mfc42.dll and msvcp60.dll from a Windows Machine (C:\Windows\System32) and copy to wine system32 (/root/.wine/drive_c/windows/system32)

Run ATK:

# wine ADSToolkit_std.exe

 

Next Step

To flash kernel and root file system, follow the directions: IMX27 PDK NAND Flashing RedBoot.





Attachments

    Outcomes