用
STM32CubeF1, 生成的MDK-
ARM工程, 编译的时候发现有错误:
..DriversSTM32F1xx_HAL_DriverSrcstm32f1xx_hal_pwr.c(138): error: #1113: Inline assembler not permitted when genera
ting Thumb code
我用的是MDK4.23,升级到4.72后编译没有错误,但第一次调试下载后,很快就显示无调试器,也就是说升级后把调试器搞得不能用了,用了2个STlinkV2都是这样被搞坏了,卸载4.72重新用MDK4.23后仍然显示无调试器,有遇到这种情况的吗?
******** xxx ********
******************* GDI DUMP => Date : Thu Oct 01 09:52:18 2015
STLinkUSBDriver.dll loaded
ST-Link/V2 device detected
Target voltage detected: 3.233268
Error getting target IDCODE: if SWD, check SWD connection
Error (4) while initializing ST-Link in SWD mode
Error (0x16) after target cmd F2 39 00 00 00 00 00 00 00 00
Error (0x16) after target cmd F2 35 F0 ED 00 E0 00 00 5F A0
**** End of GDI DUMP ****
一周热门 更多>