gd32f303烧录提示Flash Timeout. Reset the Target and try it again.;
出现这个原因,是因为我在代码中使用了:
ob_security_protection_config(FMC_USPC); // 开启保护
保护装置,导致烧录的时候出现
Flash Timeout. Reset the Target and try it again.;
Error: Flash Download failed - "Cortex-M4"
也就是芯片进入了读写保护,导致烧录不了。
下面是我使用到的一种解除方式。
使用J-LINK的JLinkSTM32
对应系列的芯片多试几次或者按顺序,然后再重新烧录就行了
