Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Heyho!
I'm working on secondary BSL (secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang) because I want to change UART-BSL-Pins from default UART0 to UART1.
This works with my modifications in "ti_msp_dl_config.h".
Now I want to change the invoke pin/deactivate GPIO invoke / change to software invoke.
The only place where I found code to modify is the boot_config.h. (L. 63-74)
/* Defines for BSL UART and I2C interface pins */ // Werte werden im Typedef Struct BSL_Config BSLConfig gesetzt
#define DEF_UART_RXD_PAD (0x16) // PINCM22
#define DEF_UART_RXD_MUX (0x2) // PIN FUNCTION UART0_RX
#define DEF_UART_TXD_PAD (0x15) // PINCM21
#define DEF_UART_TXD_MUX (0x2) // PIN FUNCTION UART0_TX
#define DEF_I2C_SDA_PAD (0x1)
#define DEF_I2C_SDA_MUX (0x3)
#define DEF_I2C_SCL_PAD (0x2)
#define DEF_I2C_SCL_MUX (0x3)
#define DEFAULT_BSL_PIN_INVOCATION_DATA0 ((uint8_t) 0xa8) // 1010 1000 - BSLIVK_LVL = HIGH - BSLIVK_PAD_NUM = 40 (IOMUX PINCM register Wert)
#define DEFAULT_BSL_PIN_INVOCATION_DATA1 ((uint8_t) 0x12) // 0001 0010 - BSLIVK_GPIOPORT = Port A - BSLIVK_GPIOPIN = 18 -> PA18
But this is all about the default Configs.. can I nonetheless change these defines or is there any other file or location where I should do my secondary BSL invoke configurations?
And on the other side. Every time that I build my project the files "boot_config.c/.h" get re-generated in "Debug"-Folder and all my changes are lost.
How can I prevent this from happening?
Thanks a lot in advance!
Matze










