Run automatically a code of MCU when i connected to a battery only.
Hello, hope you are all well!
I am new in this field. I am trying to do a project where I have to program a board.
The board contains the following: a) a STM32L4 module and b) an external chip.
The board that I am using for debugging is a Discovery board and it works as it is supposed to.
When I have to disconnect the board from my laptop and connect it with a powerbank (battery) the code doesn't start automatically.
Has anyone experienced something similar in the past, or knows how to trigger the code when I turn the board on?
Thank you for your time.
