‎2022-06-22 07:44 AM
I have tested the microcontroller with different boards and all have the same problem.
I have noticed that the voltage across the NRST is 0V, which I think means that the microcontroller is damaged (There is no short circuit in the system).
I have connected the microcontroller to the PC through a serial wire debugger (using STLINK-V3MINI) and it says MC not found.
I have designed a custom board using STM32F4 before and I didn't have a problem before.
Do you have any tips to find the problem?
Thanks
Here is the Circuit design
‎2022-06-22 10:47 AM
also VDD_USB ?
EDIT
Oh - @Community member​ already said that
‎2022-06-22 11:12 AM
Walking the Net List is pretty high up on our checklist here, definitely looking for orphans or little disconnected islands.
Power nets particularly, as symbols and naming is frequently not consistent and the tools may be sensitive to case, spaces, underlines.
‎2022-06-22 04:00 PM
> Walking the Net List
​
I prefer beeping through the real circuit. Or both.
​
JW​
‎2022-06-22 07:51 PM
Well I'd rather do it before I get a box of PCB..​
‎2022-06-23 01:18 AM
"I prefer beeping through the real circuit"
but, if the schematic doesn't show a connection to bleep, you're not going to know to bleep it ... ?
I think that's the trouble with these so-called "schematics" which are just a load of isolated blocks and show no connections.
:pouting_face:
‎2022-06-23 01:31 AM
Yes, all grounds are properly connected
The target voltage is 0.00 V and sometimes it is 0.03 V
The error message is Error: ST-LINK error (DEV_TARGET_HELD_UNDER_RESET)
‎2022-06-23 01:35 AM
I have just connected the VDDA/VSSA as well as the VDD_USB
The error message now is Error: ST-LINK error (DEV_TARGET_HELD_UNDER_RESET)
‎2022-06-23 01:40 AM
@AHamz.2​ "The target voltage is 0.00 V and sometimes it is 0.03 V"
Well that's clearly wrong, then - isn't it?
The ST-Link should be seeing the supply voltage of the Target; if it's seeing 0V, then you clearly have either a wrong or faulty connection to the board, or a wrong or faulty connection to the VDD pin in the debug header. Or both.
EDIT
Oh, you don't have a Target voltage connection in your debug header.
That's wrong!
‎2022-06-23 01:41 AM
and is the ST-Link still reading the Target Voltage as zero?
See above:
‎2022-06-23 01:57 AM
you need the Target Voltage connection to the ST-Link
As for any other debug probe; eg,
see also: https://documentation-service.arm.com/static/5fce6c49e167456a35b36af1