Thanks for your replies.
I think the CW 10.3 stuff will be very useful while performing flashing on our custom-boards which are supposed to have MT29F2G08 on them.
Right now my main focus is to perform NAND flashing on the RDB through JTAG to see how its done. I did some searching in the CodeWarrior_PA_Ver8.8 folder and found that it *has* support for RDB's NAND (K9F5608x0D.elf was found in the tree). So I followed the below steps to first erase and then reprogram the NAND on RDB.
1. Opened a demo project in Codewarrior 8.8
2. Opened Tools->Flash Programmer dialogbox
3. Clicked "Load settings" button to load "C:\Program Files\Freescale\CodeWarrior PA V8.8\bin\Plugins\Support\Flash_Programmer\EPPC\83xx\8313RDB_NAND_FLASH.xml" settings file.
4. On the "Erase/Blank Check" page, selected "all sectors" checkbox and then clicked "Erase" button.
After sometime got "Erase Command Succeeded" message in the status-box
5. On "Program/Verify" page, selected "RDB_CD\images\u-boot-nand.bin" file. Now when I click on the "Program" button, I get the following message in the status-box "0 Bytes Programmed, Check Restricted Address Range"
Can you tell where am i doing it wrong?
The logs generated are as follows
******** LOGS ********
: -------------------------
Using Algorithm: K9F5608x0D.elf
======================================================================
=== Target Configuration Settings
=== Connection: CodeWarrior USB TAP
=== Target Processor: 8313
=== Target Init File: C:\Program Files\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Support\Initialization_Files\PQ2\8313RDB_init.cfg
======================================================================
Connecting......Connected
======================================================================
=== Execute: Erase
=== Timestamp: Tue Sep 10 17:55:01 2013
=== Flash Device: K9F5608U0D
=== Flash Organization: 32Mx8x1
=== Flash Mem Start Addr: 0xF8000000
=== Flash Mem End Addr: 0xF9FFFFFF
======================================================================
Informing other connection clients that the target is being 'clobbered'.
Loading Flash Device Driver at: 0x00002000
Flash Driver Buffer is at: 0x000046A0
Flash Driver Buffer Size is: 0x0005D960
Done
Initialization Command Succeeded
Erasing Sector 0xF8034000 to 0xF8037FFF ... Done
Erase Command Succeeded
Timestamp: Tue Sep 10 17:55:06 2013
: -------------------------
Using restricted address range 0xF8000000 to 0xF9FFFFFF
Programming file C:\Users\admin\Documents\FCE\RDB_CD\images\u-boot-nand.bin
Trying auto-detect...
File is NOT of type Motorola S-Record Format.
File is NOT of type Elf Format.
Auto-detection is successful.
File is of type Binary/Raw Format.
======================================================================
=== Execute: Program
=== Timestamp: Tue Sep 10 17:55:41 2013
=== Flash Device: K9F5608U0D
=== Flash Organization: 32Mx8x1
=== Flash Mem Start Addr: 0xF8000000
=== Flash Mem End Addr: 0xF9FFFFFF
======================================================================
Trying auto-detect...
File is NOT of type Motorola S-Record Format.
File is NOT of type Elf Format.
Auto-detection is successful.
File is of type Binary/Raw Format.
Programmed total of 0x00000000 bytes
Timestamp: Tue Sep 10 17:55:41 2013
***********************
Thanks and regards,
Anand Mistry