Unable to burn uboot image using CW flash programmer.

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

Unable to burn uboot image using CW flash programmer.

771 Views
saha
Contributor I

Hi,

    I got a new P2020DS, did a complete erase of flash memory for bare metal development. Now i wanted to flash the u-boot image provided in DVD #4 of Linux BSP using CW V8.8 & USB TAP and I get an error message "0x00010000 bytes of Target Memory at 0xEFF80000 is not within flash boundaries". If i try to burn the complete flash image with "flash_p2020ds_20100317_tag.bin" i get an error message "0x00010000 bytes of Target Memory at 0x00000000 is not within flash boundaries".

 

The flash device is S29GL01GP and organization is set to 64M X16X1 (Flash memory base address is 0xf8000000).

 

I am able to flash romable ELF that i create for development. But i am not able to flash the U-BOOT image provided in DVD#4 of Linux BSP.

 

i am using setting file "P2020DS_NOR_FLASH.xml" and initialization file "P2020DS_NOR_FLASH.xml"

 


======================================================================
=== Execute: Program
=== Timestamp:  Thu May 12 09:51:27 2011
=== Flash Device:   S29GL01GP
=== Flash Organization:   64Mx16x1
=== Flash Mem Start Addr: 0xF8000000
=== Flash Mem End Addr:   0xFFFFFFFF
======================================================================
Informing other connection clients that the target is being 'clobbered'.
Loading Flash Device Driver at: 0x00002000
Flash Driver Buffer is at:   0x00003FA0
Flash Driver Buffer Size is: 0x0002E060
Done

Initialization Command Succeeded
Trying auto-detect...
  File is NOT of type Motorola S-Record Format.
Auto-detection is successful.
  File is of type Elf Format.

0x00010000 bytes of Target Memory at 0xEFF80000 is not within flash boundaries.
Timestamp:  Thu May 12 09:51:30 2011

 

Plz. Help.

Labels (1)
0 Kudos
1 Reply

269 Views
M_Stafford
Contributor I

A few things:

 

  • Have you tried using the configs available in <your CW root>\PowerPC_EABI_Support\Initialization_Files\QorIQ_P2 ?
  • When flashing U-Boot, you need to flash it to offset 0xfff80000

Otherwise, I think you are on the right track.

 

0 Kudos