MSP430 programming without mass erase

Sysprogs forums Forums VisualGDB MSP430 programming without mass erase

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30824
    DevDan
    Participant

    Hello,

    I would like to program an MSP430FR2355 without doing a mass erase first. There are options in Code Composer studio to do this using the same toolchain.

    Thank you

    #30825
    support
    Keymaster

    Hi,

    The MSP430 support in VisualGDB is implemented via an open-source tool called msp430-gdbproxy. Although it currently only supports erasing the entire FLASH memory, you can easily modify it to erase a custom range instead.

    You would need to clone the msp430-gdbproxy repository and edit the MSP430Target.cpp file to support an additional command (e.g. “erase_range”). Then you can remove the original “erase” command from the <sysgcc>\msp430\msp430-bsp\debuggers\core\edp.xml file and add a custom “erase_range” command to VisualGDB Project Properties -> Additional GDB Commands.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.