2019-04-23 04:29 AM
Hello.
I want to write a program on M3 HiBot TITech Tiny Controller.
This board uses STM32F205 VCT7.
I connected ST-Link / v2 and the board by JTAG to write the program.
1 (JTAG on the board) → 1 (TVCC: ST-Link / v2)
3 → 5 (TDI)
4 → 7 (TMS)
5 → 9 (TCK)
6 → 13 (TDO)
7 → 15 (STM32 RESET)
8 → 18 (GND)
I performed "Target"-> "Connect" of ST-LINK Utility, but an error like an image occurred.
I tried looking for similar errors but it did not solve them.
Please give me a solution.
Solved! Go to Solution.
2019-04-24 07:00 AM
Are the power supply pins VDD, VDDA of MCU at 3.3v? Are there capacitors connected to VCAPx? Is VRef pin voltage connected to Vdd or Vdda (above 1.8v)?
2019-04-23 07:11 AM
Hi.
Try to decrease the JTAG frequency from Menu->Target->Settings or /and try to change the Reset Mode from HW to SW.
Check also at Menu-> Target->Option Bytes if Read Out Protection is enabled.
As third option, reconnect device with SWD port to STLink (SWCLK,SWDIO,GND).
if stlink insists to stop reading at 0x080002fc flash address, indicates a HW error.
2019-04-24 12:07 AM
Thank you for your reply.
I tried JTAG frequency with all patterns. (Reset mode tried with both HW and SW.)
However, the same error screen as the previous one has occurred in all the results.
[Option Byte] → [Read Out protection] was set to [Level 1].
I tried to change to [Level 0] but an error occurred. (I think that's because Connect has not been completed.)
It was possible to connect ST-Link and NUCLEO-F446RE with SWD.
So I connected the SWD port of M3 HiBot TITech Tiny Controller to ST-Link, but it was not recognized. (Nothing was displayed in [Settings] → [STM32 Target Information].)
1 (SWD on the board) → 1 (TVCC: ST-Link / v2)
2 → 7 (SWIO)
3 → 9 (SWCLK)
4 to 18 (GND)
In the case of JTAG, STM32F2xx was displayed in [Target] of [Settings] → [STM32 Target Information].
Sorry, do you know anything?
2019-04-24 02:25 AM
"So I connected the SWD port of M3 HiBot TITech Tiny Controller to ST-Link, but it was not recognized"
This not make sense, SWD should work except RDP is 2.
OK. Try not to read so much bytes but change it to eg 16 as below.
After change the RDP or just full erase chip.
2019-04-24 03:44 AM
Thank you, I tried.
However, when I try to change RDP, I get such an error.
I found a person in the same situation as me.
The same thing happens with this video in this article.
https://giphy.com/gifs/3ohzdRZHrSVNO1qgBa
Seeing the answers, I doubted that the pins were not well connected.
So I checked using a tester, but there was no problem.
During the check, there was a rare occasion when RDP could be changed. (When I turned off the board, I got the same error as the first one.)
Unfortunately, there is no repeatability.
2019-04-24 07:00 AM
Are the power supply pins VDD, VDDA of MCU at 3.3v? Are there capacitors connected to VCAPx? Is VRef pin voltage connected to Vdd or Vdda (above 1.8v)?
2019-04-26 03:26 AM
The voltage of each VDD and VDDA was measured by a tester.
The MCU is STM32F205 VCT7.
11, 19, 50 pins (VDD) → very small voltage (can not be measured)
Pin 22 (VDDA), Pin 28 (VDD) → 2.0 V
75, 100 pins (VDD) → 3.3 V
I consulted the company that made this board on this matter.
Thank you for your polite response. I am very grateful.
2021-05-14 12:44 AM
You mentioned that you then consulted the company that made the board, did you find out the cause?
I have exactly the same problem with the board I made (using STM32L476).
If anyone knows the result after that, I would appreciate your advice.