• AVR Freaks

Helpful ReplyHot!java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED

Author
Sergei.Semenov
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2020/02/14 01:12:46
  • Location: 0
  • Status: offline
2020/03/11 07:59:00 (permalink)
5 (1)

java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED

Hello, 
 
MPLAB debugger suddenly stopped working today. I use SAM L10 Xplained Pro.
When I try to start debugging I see the following output in EDBG screen

Currently loaded versions:
Application version...........3.37.438 (0x03.0x25.0x01b6)
Tool pack version .............1.0.31
Target voltage detected
Erasing...
java.lang.RuntimeException: java.lang.RuntimeException: RDDI_DAP_OPERATION_FAILED

 
I reinstalled MPlab, packs, but it didn't help.
 
PS Simulator works well
 
Any suggestions?
#1
arpananand
Super Member
  • Total Posts : 499
  • Reward points : 0
  • Joined: 2009/11/18 04:35:42
  • Location: 0
  • Status: offline
Re: java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED 2020/04/22 12:57:36 (permalink)
-1 (1)
Hi,
did you get some fix for the issue you have mentioned?
#2
Sergei.Semenov
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2020/02/14 01:12:46
  • Location: 0
  • Status: offline
Re: java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED 2020/04/22 23:01:22 (permalink)
+1 (1)
Hello, 
 
Sorry, but I cannot describe any certain steps, that helped me to resolve that. Somehow after few days it started to work again
 
With Best Regards,
Sergei
 
 
#3
RikusW
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2020/05/29 05:47:43
  • Location: 0
  • Status: offline
Re: java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED 2020/06/01 00:41:40 (permalink) ☄ Helpfulby Tom Crosley 2020/06/19 22:35:24
0 (2)
I found the interface was set to JTAG and changed it back to SWD at 2MHz and it works again.
#4
JoostThijssen
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2020/09/28 00:35:19
  • Location: 0
  • Status: offline
Re: java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED 2020/09/29 23:50:58 (permalink)
+2 (2)
I think I figured this one out.
 
In my case it seemed that the 'java.lang.RuntimeException RDDI_DAP_OPERATION_FAILED' was related to my code reprogramming the PMUX of the SWD pins. When using the Atmel-ICE with MPLAB-X it does not drive the Reset line of the chip (not required as long as the PMUX settings are not changed).
 
As far as I can tell it is not possible to enable this in MPLAB, so I solved the problem by installing Atmel Studio and using the Tools -> Device Programming option to do a full Chip erase. As this programmer DOES drive the Reset pin it is able to perform 'cold-plugging' (See your chip's datasheet) making it possible to escape from the disabled SWD.
 
Hope this one will help you guys too :)
#5
Jump to:
© 2021 APG vNext Commercial Version 4.5