atprogram TypeError: unhashable type: 'list'

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi this is my first post to this forum, anyway

I'm trying to program an atxmega64a4u with an Atmel ICE 3 using a PDI interface. I have to program around 1000 boards so I would like to write a batch file to help me program them faster. I can program the bootloader using Atmel Studio 7.0 however when I am using atprogram.exe I get an ERROR...  The attached picture shows the input line and the error message.

Thanks for the help!

atprogram List Error

This topic has a solution.
Last Edited: Fri. Jul 7, 2017 - 02:53 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

First, you say you have an Atmel ICE 3. There is no such device in existence. It is either a JTAGICE3 or an Atmel ICE. If you have the latter, you need to change that in the commandline.

And then you write -d atxmega64a4u twice. Once should be plenty. I don't know if that could cause such an error, but it's worth a try.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks you were right. I got confused with the different devices that were available 

I ended up using the list command to get the name of the device and then implemented the following line

 

atprogram -d atxmega64a4u -t atmelice -s J41800042662 -i PDI program -f "C:\Users\moipi\Dropbox\Fable2.1\pcb\Firmware Fable\Joint_Bootloader_atxmega64a4u.hex"

 

and this seems to be working. :D

 

Thanks for the help!