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