Closed kristianlm closed 2 years ago
The debugger FW looks ancient (1.0.33, if that is accurate) - you should definitely upgrade using Studio/MPLAB. Also:
Thanks for your feedback, xedbg. I'm able to get the target voltage:
klm@pisa ~> pymcuprog getvoltage
Connecting to anything possible
Connected to Atmel-ICE CMSIS-DAP from ATMEL (serial number J427000*****)
Debugger firmware version 1.0.33
Debugger hardware revision 0
Measured voltage: 3.34V
So maybe python 3.9.6 is ok. I tried to hook up UPDI on my oscilloscope, but nothing is happening.
I think I will try to upgrade the Atmel-ICE FW first. It is a bit strange though, as I bought the device not long ago. How old is "ancient"?
Well, most tools ship with "old" firmware, and the IDEs update on first use. These devices are quite new, and thus need new firmware.
Ah, yes that makes sense. I've tried installing MPLAB_X_IDE_v5.50
, but I'm unable to find any firmware updating options from the menus. Is it possible to update the firmward using pymcuprog
?
Success! I tried to create an empty project and with that, MPLAB went ahead and updated my Atmel-ICE. It's now at 1.41.137 and things seem promising. Coming from atmega328p, I'm very excited to go from 6 to 3 pins for programming on my breadboards.
klm@pisa~ > pymcuprog -t atmelice -i updi -d avr128db28 ping
Connecting to any atmelice
Connected to Atmel-ICE CMSIS-DAP from ATMEL (serial number J427000*****)
Debugger firmware version 1.41.137
Debugger hardware revision 0
Pinging device...
Ping response: 1E970E
Done.
Thank you @xedbg for helping out!
Good to hear :)
Hi,
I'm trying to connect my Atmel-ICE to my new AVR128DB28 DIP chips on a breadboard. I've never used
pymcuprog
before, and I'm getting an error message that I don't know how to debug:I'm getting this error whether my target MCU has power or not, so I suspect it's a software problem on my host machine. Otherwise, I would have expected a "target doesn't have power" error. Is this a correct assumption? I don't want to debug my wiring before I know that's causing the problem here.
I'm using Arch Linux. I've ran everything as root to avoid usb-permission problems as shown above, but things are still not working.
Any help would be appreciated, Thank you