Has anyone tried to use ICE in the Arduino IDE?
The ICE does NOT show up as a comm port, but the ICE IS in the programmer list as if it is supported.
What am I missing?
I am just trying to burn a bootloader into a SAMD21.
Thanks,
Jim
Has anyone tried to use ICE in the Arduino IDE?
The ICE does NOT show up as a comm port, but the ICE IS in the programmer list as if it is supported.
What am I missing?
I am just trying to burn a bootloader into a SAMD21.
Thanks,
Jim
jelanier:
Has anyone tried to use ICE in the Arduino IDE?The ICE does NOT show up as a comm port, but the ICE IS in the programmer list as if it is supported.
What am I missing?
I am just trying to burn a bootloader into a SAMD21.
Thanks,
Jim
I think I’ve used it and you have to Upload using programmer" but it was a while back so I’m not sure. I think I had to manually update the Arduino setup file to get it to work. However, why don’t you just use the Atmel Studio software with the ICE? It’s much simpler that way.
Thanks for the reply. Yes, I know how to do that in Atmel Studio. I just wanted to include it in the arduino ide (since it is in the programmer list)
Jim
Here’s my config in programmers.txt:
jtag2isp.name=JTAGICE MkII ISP
jtag2isp.communication=usb
jtag2isp.protocol=jtag2isp
jtag2isp.program.tool=avrdude
jtag2isp.program.protocol=stk500v2
jtag2isp.speed=115200
jtag2isp.program.extra_params=-Pusb
Thanks. My file looks like this:
atmel_ice.name=Atmel-ICE
atmel_ice.communication=USB
atmel_ice.protocol=
atmel_ice.program.protocol=
atmel_ice.program.tool=openocd
atmel_ice.program.extra_params=
sam_ice.name=Atmel SAM-ICE
sam_ice.communication=USB
sam_ice.protocol=
sam_ice.program.protocol=
sam_ice.program.tool=openocd
sam_ice.program.extra_params=
I also found it at github:
https://github.com/arduino/ArduinoCore- … ammers.txt
I’m not sure what it takes to make it work. It works fine in Atmel Studio, so I know the device drivers are OK.
Jim
Do you have openocd installed?
yes
Openocd is installed when you add SAMD boards from board manager in the Arduino IDE.
It places it in:
C:\Users\UserName\AppData\Local\Arduino15\packages\arduino\tools\openocd
I don’t know why it doesn’t work
Jim