2022-04-26 03:45 PM
Hello,
I use an STM32F767 microprocessor on a custom PCB and test it with power off and on conditions. After uploading the codes, I powered off and on the system. Then, the system works only while the ST link adapter is connected. Do you have any suggestions without using the ST link adapter?
Thank you,
2022-04-26 05:51 PM
Start it without the debugger attached, then attach the debugger and connect with resetting and find out where the code is. Verify NRST is high and the chip has power. We don't know what "works" means.
If it has power, it's running code somewhere. Either instrument the code or use the debugger to find out where it's stopping.
2022-04-27 08:25 AM
@TDK
Thank you for your comments! First of all, I want to share the NRST connection on my design. Based on the current connections, I uploaded the code by pressing the 'Run' button on the CubeIDE. After uploading the codes, I removed the ST link adapter and powered off the system. I removed the 0 ohm resistor, then I connected the NRST pin of the processor to the 3.3V. After that I powered on the system, and the system worked. Looks like that the problem was solved! Do you think is there any strange things that I did? An everything should be like that what I did so far?
2022-04-27 08:38 AM
2022-04-27 08:53 AM
@TDK So what should be the ideal connection for the NRST? Such as connecting it to the GND through a 0.1 uF capacitor?
2022-04-27 10:10 AM
It was solved by connecting 0.1 uF connected to the NRST pin. Thank you! @TDK
2022-04-27 12:11 PM
BOOT0 pulled to ground?
2022-04-27 12:17 PM
Yes, through a 10kOhm resistor.