Other Parts Discussed in Thread: SYSCONFIG, MSPM0L1306
Tool/software:
I have trouble entering BSL mode from software on the MSPM0L2228.
I call
DL_SYSCTL_resetDevice(DL_SYSCTL_RESET_BOOTLOADER_ENTRY);
The device always resets but then just reloads the application code.
The TRM mentions:
"BSL is started (if the device security policy has the BSL configured to be enabled)"
I'm not certain what that means, I looked for a BSL device security policy in sysconfig and did not find anything with that name. I have BSL enabled, but the Invoke Pin is disabled.
I am making a few changes in sysconfig to use different pins for the BSL. Here are the sysconfig lines generated by the GUI:
NONMAIN.nonmainWarning = true; NONMAIN.bslInvokePinCheck = false; NONMAIN.uartTXPin = "PA0"; NONMAIN.uartRXPin = "PA1"; NONMAIN.i2cSCLPin = "PB17"; NONMAIN.i2cSDAPin = "PB18";
I need the UART pins on PA0 and PA1, I reassigned the I2C pins to get them off of PA0 and PA1.
Anything else I can try to get it to enter BSL?
I am only trying to use the ROM BSL. I don't think I need any secondary BSL modifications.
When I clear the main flash and power cycle the device, I can see it enters BSL mode and I can execute BSL commands with a UART on PA0/PA1.
Thanks