Hi all!
Is it possible to "add" the JTAGICE3 programmer to the list of programmers in the Arduino IDE?
Thanks in advance!
Regards,
Alex
Hi all!
Is it possible to "add" the JTAGICE3 programmer to the list of programmers in the Arduino IDE?
Thanks in advance!
Regards,
Alex
I think its still not possible with this programmer...?
Am i forced to buy the Atmel AVR ISP MKII?
massive-inno:
Am i forced to buy the Atmel AVR ISP MKII?
No.
There's lots of programmers to choose from.
Yes sure, but i wanted to upload sketches within the Arduino IDE via an alternative uploader - like the JTAGICE3 - but in the list of programmers there are not much available...
massive-inno:
Yes sure, but i wanted to upload sketches within the Arduino IDE via an alternative uploader - like the JTAGICE3
JTAG is a different sort of programmer. You need ISP.
massive-inno:
in the list of programmers there are not much available...
There's half a dozen as standard.
"USBtinyISP" is very common and easy to get: usbtinyisp for sale | eBay
So is "USBasp": usbasp for sale | eBay
(I prefer the six pin connector of the USBtinyISP - the USBasp needs an adapter to connect to Arduinos)
JTAGICE3 will do ISP uploads as well as JTAG. I'm pretty sure that recent versions of avrdude will support JTAGICE3, so it's just a matter of configuration/etc. You can probably do it by changing arduino/programmers.txt
But which protocol should i use in the programmers.txt for the JTAGICE3?
Others have 'stk500v1', 'stk500v2', 'usbtiny' and so on...
Thanks!
massive-inno:
But which protocol should i use in the programmers.txt for the JTAGICE3?
Have you typed "JTAGICE3 with arduino" into google?
Well i solved it by my own...
I choosed the latest Arduino IDE build (1.5.7), where the avrdude supports JTAGICE3 ISP.
In programmers.txt i added following lines:
jtagice3.name=JTAGICE3
jtagice3.communication=usb
jtagice3.protocol=jtag3isp
jtagice3.program.protocol=jtag3isp
jtagice3.program.tool=avrdude
jtagice3.program.extra_params=-Pusb -B22
Working like a charm with my Arduino Uno!
Regards,
Alex
Hi Alex, thanx for your programmers.txt lines. I've got the JTAGICE3 now under the programmers too...BUT
I am unfortunately still not able to program the ATMEGA328 using the JTAGICE3 ISP. I am using an external power supply on the Arduino board, on the ICE, the red and green led are on, but uploading doesn't work, because no serial port is not found. What can be wrong?
Thx
because no serial port is not found.
You used "upload using programmer", and not just the upload command, right?
jtagice3 doesn't use a serial port, thus the "jtagice3.program.extra_params=-Pusb -B22" part of the programmers.txt change...
Ok, thanks for the help but I am really stuck here.
I am working with atmel studio for the first time now and bought an ICE3 debugger to do prototyping faster than I am used to in the Arduino IDE. (and being able to use the lockbits)
After reading / viewing several instructions on the internet of how to configure atmel studio with visual micro for arduino on the web, it's still quite fuzy how to configure the atmel studio for directly programming the arduino UNO board (with ATMEGA328p) board using either the comport for 'normal' serial programming OR using my new ICE3 to go a step further and use debugWire.
I've now used this tutorial: http://www.engblaze.com/tutorial-using-atmel-studio-6-with-arduino-projects/
Is this a good tutorial for programming the UNO board with atmel studio?
The problem now is (without using the ICE3), it complains about : "cannot find cygwin1.dll". I've tried really a lot of things put none of this solves this issue. I think it is crucial in order to program anything, because now avrdude.exe cannot start at all.
I hope someone can help me a little bit, maybe give me the correct settings, help with the cygwin problem, or with a good tutorial.
Thanks!
Is this a good tutorial for programming the UNO board with atmel studio?
It seems to pre-date the "visual micro" extension. Did you want to use VM, or did you want to do your own raw install?
Since it seems to be "old", it may not be current with the post 1.0 Arduino Structure.
it's still quite fuzy how to configure the atmel studio for directly programming the arduino UNO board (with ATMEGA328p) board using either the comport for 'normal' serial programming OR using my new ICE3 to go a step further and use debugWire.
I haven't done full compile cycles under AS (just some debugging when I was really desperate!) I would think that "normal serial programming" MUST be done using avrdude as an "external tool", while the ICE3 needs set up as an internal debugger. It probably involves changing the "project configuration" relatively significantly. So you probably need to look up separate tutorials; one for the ICE3 setup, and one for using avrdude as the external programmer.
Ok, I also think I need to solve this problem step by step. So first I want to learn how to upload a sketch with AS. I have installed arduino 1.5.8 and AS v.6.2 with the latest visual micro extension.
But I think it should be possible to upload directly from AS to the UNO board right?
So after configurating AS and setting the external tool with searchpath AS keeps complaining about : "cannot find cygwin1.dll"...
Does anyone know what to do? I am using a fresh install of windows7 with all the updates available. Fresh install of the latest arduino and Atmel Studio 6.2.
There is some problem with my AVRDUDE
If I open AVRDUDE.exe under C:\Program Files (x86)\Arduino\hardware\tools\avr\bin
it gives the error: cannot find access point of procedure ctype_ptr in DLL file cygwin1.dll
This needs to be fixed...but how?
I recently posted this in a different thread, but seems relevant here also.
http://forum.arduino.cc/index.php?topic=118089.0
Apparently AVRdude doesn't like the Jungo drivers that come with AVR Studio.
Ian.
FYI if you do get a AVRISP MKII ~$35
I just posted this:
Driver installation for AVRISP MKII
Went to this web site: I Build Things @ Ryan Blace.com: AVRISP mkII & Arduino 1.0.5
Then went to this to this link: libusb-win32 - Browse /libusb-win32-releases at SourceForge.net
Them went to : libusb-win32 - Browse /libusb-win32-releases/1.2.6.0 at SourceForge.net
Then downloaded this file: libusb-win32-bin-1.2.6.0.zip
Unzip somewhere.
Pulgged the AVRISP into the computer.
Run \libusb-win32-bin-1.2.6.0\bin\inf-wizard.exe
Select AVRISP mkII
And follow the instructions to create the INF and install the driver.
Hi, what should I change to be able to do ISP upload with an ICE3 from the Arduino IDE to the UNO board?
westfw told me earlier:
You used "upload using programmer", and not just the upload command, right?
jtagice3 doesn't use a serial port, thus the "jtagice3.program.extra_params=-Pusb -B22" part of the programmers.txt change...
But what and how can I find info for what to change?
Thanks a lot!
About the ICE3 uploading program, after clicking upload by programmer:
-cjtag3isp -Pusb -B22 -Uflash:w:C:\Users\NeoTec\AppData\Local\Temp\build7575375382778252378.tmp/Blink.cpp.hex:i
This is the error:
avrdude: Version 6.0.1, compiled on Apr 3 2014 at 23:12:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"
Using Port : usb
Using Programmer : jtag3isp
Setting bit clk period : 22.0
avrdude: stk500v2_jtag3_open()
avrdude: usbdev_open(): did not find any USB device "usb"
spoetnic:
avrdude: usbdev_open(): did not find any USB device "usb"
Same problem,have you solved it?
Same problem,have you solved it?