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.

Verification error when adding Bootstrap Loader (BSL) to the linker

Other Parts Discussed in Thread: MSP430F6779, MSP430F5438A

Hi

We are currently working on an MSP430F6779 device and we want to add a custom BSL. I have taken the example projects for the MSP430F5438A device and changed it so the target is our microprocessor.

I do have conflicting information though, in the 'Creating a Custom Flash-Based Bootstrap Loader (BSL)' manual, it states that I need to remove the INFOx areas by commenting them out and adding a BSL area from 0x1000 for length 0x00FE, but for our processor, these areas do not conflict and adding this does not correspond to the example projects, so all I have done so far is used the linker command file that came with the example project for a custom BSL and change the target to my device. The BSL area is broken up into various other areas of memory too:

  ZAREA_MEM : origin = 0x1000, length = 0x0010

  BSL430_VersionM : origin = 0x1010, length = 0x0004

  ZAREA_CODE_MEM : origin = 0x1014, length = 0x0050

  FLASH : origin = 0x1064, length = 0x078C

  BSLSIG_MEM : origin = 0x17F0, length = 0x0010

When I use the linker from the example, I get the following errors on trying to flash/debug:

  MSP430: File Loader: Verification failed: Values at address 0x0000000000001000 do not match Please verify target memory and memory map.

  MSP430: GEL: File: C:\_work\CCS_Projects_61\CUSTOM_BSL\BSL\BSL.out: a data verification error occurred, file load failed.

I assume this is because the ZAREA_MEM in the linker for the 5438A and the areas specified for the my device does not have this there. What changes do I need to do in order to flash the BSL code from the example, onto my MSP430F6779 processor?

Thanks.

  • Before write / read BSL flash area, it must be unlocked.
  • Thanks for the quick reply.

    I have already done this by setting "Allow Read/Write/Erase access to BSL memory" in the project options.

    Is there more I need to do to access it?

    Thanks
  • I have found the problem thanks to the response above.

    I looked deeper into the problem and it turned out to be because I hadn't done the second step below:

    1) Debug Properties -> Target -> MSP430 Properties -> Download Project -> Options -> Debugger -> FET Debugger -> Download:
    Options -> Allow erase and write access to locked flash memory

    2)Erase options: Erase main, information, and protected information memory

**Attention** This is a public forum