stm32复位电阻设置过小导致的各类症状

STM32F103T8U6,焊接时误将复位电容的上拉电阻焊成10欧,出现症状有:


烧写一次程序后,程序无法运行,无法第二次烧写程序。烧写到最后,会报错:Error: Flash Download failed - "cortex-M3"

但是此时jtag仍然能够连上芯片。


将烧写设置改为erase full chip,烧写到错后,报错显示:

Contents mismatch at: 08000000H (Flash=FFH Required=00H) !
Contents mismatch at: 08000001H (Flash=FFH Required=04H) !
Contents mismatch at: 08000002H (Flash=FFH Required=00H) !
Contents mismatch at: 08000003H (Flash=FFH Required=20H) !
Contents mismatch at: 08000004H (Flash=FFH Required=43H) !
Contents mismatch at: 08000005H (Flash=FFH Required=55H) !
Contents mismatch at: 08000006H (Flash=FFH Required=00H) !
Contents mismatch at: 08000007H (Flash=FFH Required=08H) !
Contents mismatch at: 08000008H (Flash=FFH Required=BDH) !
Contents mismatch at: 08000009H (Flash=FFH Required=14H) !


使用jlink自带的jFlash烧写,会出现报错:

Programming failed @ address 0x08000000 (program error)


将电阻更正后,报错消失。


你可能感兴趣的:(硬件调试)