How to write to eSDHC memory using Codewarrior 10.5 for PA Flash Programmer?

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

How to write to eSDHC memory using Codewarrior 10.5 for PA Flash Programmer?

660 Views
jsvholmes
Contributor I

I am trying to write to the eSDHC memory via a P2041 processor using the Flash Programmer I get an error message saying the command failed. I have added a device to the devices list setting the algorithm used to SDFlash.elf and the utility field to SDFlash_Utility.elf (both elf files are located in the Flash Programmer directory of Codewarrior). I may have an incorrect format for the device xml file as I can't find a device that is capable of eSDHC programming in the provided list to use as an example.

 

There doesn't seem to be a place to set the base address for the eSDHC registers and the memory is not mapped via a LAW.

How do I point the programmer or algorithm to the eSDHC base register?

Or am I suppose to map the memory using a LAW (which doesn't seem to be possible as there is not transaction target ID for the eSDHC)?

 

I've attached my device xml file.

Original Attachment has been moved to: MTFC4GMWDQ-3M.xml.zip

Labels (1)
0 Kudos
Reply
1 Reply

537 Views
addiyi
NXP Employee
NXP Employee

CodeWarrior for PA doesn't provide support SD card programming in Flash Programmer. SDFlash.elf and SDFlash_Utility.elf are placed by mistake in CodeWarrior for PA.

Adrian

0 Kudos
Reply