本帖最后由 lugbomb 于 2024-6-14 10:48 编辑
在立创商城买的LKS_EVB_MCU074DO_V2.0开发板,在KEIL 5内无法使用J-LINK进行烧录调试。
1. 安装官网下载的Linko.LKS07x.1.1.2.pack
2. 在底板接入24v电源后,用J-link连接mcu板的swd接口。KEIl 5内无SWD接口信息。
3. MCU板脱离底板,用J-link连接mcu板的swd接口,在左侧插排端的5V、GND接口上接入5V电源。KEIl 5内无SWD接口信息。
4. MCU板脱离底板,用J-link连接mcu板的swd接口并在SWD接口的5V、GND接口上并入5V电源。KEIl 5内右SWD接口信息。尝试下载,尝试步骤如下:
A.使用官网下载的例程lks32mc07x_demo_prj,修改工程的device信息到LKS32MC074DOF8Q8。
B.修改烧录设置为LKS32MC07X 64kB Flash。
C.尝试下载,但KEIL5提示下载失败:
* JLink Info: Failed to attach to CPU. Trying connect under reset.
* JLink Info: Found SW-DP with ID 0x0BB11477
* JLink Info: DPIDR: 0x0BB11477
* JLink Info: CoreSight SoC-400 or earlier
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[0]: Stopped AP scan as end of AP map seems to be reached
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: Attach to CPU failed. Executing connect under reset.
* JLink Info: Failed to power up DAP
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 10:36:33
5. 用万用表测量MCU板的SWD接口的5V与左侧插排的5V,未连通。
mcu板:LKS_EVB_MCU074DO_V2.0
底板:LKS_EVB_MVPOW_V4.0_20210906
已经检查过接线,无接线问题。其他设备可正常调试。请问是什么原因导致我无法烧录的,有社么需要配置的吗?
|