Flash Programming using CW

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

Flash Programming using CW

593 Views
narreddiprakash
Contributor II

Hello,

         I am new to CodeWarrior and I tried to program flash, but it is not erasing flash and not allowing to load uboot image uboot.bin(came in cd). I am using MPC8360EA-MDS-PB. In the user manual, they mentioned that flash is S29GL256M but in the Codewarrior it is not showing S29GL256M but it showing S29GL256P. I selected this S29GL256P option and trying to erase flash from fe000000 to ffffffff, but it is not erasing and showing the following log..


: -------------------------

Using Algorithm: amd8x1alt.elf


======================================================================
=== Target Configuration Settings
=== Connection: CodeWarrior USB TAP
=== Target Processor: 8360
=== Target Init File: C:\Users\jyothi\Desktop\MPC8360E_PB_K26_20081112-LTIB\help\software\CW_debug\8360MDS_rev2_init_new.cfg
======================================================================
Connecting...
Timestamp: Sat Apr 22 16:11:47 2017


: -------------------------

Using restricted address range 0xFE000000 to 0xFFFFFFFF

Programming file C:\Users\jyothi\Desktop\MPC8360E_PB_K26_20081112-LTIB\images\u-boot.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.

Using Algorithm: amd8x1alt.elf


======================================================================
=== Target Configuration Settings
=== Connection: CodeWarrior USB TAP
=== Target Processor: 8360
=== Target Init File: C:\Users\jyothi\Desktop\MPC8360E_PB_K26_20081112-LTIB\help\software\CW_debug\8360MDS_rev2_init_new.cfg
======================================================================
Connecting...
Timestamp: Sat Apr 22 16:12:13 2017

Why it is not erasing the flash.? Please reply as soon as possible.

Thanks,

Prakash

Tags (1)
0 Kudos
3 Replies

415 Views
Pavel
NXP Employee
NXP Employee

The S29GL256M and the S29GL256P use the same program commands.

Can you load any code to the board using CodeWarrior and USB TAP?

Check RCW for your board.

If RCW source is your S29GL256 local bus EEPROM, CodeWarrior RCW loading possibility should be used.

Find the 8360_HRCW_jtag.txt file in CodeWarrior folder.


Have a great day,
Pavel Chubakov

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

0 Kudos

415 Views
narreddiprakash
Contributor II

please reply as soon as possible

0 Kudos

415 Views
narreddiprakash
Contributor II

No, I didn't load any C code, I got this board into my hands two days back only. At first I am trying to load uboot.bin file because the person who used this board previously, removed the uboot from flash. I am a fresher to this board. What is RCW  and Where can I check RCW for my board.? 

0 Kudos