从JLINK上面用杜邦线接出5根线1脚(VCC),7脚(SWDIO),9脚(SWCLK),15脚(RESET),外加一个GND;连接到目标板STM32F030F4上面,目前MDK上面能检测到设备,但是debug或者load的时候就出现问题,如下:
Target info:
------------
Device: STM32F030F4
VTarget = 3.254V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 0
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 1000 kHz
No Algorithm found for: 08004000H - 080066DBH
Partial Erase Done (areas with no algorithms skipped!)
No Algorithm found for: 08004000H - 080066DBH
Partial Programming Done (areas with no algorithms skipped!)
Contents mismatch at: 08004000H (Flash=FFH Required=88H) !
Contents mismatch at: 08004001H (Flash=FFH Required=47H) !
Contents mismatch at: 08004002H (Flash=FFH Required=05H) !
Contents mismatch at: 08004003H (Flash=FFH Required=00H) !
Contents mismatch at: 08004004H (Flash=FFH Required=1EH) !
Contents mismatch at: 08004005H (Flash=FFH Required=D0H) !
Contents mismatch at: 08004006H (Flash=FFH Required=28H) !
Contents mismatch at: 08004007H (Flash=FFH Required=46H) !
Contents mismatch at: 08004008H (Flash=FFH Required=41H) !
Contents mismatch at: 08004009H (Flash=FFH Required=38H) !
Contents mismatch at: 0800400AH (Flash=FFH Required=19H) !
Contents mismatch at: 0800400BH (Flash=FFH Required=28H) !
Contents mismatch at: 0800400CH (Flash=FFH Required=02H) !
Contents mismatch at: 0800400DH (Flash=FFH Required=D8H) !
Contents mismatch at: 0800400EH (Flash=FFH Required=01H) !
Contents mismatch at: 0800400FH (Flash=FFH Required=27H) !
Contents mismatch at: 08004011H (Flash=FFH Required=02H) !
Contents mismatch at: 08004012H (Flash=FFH Required=20H) !
Contents mismatch at: 08004013H (Flash=FFH Required=35H) !
Contents mismatch at: 08004014H (Flash=FFH Required=32H) !
Contents mismatch at: 08004015H (Flash=FFH Required=46H) !
Contents mismatch at: 08004016H (Flash=FFH Required=20H) !
Contents mismatch at: 08004017H (Flash=FFH Required=46H) !
Contents mismatch at: 08004018H (Flash=FFH Required=27H) !
Contents mismatch at: 08004019H (Flash=FFH Required=60H) !
Contents mismatch at: 0800401AH (Flash=FFH Required=29H) !
Contents mismatch at: 0800401BH (Flash=FFH Required=46H) !
Contents mismatch at: 0800401CH (Flash=FFH Required=FCH) !
Contents mismatch at: 0800401DH (Flash=FFH Required=F7H) !
Contents mismatch at: 0800401EH (Flash=FFH Required=8EH) !
Contents mismatch at: 0800401FH (Flash=FFH Required=F8H) !
Contents mismatch at: 08004020H (Flash=FFH Required=00H) !
Contents mismatch at: 08004021H (Flash=FFH Required=28H) !
Contents mismatch at: 08004022H (Flash=FFH Required=08H) !
Contents mismatch at: 08004023H (Flash=FFH Required=D0H) !
Contents mismatch at: 08004024H (Flash=FFH Required=01H) !
Contents mismatch at: 08004025H (Flash=FFH Required=28H) !
Contents mismatch at: 08004026H (Flash=FFH Required=04H) !
Contents mismatch at: 08004027H (Flash=FFH Required=D0H) !
Contents mismatch at: 08004028H (Flash=FFH Required=F6H) !
Contents mismatch at: 08004029H (Flash=FFH Required=1DH) !
Contents mismatch at: 0800402AH (Flash=FFH Required=F6H) !
Contents mismatch at: 0800402BH (Flash=FFH Required=08H) !
Contents mismatch at: 0800402CH (Flash=FFH Required=F6H) !
Contents mismatch at: 0800402DH (Flash=FFH Required=00H) !
Contents mismatch at: 0800402EH (Flash=FFH Required=08H) !
Contents mismatch at: 0800402FH (Flash=FFH Required=36H) !
Contents mismatch at: 08004030H (Flash=FFH Required=D9H) !
Contents mismatch at: 08004031H (Flash=FFH Required=E7H) !
Contents mismatch at: 08004032H (Flash=FFH Required=36H) !
Contents mismatch at: 08004033H (Flash=FFH Required=1DH) !
Contents mismatch at: 08004034H (Flash=FFH Required=D7H) !
Contents mismatch at: 08004035H (Flash=FFH Required=E7H) !
Contents mismatch at: 08004036H (Flash=FFH Required=62H) !
Contents mismatch at: 08004037H (Flash=FFH Required=68H) !
Contents mismatch at: 08004038H (Flash=FFH Required=28H) !
Contents mismatch at: 08004039H (Flash=FFH Required=46H) !
Contents mismatch at: 0800403AH (Flash=FFH Required=A1H) !
Contents mismatch at: 0800403BH (Flash=FFH Required=68H) !
Contents mismatch at: 0800403CH (Flash=FFH Required=90H) !
Contents mismatch at: 0800403DH (Flash=FFH Required=47H) !
Contents mismatch at: 0800403EH (Flash=FFH Required=20H) !
Contents mismatch at: 0800403FH (Flash=FFH Required=6AH) !
Contents mismatch at: 08004040H (Flash=FFH Required=40H) !
Contents mismatch at: 08004041H (Flash=FFH Required=1CH) !
Contents mismatch at: 08004042H (Flash=FFH Required=CFH) !
Contents mismatch at: 08004043H (Flash=FFH Required=E7H) !
Contents mismatch at: 08004044H (Flash=FFH Required=20H) !
Contents mismatch at: 08004045H (Flash=FFH Required=6AH) !
Contents mismatch at: 08004046H (Flash=FFH Required=F8H) !
Contents mismatch at: 08004047H (Flash=FFH Required=BDH) !
Contents mismatch at: 08004048H (Flash=FFH Required=F7H) !
Contents mismatch at: 08004049H (Flash=FFH Required=B5H) !
Contents mismatch at: 0800404AH (Flash=FFH Required=00H) !
Contents mismatch at: 0800404BH (Flash=FFH Required=25H) !
Contents mismatch at: 0800404CH (Flash=FFH Required=75H) !
Contents mismatch at: 0800404DH (Flash=FFH Required=29H) !
Contents mismatch at: 0800404EH (Flash=FFH Required=10H) !
Contents mismatch at: 0800404FH (Flash=FFH Required=68H) !
Contents mismatch at: 08004050H (Flash=FFH Required=00H) !
Contents mismatch at: 08004051H (Flash=FFH Required=99H) !
Contents mismatch at: 08004052H (Flash=FFH Required=14H) !
Contents mismatch at: 08004053H (Flash=FFH Required=A6H) !
Contents mismatch at: 08004054H (Flash=FFH Required=11H) !
Contents mismatch at: 08004055H (Flash=FFH Required=D0H) !
Contents mismatch at: 08004056H (Flash=FFH Required=C0H) !
Contents mismatch at: 08004057H (Flash=FFH Required=46H) !
Contents mismatch at: 08004058H (Flash=FFH Required=C0H) !
Contents mismatch at: 08004059H (Flash=FFH Required=46H) !
Contents mismatch at: 0800405AH (Flash=FFH Required=00H) !
Contents mismatch at: 0800405BH (Flash=FFH Required=28H) !
Contents mismatch at: 0800405CH (Flash=FFH Required=02H) !
Contents mismatch at: 0800405DH (Flash=FFH Required=DAH) !
Contents mismatch at: 0800405EH (Flash=FFH Required=40H) !
Contents mismatch at: 0800405FH (Flash=FFH Required=42H) !
Contents mismatch at: 08004060H (Flash=FFH Required=11H) !
Contents mismatch at: 08004061H (Flash=FFH Required=A6H) !
Contents mismatch at: 08004062H (Flash=FFH Required=08H) !
Contents mismatch at: 08004063H (Flash=FFH Required=E0H) !
Contents mismatch at: 08004064H (Flash=FFH Required=00H) !
Too many errors to display !
Error: Flash Download failed - "Cortex-M0"
Flash Load finished at 11:12:04
请教大神帮忙解惑!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
器件型号没错,芯片就是STM32F030F4,工程也是选的这个
一周热门 更多>