如图所示连接成功。点击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 [0 430] 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[0] 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求大神 |
你是用ST-Link仿真器吗?是的话,选择SWD方式烧程序。
如果用的是串口烧程序,那么在点连接之前,需要快速手动复位MCU。
评分
查看全部评分
串口 UART
板要上电;
串口收发线不要接错,RXD、TXD、GND三条线。
MCU的TXD接到上位机串口的RXD;MCU的RXD接上位机串口的TXD。
软件中点连接之前,要复位MCU;或者按住复位,点连接,然后快速放开复位。
有上电 同样操作有一台电脑(win7 64位)可以正常下载; 两个电脑不能正常下载(win7 32位),仅可以连接
评分
查看全部评分