Post Go back to editing

CN0565 firmware installation error

Thread Summary

The user is experiencing issues programming the CN0565 firmware on the ADICUP3029 board, encountering a 'FAIL.txt' indicating the interface firmware failed to reset/halt the target MCU. The target MCU is not detected over SWD, and the issue persists across multiple operating systems and USB cables. The final response suggests testing with a different ADICUP3029 board to isolate a potential hardware fault.
AI Generated Content
Category: Hardware
Product Number: 20260

Description: Hello, I am working with the CN0565 platform along with the ADICUP3029 board. I am facing an issue while trying to program the CN0565 firmware: When I copy the provided HEX file to the DAPLINK drive, a FAIL.TXT file is generated. The content indicates that the interface firmware failed to reset/halt the target MCU. Using pyOCD (pyocd list), the probe is detected but the target shows as "n/a". Using libiio (iio_info), only the local backend is visible and no USB/IIO device corresponding to CN0565 appears. Steps already attempted: Rebuilt and installed latest libiio from source Tried flashing firmware multiple times (including reset during drag-and-drop) Verified USB connection and cable Tested on Linux environment (Ubuntu 24.04) Current behavior: DAPLink drive mounts correctly Firmware flashing fails consistently with FAIL.TXT Target MCU is not detected over SWD Could you please help identify: Whether this indicates a firmware issue or a connection/power configuration issue Any required jumper/switch settings for proper operation Recommended recovery steps for the ADICUP3029 in this condition Any guidance or known issues related to CN0565 initial setup would be helpful. Thank you.

Parents Reply Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.