STM32CubeProgrammer软件烧录程序失败
如图所示连接成功。点击start programming就会下载失败
附错误日志文件
15:05:17 :
15:05:17 : Memory Programming ...
15:05:17 : Opening and parsing file: C:\Users\yuxingxing\Desktop\MB-H81 V0.9.4_CMNBIOT.bin
15:05:17 : File : C:\Users\yuxingxing\Desktop\MB-H81 V0.9.4_CMNBIOT.bin
15:05:17 : Size : 55042 Bytes
15:05:17 : Address : 0x08000000
15:05:17 :
15:05:17 : Erasing memory corresponding to segment 0:
15:05:17 : Erasing internal memory sectors
15:05:19 : Download in Progress:
15:05:19 : Response received from device: NACK
15:05:19 :
15:05:19 : Error: Write Command not acknowledged at address 0x8000000
15:05:19 :
15:05:19 : Error: failed to download Segment
15:05:19 : Error: failed to download the File
15:05:19 : Time elapsed during download operation: 00:00:02.021
15:05:19 : Response received from device: NACK
15:05:19 : Error: GETID command not acknowledged!
15:05:19 : Reemission of GetID command
15:05:19 : Response received from device: NACK
15:05:19 : Error: GETID command not acknowledged!
15:05:19 : Reemission of GetID command
15:05:19 : Response received from device: NACK
15:05:19 : Error: GETID command not acknowledged!
15:05:19 : Response received from device: NACK
15:05:19 : Error: GETID command not acknowledged!
15:05:19 : Reemission of GetID command
15:05:19 : Response received from device: NACK
15:05:19 : Error: GETID command not acknowledged!
15:05:19 : Reemission of GetID command
15:05:19 : Response received from device: NACK
15:05:19 : Error: GETID command not acknowledged!
15:05:19 : Warning: Connection to device 0x447 is lost求大神
本帖最后由 toofree 于 2019-1-16 15:57 编辑
你是用ST-Link仿真器吗?是的话,选择SWD方式烧程序。
如果用的是串口烧程序,那么在点连接之前,需要快速手动复位MCU。
toofree 发表于 2019-1-16 15:54
你是用ST-Link仿真器吗?是的话,选择SWD方式烧程序。
如果用的是串口烧程序,那么在点连接之前,需要快速 ...
串口 UART yu753526303 发表于 2019-1-16 15:59
串口 UART
板要上电;
串口收发线不要接错,RXD、TXD、GND三条线。
MCU的TXD接到上位机串口的RXD;MCU的RXD接上位机串口的TXD。
软件中点连接之前,要复位MCU;或者按住复位,点连接,然后快速放开复位。 toofree 发表于 2019-1-16 16:03
板要上电;
串口收发线不要接错,RXD、TXD、GND三条线。
MCU的TXD接到上位机串口的RXD;MCU的RXD接上位机 ...
有上电 同样操作有一台电脑(win7 64位)可以正常下载; 两个电脑不能正常下载(win7 32位),仅可以连接 Boot0拉高,然后复位MCU 连接时parity必须要选择even或者odd,不能选择none,否则是连不上的 先试试读能不能成功。有条件的话看看OPTION byte 的值,是不是有了一些设置。
页:
[1]