Keil™, An ARM® Company

Discussion Forum

IAP data not being written

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
David Huff
Posted
7-May-2008 12:40
Toolset
ARM
New! IAP data not being written

I am trying to write data to the ROM using IAP. I check the return codes for both the prep for write and the copy to RAM functions and they are telling me command_success but when I copy the data back out to a buffer the buffer contains nulls.

Is a simple memcpy what I use to get the data back out of the ROM - like so?

memcpy(buf, (void *)DATA_ADDR, 512);

Any help will be greatly appreciated.

Thanks

Read-Only
Author
Reinhard Keil
Posted
13-May-2008 07:25
Toolset
ARM
New! RE: IAP data not being written

Yes a simple memcpy should do the job. However, are you really accessing the right memory location with DATA_ADDR?

Posting the complete function with data definitions and mentioning the device that you are actually using may help to get better answers.

Next Thread | Thread List | Previous Thread Start a Thread | Settings