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.

CCS/MSP430F5659: MSPBoot linker file problem

Part Number: MSP430F5659
Other Parts Discussed in Thread: MSP430G2553

Tool/software: Code Composer Studio

Hi, 

I'm modifying MSPBoot G2553_SPi example for msp430f5659 mcu.

I made lnk file by using msp430FR series mspboot linkerGen for large memory mcu model and program to msp430f5659.

Build process was successful.

But, when i debug, i meet error like below.

MSP430: Trouble Writing Memory Block at 0x1000 on Page 0 of Length 0x10: Could not perform access, BSL memory segments are protected
MSP430: File Loader: Verification failed: Target failed to write 0x01000
MSP430: GEL: File: C:\Users\Youngjun\project code\msp430 bsl\MSPBoot_1_01_00_00\Target\G2553_SPI\CCS\MSPBoot\BSLBased_SPI\MSPBoot.out: Load failed.

this is my linker file.

lnk_msp430F5659_SPI_1KB_Boot.zip

Thank you.

Regards

Youngjun

  • Hi Youngjun,

    Memory organization varies greatly between the MSP430G2553 and MSP430F5659 and I would not recommend porting the MSPBOOT code, which is a main-memory bootloader, to attempt altering the BSL memory at 0x1000 to 0x17FF, which as already explained only supports UART/USB. The most noticeable issue with your linker file is that INFOBOOT starts at 0x1000 when this should be 0x1800, resulting in the problem you've described.

    Regards,
    Ryan

**Attention** This is a public forum