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/CC430F5137: [DSS] writing data to info pages

Part Number: CC430F5137

Tool/software: Code Composer Studio

Hello,

My plan is to use a DSS to write in the InfoA Sector.

The Problem is, that this sector is locked and i have to unlock this one before.

Now, I dont have any Idea how to do that because I dont know how to get the name of the sector.

debugSession.flash.options.setBoolean("INFOA", true);
debugSession.flash.options.setString("INFOA","0xA500");
debugSession.flash.unlock();

Executing this code gives me an exception that says, that the option is not found.

Is it possible to write in InfoA Sector with the DSS?

And how should my code look like?

best regards,

Christof

  • Hello Christof,
    Note that the available flash options vary depending on the device. I don't think your device supports the unlock option via DSS, as I don't see it in the MSP43x Debugger Options dialog. To see what options are supported, run your script with the following line:

    debugSession.flash.options.printOptions(".*");

    This will spit out all available options to the console.

    Thanks
    ki