2398068_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2398068_en-US

2398068_en-US

KW45B41Z EVK not programming over on board Debugger MCU Link.

Hi,

I am trying to program the KW45B41Z-EVK using the kw45b41zevk_hello_world SDK example code. When I start debugging, the onboard debugger gets detected, but then I get the following error:

0 Available SWD Devices detected.
Connect a device and try again.

I have connected the USB cable to J14 and left JP22 open (to program using the onboard debugger itself). Also, JP28 pins 1 and 2 are shorted, as mentioned in the KW45UM. However, even after that, I am unable to program and debug the example.

I have also tried the kw45b41zevk_led_blinky SDK example, but it behaves in the same way.

I also tried using an external debugger to debug the board by shorting JP22, as mentioned in the KW45UM, but I am getting the same issue.

I have attached a screenshot of the issue I am facing.

I also tried to erase the flash and write the image using the Secure Provisioning Tool. First, I entered ISP mode by shorting JP25 to enable SW4, then long-pressed SW4 and Reset (SW3). Once the Test Connection passed, I erased the flash (location 0x00000000, size 0x100000) successfully. Then I used the following image:

${SPT_INSTALL_BIN}\data\sample_data\targets\KW45B41Z8\source_images\kw45b41zevk_led_blinky.s19

I was able to build and program the image successfully, and the intended RGB LED1 is also blinking indicating that KW45B41Z microcontroller is working fine. However, even after this, I am still unable to program or debug the board.

Re: KW45B41Z EVK not programming over on board Debugger MCU Link.

Hi, @kaif1 

Which IDE are you using? 

MCUXpresso IDE or MCUXpresso for VS Code?

Let me have a try on my side, then let you know the default jumper settings.


Best regards,

Christine.

Re: KW45B41Z EVK not programming over on board Debugger MCU Link.

Hi, @kaif1 

Please refer to my jumper settings, and I verified on my local side, I can flash hello_world example into the board successfully.

And I am using MCUXpresso IDE with SDK 25.12.00.

Please have a try with my jumper settings and then let me know whether it works for you .


Best regards,

Christine.

Re: KW45B41Z EVK not programming over on board Debugger MCU Link.

Since the Secure Provisioning Tool can successfully flash and run code on the chip, the physical hardware is completely fine, meaning the "0 SWD Devices detected" error stems from a communication mismatch between your IDE's debug probe server and the onboard MCU-Link firmware. This is usually resolved by updating the MCU-Link firmware to the latest version compatible with your IDE, or by manually holding down the reset button during the connection sequence to prevent a low-power application state from locking out the debug interface.

标记 (1)
无评分
版本历史
最后更新:
星期四
更新人: