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.

Invoking the Bootstrap Loader by Software with msp430f6779

Hi,

I know what is bsl and how I can get in bsl mode with using some pins(TEST and RESET). 

But I need get in BSL mode by software. Is this possible ?

Best Regards?

  • Hi baycan,

    Please see the BSL User's Guide www.ti.com/lit/pdf/slau319 section 3.8.1 Starting the BSL From an External Application.  

    Basically, you'll call this from your code when you want to enter the BSL:

    __disable_interrupt();
    ((void (*)())0x1000)();

    But I would still read the section to make sure you've covered all additional considerations.

    Hope this helps!

    -Katie

  • Basically, you need to restore the start conditions (as the BSL will expect power-on defaults for the parts it uses), then call the BSL code. Even on MSPs with protected BSL area, the firs tfew bytes with the entry points are reachable. I don’t know the address off-hand (as it depends on the actual MSP), but in C you can do something like

    ((void (*)(void))0x1000)();

    (Katie's version of the function call may result in compiler error about the missing function parameter)

  • Thanks friends.. I will check and let you guys know

    Best regards

**Attention** This is a public forum