This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

"Data verification error occurred"

Other Parts Discussed in Thread: MSP430F2234

Hi All,

I keep getting this error when trying to load my program onto the MCU.

 MSP430: File Loader: Data verification failed at address 0x0000E006
 Please verify target memory and memory map.
 MSP430: GEL: File: 
 C:\Users\Zack\workspace_v5_1\UHC-BMSTS_400A_poc1\Debug\UHC-BMSTS_400A_poc1.out: 
 a data verification error occurred, file load failed.

I am using the MSP430F2234. I have never seen this before. Any ideas?

Thanks,

  • It sounds like the debugger is encountering errors while writing to flash. What tool are you using to program the MCU? Is the JTAG/SBW connection good? Are you providing enough voltage? Have you been repetitively writing to a segment? If possible, try it with another F2234 and see if the problem repeats.

    Hope that helps.

    Tony

  • Hi Zack,

    A lot of times people see this error if there is an issue with the linker command file being used in their project. It looks like you are using CCSv5 based on the workspace name in that error message, so I'll give my advice with that IDE in mind:

    1. Have you made sure that in the CCS project settings, you have set the device variant to match your device? In CCSv5, this is under Project > Properties > General in the Device Variant dropdown.

    2. If you have already changed the device variant in the project settings in CCSv5, look in the Project Explorer view on the left side of the screen and see which linker command file (for example "lnk_msp430f2234.cmd") is being used in the project - you may have to expand the project by clicking the triangle to the left of its name to see these files. If there is more than one linker file there you'll have a problem and should either exclude the incorrect one from the build (right-click file > properties > Build >  check exclude resource from build)  or simply remove it from the project by deleting it.

    3. Have you made any modifications to the linker command file? This could be causing your issue too.

    Hope this helps!

    -Katie

  • Thank you everyone for the advice. I found out what the problem is. I have run into this problem before, and I didn't remember until after posting on this forum. It turns out that the problem was that I was using the ez430 USB emulator to try to program the MSP430F2234. For some reason, it doesn't like programming the 2234. I ended up using my launchpad to program it, and it works great.

**Attention** This is a public forum