Hi,
i have already purchased the AVR ISP MK2 - but I do not believe that this is supported by the AVR IDE - the device is not recognised.
Can anyone confirm this is the case ?. Thanks.
The MikroElektronika programmer has a different pin out to the Atmel device - as such, the boards i have had produced all have the smaller connector for the Atmel programmer.
If the IDE cannot be used, then i assume the Hex file output can be used to program the ATMega32A using AVR Studio ?.
Thanks and regards,
Richard.
ATMEL AVR ISP MK2 - MikroElektronika IDE
Re: ATMEL AVR ISP MK2 - MikroElektronika IDE
Hi,
You can include the AVR programmers in the mikroC PRO for AVR IDE, by adding a Tool.
Please, open Tools\Options\ and under the Tools tab you can add up to 10 external programs and assign them a shortcut.
As a shortcut, you can put a path to the programmer utility consulting the programmer utility command line, which can be found in its documentation.
Regards,
Filip.
You can include the AVR programmers in the mikroC PRO for AVR IDE, by adding a Tool.
Please, open Tools\Options\ and under the Tools tab you can add up to 10 external programs and assign them a shortcut.
As a shortcut, you can put a path to the programmer utility consulting the programmer utility command line, which can be found in its documentation.
Regards,
Filip.
Re: ATMEL AVR ISP MK2 - MikroElektronika IDE
Here a Sample Parameter Line for the XMega16A4 on the STK600 Board :
Program File : C:\Program Files (x86)\Atmel\AVR Tools\Stk600\Stk600.exe
Parameters : -cUSB;00C0000005DE -ut3.3 -!32MHz -I460800 -d%CHIP_NAME -e -md -if"%HEX_FILE_NAME" -pf -vf
^^^^^^^^^
The Parameter -cUSB;XXXXXXXXXXXX is the Serial of the USB Connected Board. You find the Serial by using the AVRStudio Programmer when selecting programming Device.
Works fine on a Win7 X64 System
I hope this helps
regards
Program File : C:\Program Files (x86)\Atmel\AVR Tools\Stk600\Stk600.exe
Parameters : -cUSB;00C0000005DE -ut3.3 -!32MHz -I460800 -d%CHIP_NAME -e -md -if"%HEX_FILE_NAME" -pf -vf
^^^^^^^^^
The Parameter -cUSB;XXXXXXXXXXXX is the Serial of the USB Connected Board. You find the Serial by using the AVRStudio Programmer when selecting programming Device.
Works fine on a Win7 X64 System
I hope this helps
regards
Re: ATMEL AVR ISP MK2 - MikroElektronika IDE
Hi,
I also wanted to get the Atmel AVR ISP MK2 working, using the STK500.exe
At long last I've managed to do it... heres how.. (hopefully you will see a picture below)
[img]file:///C:/Users/Patrick/Pictures/Pictures/isp.jpg[/img]
All the best,
Patrick
I also wanted to get the Atmel AVR ISP MK2 working, using the STK500.exe
At long last I've managed to do it... heres how.. (hopefully you will see a picture below)
[img]file:///C:/Users/Patrick/Pictures/Pictures/isp.jpg[/img]
All the best,
Patrick
Re: ATMEL AVR ISP MK2 - MikroElektronika IDE
Ok, picture didn't work.
Here is what I had to do. Basically put quotes around the %HEX_FILE_NAME macro.
File Name: C:\Program Files\Atmel\AVR Tools\STK500\Stk500.exe
Parameters: -d%CHIP_NAME -if"%HEX_FILE_NAME" -e -pf -cUSB
Hope it helps,
Patrick
Here is what I had to do. Basically put quotes around the %HEX_FILE_NAME macro.
File Name: C:\Program Files\Atmel\AVR Tools\STK500\Stk500.exe
Parameters: -d%CHIP_NAME -if"%HEX_FILE_NAME" -e -pf -cUSB
Hope it helps,
Patrick