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.

MSP432P401R: Software invocation failing after UART_open() API call .

Part Number: MSP432P401R

Hello,

While doing the software invocation of BSL we observed that invocation does not happen after the call to  'UART_open(XBB_UART_LOG, &uartParams);'

Before this call the software invocation get triggered as expected.

Below is the code we are using for software invocation:

MAP_Interrupt_disableMaster();
NVIC->ICER[0] = 0xFFFF;
NVIC->ICPR[0] = 0xFFFF;
NVIC->ICER[1] = 0xFFFF;
NVIC->ICPR[1] = 0xFFFF;
((void (*)()) BSL_ENTRY_FUNCTION)((uint32_t) BSL_PARAM); // Call the BSL with given BSL parameters

We also did tried closing the UART( UART_writeCancel() , UART_readCancel() , UART_close() ) before S/W invocation, but still the same issue is there.

Please let us know if there is any specific UART configurations that need to be done for s/w invocation or there is anything missing in our steps. We are referring to Freertos code for this.

Can we get the insights on why the s/w invocation fails after UART_open() call while it succeeds before this call?

It will be great if we can get any pointers or inputs for this .

Thanks,

Vibhor