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.

MSP430FR2111: What is the default pin direction during Bootloader operation for the FRAM parts?

Part Number: MSP430FR2111

Hello, I read through the MSPBSL FRAM bootloader document that describes the operation of the bootloader, but I did not see where it defines how the other pins are configured. Once the bootloader is invoked, are all the other pins left floating, or are they in the last state they were in during normal (non-BSL) firmware operation?

Thanks,

Derek

  • Hi Derek,

    I'll need to double-check with the BSL owner to confirm, but I think there are two possible scenarios here:

    1. Software Invocation of BSL
    If a running application performs a software jump into the BSL, then my understanding is that the BSL does not modify the peripherals it is not using (port memory-mapped registers included), meaning the IO's not used by the BSL itself would keep the same state they were in before the jump into the BSL.

    2. Hardware Invocation of BSL
    If you apply a hardware BSL entry (RST pin pulled low then back to high with the appropriate sequence on TEST), then a POR/PUC will occur and the device boot code will execute. This would set all of the programmable IO's to their Hi-Z input configuration before the program counter is set to the BSL entry address. Then, I believe the BSL would modify the needed pins (UART pins, for example) and leave all other IO's un-touched.

    Regards,
    Walter
  • Derek,

    I have confirmed the behavior above with the BSL owner. The pin states will behave as described above.

    The only other side comment is that on some devices (MSP430FR23xx/MSP430FR26xx for example), if you do a software entry then you need to reset the registers of any peripherals used by the BSL, as the BSL expects peripherals to be in their reset state when it begins execution. This is not directly related to your question, just a side comment. This is described in section 3.3.1.1 of the BSL User's Guide.

    Regards,
    Walter

**Attention** This is a public forum