avrisp mkII firmware

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
jose
Flowcode V4 User
Posts: 26
Joined: Sat Nov 01, 2008 12:11 am
Has thanked: 7 times
Been thanked: 10 times
Contact:

avrisp mkII firmware

Post by jose »

Hello,
After firmware update of my avrisp mkII with last version of avr studio4, i can't program any chip with flowcode´. Its possible to program ex: atmega32 with avr studio but not at90s8515.
Where can i find a previous firmware version, or waht can i do?
Thanks

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: avrisp mkII firmware

Post by DavidA »

Hey Jose,

We will try this out on our avrisp mkIIs here and get back to you with the results.

jose
Flowcode V4 User
Posts: 26
Joined: Sat Nov 01, 2008 12:11 am
Has thanked: 7 times
Been thanked: 10 times
Contact:

Re: avrisp mkII firmware

Post by jose »

Ok David, thanks

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: avrisp mkII firmware

Post by DavidA »

Hello Jose,

We have tested the latest firmware update to our avpisp mkIIs and there does not seem to be any problem in programming them. The update we applied was:

Hardware revision 0x01
Software version 0x010c

It works with AVR Studio 4 and Flowcode AVR using the Jungo driver and Flowcode STK500 programmer setting in Compiler Options...

could you confirm whether you are using the Jungo driver or the libusb driver (Control Panel >> System >> Device Manager)

also could you confirm what compiler settings you are using (in Flowcode go to Chip >> Compiler Options

jose
Flowcode V4 User
Posts: 26
Joined: Sat Nov 01, 2008 12:11 am
Has thanked: 7 times
Been thanked: 10 times
Contact:

Re: avrisp mkII firmware

Post by jose »

Hi David,

The hardware rev. and firmware version are the same i'm using
the drive is Jungo driver and compiler settings are:


C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avra.bat
%t "%D\%f.elf" "%D\%f.c" "%D\%f.lst"

C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avrb.bat
"%D\%f.elf" "%D\%f.hex" "%D\%f.cof"

C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avrc.bat
AVRDUDE %a %t "%D\%f.hex" "%f.hex" %cfg %c0 %c1 %c2 %c3

thanks

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: avrisp mkII firmware

Post by DavidA »

Hello Jose,

Try changing the programmer settings to this:

C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avrc.bat
STK500 %a %t "%D\%f.hex" "%f.hex" %cfg %c0 %c1 %c2 %c3

jose
Flowcode V4 User
Posts: 26
Joined: Sat Nov 01, 2008 12:11 am
Has thanked: 7 times
Been thanked: 10 times
Contact:

Re: avrisp mkII firmware

Post by jose »

Hi David,
Still not working... sorry

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: avrisp mkII firmware

Post by DavidA »

Hello Jose,

have you tried running the firmware update again?

If so could you please post a screen shot of the error messages you are recieving in Flowcode.

Also a screen shot of your device manager showing the Jungo driver.

Also could you check that these locations exist:

C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avrc.bat
C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avrb.bat
C:\Programas\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avra.bat

jose
Flowcode V4 User
Posts: 26
Joined: Sat Nov 01, 2008 12:11 am
Has thanked: 7 times
Been thanked: 10 times
Contact:

Re: avrisp mkII firmware

Post by jose »

Hello David,
It's working!
i used your indication: STK500 %a %t "%D\%f.hex" "%f.hex" %cfg %c0 %c1 %c2 %c3
and i have to change the path in avrc.bat file from:
@SET STKPath="C:\Program Files\Atmel\AVR Tools\STK500\Stk500.exe"
to:
@SET STKPath="C:\Programas\Atmel\AVR Tools\STK500\Stk500.exe"
Thank you very much
Jose

Post Reply