Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP432P401R: Custom BSL change uart port and module

$
0
0

Part Number:MSP432P401R

I have succesfully compile MSPBSL_CustomBSL432  1_01_00_00.

I want to change default uart port (to P9) and module (UCA3).

As I understand with this port I cannot have hardware based BSL invokation which is based on interrupt and possible only on ports from 1 to 3.

It should work by software invokation and when first four bytes of memory are 0xFF (cleaned memory).

What I should change in file : BSL432_Peripheral_Interface_eUSCI_UART_SPI_I2C_IRQ.c  or in other files in project ?

I tryed to change:

uint32_t BSL432_UART_MODULE = EUSCI_A3_BASE;

and

uint8_t BSL432_UART_PORT = GPIO_PORT_P6;
uint16_t BSL432_UART_RXD_PIN = GPIO_PIN6;
uint16_t BSL432_UART_TXD_PIN = GPIO_PIN7;
uint8_t BSL432_UART_RXD_MODE = GPIO_PRIMARY_MODULE_FUNCTION;
uint8_t BSL432_UART_TXD_MODE = GPIO_PRIMARY_MODULE_FUNCTION;

and I also made some changes in function void BSL432_PI_detectInterface() - P2 replaced by P9

but this changes doesn't work.

It looks like program ignores this values and parse data default values from TLV memory and "TLV data is device specific and cannot be changed".

Is there any instruction how to customise this BSL ?

Regards

Pawel


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>