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.

MSP430G2553 data verification error occurred, file load failed.

hi all......

 
#10010 errors encountered during linking; "I Remember demo.out" not built   

#10099-D program will not fit into available memory.  placement with alignment fails for section ".cinit" size 0xa1 .  Available memory ranges:   

       This was my first issue so change the flash size to  FLASH     : origin = 0xb000, length = 0x4FE0  from     FLASH      : origin = 0xc000, length = 0x3FE0
then this issue solved, but when i try to debug  getting error  " data verification error occurred, file load failed. " shown below,

MSP430: File Loader: Data verification failed at address 0x0000B000 Please verify target memory and memory map.
MSP430: GEL: File: E:\Sai\workspace_v6_0 msp430\I Remember demo\Debug\I Remember demo.out: a data verification error occurred, file load failed.

here is my SYSTEM MEMORY MAP

/****************************************************************************/
/* SPECIFY THE SYSTEM MEMORY MAP                                            */
/****************************************************************************/

MEMORY
{
    SFR                     : origin = 0x0000, length = 0x0010
    PERIPHERALS_8BIT        : origin = 0x0010, length = 0x00F0
    PERIPHERALS_16BIT       : origin = 0x0100, length = 0x0100
    RAM                     : origin = 0x0200, length = 0x0200
    INFOA                  : origin = 0x10C0, length = 0x0040
    INFOB                  : origin = 0x1080, length = 0x0040
    INFOC                  : origin = 0x1040, length = 0x0040
    INFOD                  : origin = 0x1000, length = 0x0040
    FLASH                  : origin = 0xc000, length = 0x3FE0
    INT00                   : origin = 0xFFE0, length = 0x0002
    INT01                   : origin = 0xFFE2, length = 0x0002
    INT02                   : origin = 0xFFE4, length = 0x0002
    INT03                   : origin = 0xFFE6, length = 0x0002
    INT04                   : origin = 0xFFE8, length = 0x0002
    INT05                   : origin = 0xFFEA, length = 0x0002
    INT06                   : origin = 0xFFEC, length = 0x0002
    INT07                   : origin = 0xFFEE, length = 0x0002
    INT08                   : origin = 0xFFF0, length = 0x0002
    INT09                   : origin = 0xFFF2, length = 0x0002
    INT10                   : origin = 0xFFF4, length = 0x0002
    INT11                   : origin = 0xFFF6, length = 0x0002
    INT12                   : origin = 0xFFF8, length = 0x0002
    INT13                   : origin = 0xFFFA, length = 0x0002
    INT14                   : origin = 0xFFFC, length = 0x0002
    RESET                   : origin = 0xFFFE, length = 0x0002
}
 

Thanks,

  • Hello

    sai krishna vp said:
    This was my first issue so change the flash size to  FLASH     : origin = 0xb000, length = 0x4FE0  from     FLASH      : origin = 0xc000, length = 0x3FE0
    then this issue solved

    Arbitrarily changing the length of a memory region may help you successfully build the code, but if that memory range does not exist on the actual physical target, then you will get errors on load as you experienced.


    See the below article for more details on the relationship between the cmd file, debugger memory map, and actual physical memory available on the target:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS_-_Data_Verification_Errors

    Thanks

    ki