2021-06-14 10:19 AM
I have soldered MCU chip to a PCB and programed it by ST-Link using STM IDE.
when I run MCU using ST-Link it is working fine. But When I use an external DC supply it's showing malfunction, (most of the time not working). I have connected the BOOT0 pin to Vss with 68 Ohm resistance and NRST pin with 0.1uf cap with Vss and one push button parallel with it for reset.
pls, help to solve the problem
2021-06-14 10:39 AM
Run the code, then attach a debugger and figure out where in the code it's stuck. Most likely it's running your code and getting stuck somewhere, perhaps due to power being slow to come up or other chips not being ready by the time you need them.