win10 64bit系統下,安裝了iar for stm8
驱动显示也正常,如下:
cpu是stm8L151K3,3.3V供电,直接用stlink供电的,rst和swim都在3V左右。
最小系统图纸如下
用了2个st LINK V2,都不能正常下载。
一个是st原厂的,一个网上u盘样子的。
提示如下:
Fri Dec 29, 2017 19:34:33: IAR Embedded Workbench 3.10.1 (C:Program Files (x86)IAR SystemsEmbedded Workbench 8.0stm8instm8proc.dll)
Fri Dec 29, 2017 19:34:33: C-SPY Processor Descriptor V3.10.1.201 for STM8
Fri Dec 29, 2017 19:34:33: C-SPY Debugger Driver, ST-LINK V3.10.1.201 for STM8
Fri Dec 29, 2017 19:34:33: Failed to set configuration with MCU name STM8L151K3: SWIM error [30006]: Comm init error: chip does not answer
Fri Dec 29, 2017 19:34:33: IAR Embedded Workbench 3.10.1 (C:Program Files (x86)IAR SystemsEmbedded Workbench 8.0stm8instm8proc.dll)
各种方案都试了,swim和rst也没有接反。
测试了2块板子,都不行。
搞了1天了,那位老大知道原因,给点提示。
补焊了板子,原故障解决了。
又出现了新的错误。
Tue Jan 02, 2018 17:15:02: Connected to STM8 SWIM Debugging system, STM8-SWIM 1.6.12, GDI Version 1.2.6
Tue Jan 02, 2018 17:15:03: Failed to write chunk with size 128 at address 0x8000: gdi-error [40121]: Verification of flash memory failed after write operation
Tue Jan 02, 2018 17:15:03: Failed to write chunk with size 293 at address 0x8080: gdi-error [40121]: Verification of flash memory failed after write operation
一周热门 更多>