This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
对于该芯片,我不小心将所有引脚都复用为普通的GPIO引脚,烧入一次后,再也芯片烧入不了怎么办?
也就是直接将TDI口复用为GPIO口了,有什么办法可以解决这个问题吗?
把boot模式调成wait boot
我将GPIO24和GPIO32都接地没有用
请看表格,Wait Boot mode是GPIO24为0,GPIO32为1吧?
代码中将TDI和TDO复用为GPIO,但是复用需要代码执行后才生效。所以需要使用wait boot,让boot卡在连接调试器那里,等待连接调试器,不让代码继续往下执行。
好的,其他模式不可吗?
这个没有那么绝对,因为关键因素是调试器与目标器件建立链接的时序。而wait boot mode保证了这个时序。