Using JFlash V7.88c via JTrace pro to attempt to connect to a Nuvoton M2354, getting
Application log started
- J-Flash V7.88c (J-Flash compiled May 16 2023 15:44:36)
- JLinkARM.dll V7.88c (DLL compiled May 16 2023 15:43:58)
Reading flash device list [C:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ...
- List of flash devices read successfully (451 Devices)
Reading MCU device list ...
- List of MCU devices read successfully (10343 Devices)
Opening project file [C:\Users\xxxxx\Nuvoton 2354.jflash] ...
- Project opened successfully
No data file specified!
Failed to open data file [C:\Users\xxxx\]...
Connecting ...
- Connecting via USB to probe/ programmer device 0
- Probe/ Programmer firmware: J-Trace PRO V2 Cortex-M compiled May 16 2023 10:45:39
- Probe/ Programmer S/N: 752002064
- Device "M2354KJFAE" selected.
- Target interface speed: 1000 kHz (Fixed)
- VTarget = 2.720V
- Found SW-DP with ID 0x0BF11477
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Attach to CPU failed. Executing connect under reset.
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Could not find core in Coresight setup
- Found SW-DP with ID 0x0BF11477
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Attach to CPU failed. Executing connect under reset.
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Could not find core in Coresight setup
- ERROR: Failed to connect.
Could not establish a connection to target.
Thoughts? I had similar results at a 1KHz rate... It seems to be able to identify the chip ID so I believe we have the connection to the J-trace wired properly, at least as far as ground. power and SWDIO and SWCLK.
Note that the USB LED on the J-Trace was orange.
I am able to program the device with a Nuvoton debugger and we have populated the board with different headers to account for the pinout diferences between the Nuvoton and J-Link/Trace interfaces.
Application log started
- J-Flash V7.88c (J-Flash compiled May 16 2023 15:44:36)
- JLinkARM.dll V7.88c (DLL compiled May 16 2023 15:43:58)
Reading flash device list [C:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ...
- List of flash devices read successfully (451 Devices)
Reading MCU device list ...
- List of MCU devices read successfully (10343 Devices)
Opening project file [C:\Users\xxxxx\Nuvoton 2354.jflash] ...
- Project opened successfully
No data file specified!
Failed to open data file [C:\Users\xxxx\]...
Connecting ...
- Connecting via USB to probe/ programmer device 0
- Probe/ Programmer firmware: J-Trace PRO V2 Cortex-M compiled May 16 2023 10:45:39
- Probe/ Programmer S/N: 752002064
- Device "M2354KJFAE" selected.
- Target interface speed: 1000 kHz (Fixed)
- VTarget = 2.720V
- Found SW-DP with ID 0x0BF11477
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Attach to CPU failed. Executing connect under reset.
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Could not find core in Coresight setup
- Found SW-DP with ID 0x0BF11477
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Attach to CPU failed. Executing connect under reset.
- DPIDR: 0x0BF11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[0]: Stopped AP scan as end of AP map seems to be reached
- Iterating through AP map to find AHB-AP to use
- Could not find core in Coresight setup
- ERROR: Failed to connect.
Could not establish a connection to target.
Thoughts? I had similar results at a 1KHz rate... It seems to be able to identify the chip ID so I believe we have the connection to the J-trace wired properly, at least as far as ground. power and SWDIO and SWCLK.
Note that the USB LED on the J-Trace was orange.
I am able to program the device with a Nuvoton debugger and we have populated the board with different headers to account for the pinout diferences between the Nuvoton and J-Link/Trace interfaces.
The post was edited 3 times, last by Cws ().