Hi Guys
I'm new to this program. I am having difficulty setting up a AVR dragon with ATMEGA32U4 either with JTAG or ISP. In the Compiler options under the programer tab I need some suggestions for the parameter settings.
The micro is running a 16mhz Xtal; and not useing a bootloader.
Thank you in advance.
AVRdragon + ATMEGA32U4
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: AVRdragon + ATMEGA32U4
Hello,
There's a post here that might help.
http://www.matrixtsl.com/mmforums/viewt ... gon#p45075
Let us know how you get on.
There's a post here that might help.
http://www.matrixtsl.com/mmforums/viewt ... gon#p45075
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: AVRdragon + ATMEGA32U4
no such luck. Im using 64 bit winodws, with avrstudio 6.2
There is no avrdragon.exe in avrstuddio6.2\tools\avrdragon
In my parts box I do have a USBtinyisp v3
I have never used it. Do you have the programmer parameters ?
Thanks you in advance
There is no avrdragon.exe in avrstuddio6.2\tools\avrdragon
In my parts box I do have a USBtinyisp v3
I have never used it. Do you have the programmer parameters ?
Thanks you in advance
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: AVRdragon + ATMEGA32U4
Hello,
Can you generate the hex file using Flowcode and then use AVR studio to transfer the hex file. I think things may have changed within AVR studio and they may no longer allow the external command tools to be called. Experienced similar issues with the AVRISP mkII.
Can you generate the hex file using Flowcode and then use AVR studio to transfer the hex file. I think things may have changed within AVR studio and they may no longer allow the external command tools to be called. Experienced similar issues with the AVRISP mkII.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: AVRdragon + ATMEGA32U4
I very fress to AVR IC's. Not able to use avr studio comfortably yet. I am able to create flowcharts so I thought id try flowcode.
Your programme compiles fine but is unable to upload to my dev board, due to not knowing how to setup theprogrammer parameters.
Regards,
Michael
Your programme compiles fine but is unable to upload to my dev board, due to not knowing how to setup theprogrammer parameters.
Regards,
Michael
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: AVRdragon + ATMEGA32U4
Hello,
I think AVR studio should see the dragon, allowing you to take the hex file produced by Flowcode and load it to the device.
Not used a dragon myself but there maybe someone who can help you with command line parameters for it.
This looks useful.
http://www.nongnu.org/avrdude/user-manu ... scriptions
Here are the options for the different modes:
dragon_dw Atmel AVR Dragon in debugWire mode
dragon_hvsp Atmel AVR Dragon in HVSP mode
dragon_isp Atmel AVR Dragon in ISP mode
dragon_jtag Atmel AVR Dragon in JTAG mode
dragon_pdi Atmel AVR Dragon in PDI mode
dragon_pp Atmel AVR Dragon in PP mode
I think AVR studio should see the dragon, allowing you to take the hex file produced by Flowcode and load it to the device.
Not used a dragon myself but there maybe someone who can help you with command line parameters for it.
This looks useful.
http://www.nongnu.org/avrdude/user-manu ... scriptions
Here are the options for the different modes:
dragon_dw Atmel AVR Dragon in debugWire mode
dragon_hvsp Atmel AVR Dragon in HVSP mode
dragon_isp Atmel AVR Dragon in ISP mode
dragon_jtag Atmel AVR Dragon in JTAG mode
dragon_pdi Atmel AVR Dragon in PDI mode
dragon_pp Atmel AVR Dragon in PP mode
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: AVRdragon + ATMEGA32U4
Hi
Can you try the following in the programmer tab of Build compiler options,bear in mind i dont have a dragon programer but the settings below should get you in the ball park if it doesnt work please can you post the msg.txt file it generates
64bit win
location
parameters
32bit win
location
parameters
Regards
Dazz
Can you try the following in the programmer tab of Build compiler options,bear in mind i dont have a dragon programer but the settings below should get you in the ball park if it doesnt work please can you post the msg.txt file it generates
64bit win
location
Code: Select all
C:\Program Files (x86)\Atmel\Atmel Studio 6.2\atbackend\atprogram.exe
Code: Select all
-t avrdragon -i jtag -d -chip program -f "%f.hex"
32bit win
location
Code: Select all
C:\Program Files\Atmel\Atmel Studio 6.2\atbackend\atprogram.exe
Code: Select all
-t avrdragon -i jtag -d -chip program -f "%f.hex"
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: AVRdragon + ATMEGA32U4
Benj wrote:Hello,
I think things may have changed within AVR studio and they may no longer allow the external command tools to be called. Experienced similar issues with the AVRISP mkII.
Hi Benj
they still have command line programing its linked above, so you should be able to use the avrisp (change dragon to avrisp ) but and heres a big but you may have to install libusb on top of the jango driver
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: AVRdragon + ATMEGA32U4
Hi
further to my last post, im adding a rar file this has the libusb to install over the jungo drive(you will need the dragon plugged in to do this instructions on google) the latest avr dude exe and config(needs placing in flow code compilers avr bin folder),
lastly theres avr dudesss.exe (a very nice avrdude gui)
hope this helps
Regards
Dazz
further to my last post, im adding a rar file this has the libusb to install over the jungo drive(you will need the dragon plugged in to do this instructions on google) the latest avr dude exe and config(needs placing in flow code compilers avr bin folder),
lastly theres avr dudesss.exe (a very nice avrdude gui)
hope this helps
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php