I have PCB made for STM32F103C8F46 with the attached schematic. At first I use ST-LINKV2 debugger to connect to the target. It connects successfully and able to flash the code as well. and it works well. But after some-time (like 5-10minutes) of keeping poweredon, voltage at the NRST pin of micro gets pulled to low and some short amplitude random pulses are seen at pin if I put scope.
Once I see NRST getting pulled low, then no-matter what I do it doesnot go back to normal. I replaced controller on the PCB and tried . But same behaviour again, first it works properly and then NRST held low. I had another blank PCB where I only put controller+debug bergsticks and tried connecting. This time I didn't even flash my code, just kept it powered on . Same behaviour occurred.
so totally I wasted 5 controllers debigging this.
When irrecgular behaviour occurred, I tried to load bootloader of STM using Boot0 held high. It sometimes gets connected and sometimes doesnot. When gets connected, I am able to flash hex. But after resetting Boot0 to low and running program, it resets back again. Really can't say whats happening.
So conclusion is either my schematic or PCB hardware has some fault. So please go through my schematic and point out mistakes if any.
Once I see NRST getting pulled low, then no-matter what I do it doesnot go back to normal. I replaced controller on the PCB and tried . But same behaviour again, first it works properly and then NRST held low. I had another blank PCB where I only put controller+debug bergsticks and tried connecting. This time I didn't even flash my code, just kept it powered on . Same behaviour occurred.
so totally I wasted 5 controllers debigging this.
When irrecgular behaviour occurred, I tried to load bootloader of STM using Boot0 held high. It sometimes gets connected and sometimes doesnot. When gets connected, I am able to flash hex. But after resetting Boot0 to low and running program, it resets back again. Really can't say whats happening.
So conclusion is either my schematic or PCB hardware has some fault. So please go through my schematic and point out mistakes if any.
Attachments
-
82 KB Views: 14