此问题以解决!谢谢各位网友!
问题如题,但也许不是锁死问题。下边一一道来:
自焊一块LPC845芯片的板子——申请了4片,自焊1片,送本站网友“厚德载物”1片+4片PCB,学生1片,余1片计划焊在新PCB板子上。
采用Keil v5.23版,工程文件是:LPC84x-LPCXpresso。进展还算顺利,点亮LED后驱显LCD正常,但刷屏速率较慢,想增加 SystemCoreClock尝试,改动一句:
#if (CLOCK_SETUP_REG == 1) /* Clock Setup via Register */
#if ((MAINCLKPLLSEL_Val & 0x01) == 0) /*==0 Main Clock is main_clk_pre_dll */
为#if (CLOCK_SETUP_REG != 1) /* Clock Setup via Register */
结果下载后板子就LED和LCD都不动了——宕机了!
经测量,按Reset后,所有IO引脚为高电平,外接晶振两脚也为高电平——就像锁死了一样。
JLink无法识别芯片,见截图,文字报错为:
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: Could not power-up debug power domain.
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[0]: Stopped AP scan as end of AP map has been reached
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: Could not power-up debug power domain.
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[0]: Stopped AP scan as end of AP map has been reached
* JLink Info: Iterating through AP map to find AHB-AP to use ***JLink Error: Could not find core in Coresight setup
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 16:38:38
也是因为无法找到核而中断。
恳请帮忙提出解决方案和思路,自然有金币打赏,并且也会将解决方法公之网上,先谢谢了!