Not a genuine st device abort connection keil ошибка

Not a genuine ST Device! Abort connection

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже.

Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

I am using ST-link V2 for programming/ debugging my STM32F103C8t MCU using Keil.

So the problem is that when I try to program the STM32 controller it shows a popup error Not a genuine ST Device! Abort connection

And Keil is not programming the controller. So I have tried different software.

STM32 Cube programmer is detecting my controller successfully with the same ST-link and also have successfully uploaded the compiled hex file from the Keil using STM32 cube programmer and it’s working.
Also, I have tried it with ST-Link utility and it also detects successfully and also uploaded the program perfectly. So I think my ST-link V2 and controller are working fine.

But there is some setting I am missing in Keil so after a lot of searching in different forms I have tried the following things that did not help.

  1. Have changed debug setting for connect with pre reset option.

  2. Have tried different frequencies and right now I am low to 10Mhz.

Adding my Keil debugger setting snap if help to figure out what’s going on. I am able to program my controller with different software but not with Keil. Any help will be appreciable as it’s making me mad each time compiling code in Keil and for testing going to different software for uploading and the main thing I have to trick the Keil for false uploading to get inside debugging mode.

Thank you in advance for your help.

enter image description here

In other words, the chip of ST company is detected and the connection fails, but it does burn the program for you (although it seems that you need to restart manually), so you can ignore this problem, but this error is a little annoying. Refer to the following steps to remove it.

environment

The model of single chip microcomputer is ch32f103c8t6 (not official)
ide: keil 5.35

Solution:

The installation path to the relevant pack, such as

E:foldarm packKeilSTM32F1xx_DFP2.3.0

Open keil.stm32f1xx_Dfp.pdsc, open with Notepad, can be backed up first
Ctrl + F search not a genius
in the block block, add// comments before the two related sentences.

Similar Posts:


Go to embedded


r/embedded

This sub is dedicated to discussion and questions about embedded systems: «a controller programmed and controlled by a real-time operating system (RTOS) with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints.»




Members





Online



Hey guys,

I bought STM32F103C8T6 «blue pill» board and ST-link v2 programmer, then installed Keil uVision 5. An error came by. First, it tells me that my firmware is old. I installed st link utility and updated the firmware. Then i wanted again to update the program and it said again that my firmware is old. I declined the update and it the next window popped saying Not a genuine st device. abort the connection. Does any1 have an idea how to fix this, and is there any other way to upload hex file from Keil to the blue pill without st link ( maybe FTDI or something ).

Tnx again.

Коллеги, доброго времени суток! Столкнулся со следующей проблемой: при попытке заливки прошивки в отладочную плату «BluePill» (на бору STM32 F103C8T6) получаю ошибку «Error: Not a genuine ST Device! Abort connection» (keil).

Общий алгоритм действий был примерно такой:

  1. Взял первую BluePill, попробовал залить прошивку — не заливается. Зашел в ST-Link Utility, сделал сброс и на всякий случай сделал полную очиску чипа. Проверяю: подключение/отключение — ОК. С некоторой вероятностью, после этого, прошивка может заливаться 1-2 раза, потом снова та же ошибка
  2. Взял другой программатор (такой же, китайский клон StLink v2), эффект — полностью аналогичный
  3. Решил что проблема с платой, взял другую BluePill — ровно то же самое, распаковал (достал из пакета) 3-ю аналогичную плату — то же самое, смена программаторов тоже особых успехов не принесла

Где-то на просторах сети нашел информацию о том, что данная проблема с большей вероятностью связана с тем, что программа прошивки не может получить доступ к памяти чипа. Что с этой информацией мне делать дальше — не понимаю.

Подскажите пожалуйста, возможно кто-то сталкивался уже с подобным, какие есть способы решения подобных проблем или хотя бы в какую сторону копать? Спасибо!

Возможно, вам также будет интересно:

  • Norton autofix пишет ошибка 8504 104
  • Northgard uncaught exception ошибка
  • North and south pirates ошибка
  • Normaliz dll ошибка apex
  • Normal mode ford focus 3 ошибка при запуске

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии