2017-07-04 12:00 PM
Dear all,
We have been developing a custom board featuring STM32F746ZGT6, and we have encountered some problems.
We are able to program the MCU using the ST-link with no problems, however, the MCU does not do anything! The PCB design was exactly based on the NUCLEO-STM32F746ZG board. We could not spot any differences between the NUCLEO board and our custom designed board (for the essential MCU components).
At first, we thought that it was a software problem so we tried the same software with the NUCLEO board and it worked fine. All the clock sources etc. are identical in both the NUCLEO and our custom board. Therefore we suspect that there is a problem with the hardware. It could perhaps be due to EMI?
We have double checked all the connections and soldering.
We are in a desperate situation. Do you have any ideas what could be the source of such a problem?
All help would be appreciated. Please let me know if you need any more information.
All the best,
Mehmet Deniz Aksulu
#stm32f7 #no-response-from-the-target #custom-board2017-07-04 12:25 PM
Is your crystal ringing?
2017-07-04 02:28 PM
No. There is only a slight voltage offset. I can send you the oscilloscope images tomorrow.
We soldered the same crystal and capacitors to the NUCLEO board and uploaded the same software. The oscillator is ringing there...
2017-07-04 02:35 PM
Don't bother. What you want to do is start a project in CubeMX that does very little. Set up the clock chain the way you would expect, but turn on MCO1 and MCO2 to show you what the various clocks are doing.
Try using the internal high speed clock and make sure you can see something correctly on pins 99 and 100. If that works, flip over to your external crystal.
Unless you can get your clock stable, you're going nowhere.
Andrei
2017-07-04 02:36 PM
Also, a slight voltage offset sounds like your board needs cleaning. Pour on some isopropanol and scrub it with a toothbrush.
Andrei
2017-07-04 02:38 PM
Will do! I will try that tomorrow and will keep this post updated.
Thanks a lot for your response.
2017-07-04 02:38 PM
OK
2017-07-05 07:15 AM
Dear Andrei,
I have created a CubeMX project with only the internal oscillator.
The code works fine on the NUCLEO board. I can see the clock signal from pins 99 and 100.
However, when I upload the same code on our custom board there is no signal. All pins are slightly above ground level.
What do you think could be the problem? It is for sure due to hardware.
All the best,
Mehmet Deniz Aksulu
2017-07-05 07:50 AM
But presumably you are successfully loading code via SWD, if you step into it with a debugger, what are you learning about the code execution, and if/where it might be stuck?
BOOTx pins?
Voltages at VCAP pins?
State of NRST?
2017-07-05 07:59 AM
We have not tried to debug the MCU yet. When I do I will inform you.
NRST is at 3.3 V (high).
The VCAP's are at about 1.35 V.
BOOT0 pin is pulled down to GND. There is no BOOT1 for STM32F746ZGT6.