Custom board and ST-Link
Posted: Fri May 22, 2020 11:10 am
I have a custom board based on the STM32F767 to which I have ported micropython. I load my program using the ST-Link dongle, which I have working in both SWD and also JTAG modes.
My problem is that whenever I reset the board, if the ST-Link cable is not plugged in it will not start. Even the main.py program will not start. Simply plugging in the ST-Link will start the processor; it remains running when I unplug the ST-Link cable. I know this probably isn't necessarily a micropython problem but likely a configuration issue with the registers or some such, but I'm sure someone on the forum will have come across this and know the solution.
Obviously I'd like to get rid of the ST-Link cable and just have the uC start on powerup.
Any ideas?
My problem is that whenever I reset the board, if the ST-Link cable is not plugged in it will not start. Even the main.py program will not start. Simply plugging in the ST-Link will start the processor; it remains running when I unplug the ST-Link cable. I know this probably isn't necessarily a micropython problem but likely a configuration issue with the registers or some such, but I'm sure someone on the forum will have come across this and know the solution.
Obviously I'd like to get rid of the ST-Link cable and just have the uC start on powerup.
Any ideas?