Receiving FLASH_WRITE_FAILED error when calling WriteMem
3 replies to this topic
Posted 22 May 2012 - 07:14 AM
Hello. I am attempting to write some custom diagnostic data to the UserMem part of memory using the WriteMem low-level function. I am reading the data from the memory, erasing the memory, and then attempting to write to it (I need to store some diagnostic information onto the LabJack, so reading its prior state is essential; and the WriteMem function states that you need to erase memory before writing). I receive no errors from reading (though I get all 0's from the user memory - to be expected) or erasing, but when I try to write to the flash memory, I am receiving errorcode 16 [FLASH_WRITE_FAILED]. I have tried a few different timing delays between the EraseMem call and the WriteMem call, but none of them seem to make a difference. How could I get more information so that I can debug this error? Thanks, Note: My firmware version is 1.320, my hardware version is 1.300, and my driver version is 3.25
Posted 22 May 2012 - 07:48 AM
... and if you want to troubleshoot your low-level stuff, provide a code snippet for us to look at.
Posted 26 June 2012 - 12:10 PM
So, I had to back away from that part of the application for about a month. I didn't realize that there were ways to write to memory under the miscellaneous section. That solution worked for me. Thank you so much for the help.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users