Page 1 of 1

The new Version Flowcode 7.2.05

Posted: Sat Mar 11, 2017 9:52 pm
by sfrancke
Hello

Had installed the update 7.2.05 and wanted to program with my programmer original Atmel AVRISP mkII my AVR chip what had worked with version 7.1.1.0, now does not want anymore. It is the same driver installed for it. The following error message occurs:

C: \ Flowcode7 \ Program Files> "C: \ Flowcode7 \ compilers \ avr \ batchfiles \ .. \ bin \ avrdude.exe" -p m8 -P usb -c usbtiny -U flash: w: "MyAVR_LCD_Ausgabe.hex"
Avrdude.exe: Error: Could not find USB device (0x1781 / 0xc9f)

C: \ Flowcode7 \ compilers \ avr \ batchfiles \ avrc_usbtiny.bat Has reported the error code 1

Thanks for a tip what I do

sorry for my bad English

Re: The new Version Flowcode 7.2.05

Posted: Sun Mar 12, 2017 10:43 am
by sfrancke
Hello,

I have now installed again the version 7.1.1.0 and see my Atmel AVRISP MKII programmer is recognized again and I can again from Flowcode directly the program transfer, With the version 7.2.0.5 seems there probably still a bug to its.

Sfrancke

Re: The new Version Flowcode 7.2.05

Posted: Mon Mar 13, 2017 11:32 am
by Benj
Hello Sfrancke,

The problem is that the AVRISP mkII is now end of life so we have defaulted to the Tiny AVR programmer that we now supply.

To change 7.2.0.5 to use the AVRISP mkII programmer you need to do the following.

Click on Build -> Compiler Options.

Click on the Programmer tab.

Change the Location from this.

Code: Select all

$(appdir)compilers\avr\batchfiles\avrc_usbtiny.bat
to this.

Code: Select all

$(appdir)compilers\avr\batchfiles\avrc.bat
Click the save button at the top right hand side of the window.

Give the new setting a name e.g. AVRISP and click OK.

Make sure your new setting AVRISP has the Default checkbox ticked.

Click OK again.

Compile to chip should now work as it did before in 7.1.1.0.

http://www.matrixtsl.com/wikiv7/index.p ... ming_Tools

Re: The new Version Flowcode 7.2.05

Posted: Sun Apr 16, 2017 4:57 pm
by Cjuried
Hi Ben,

I followed all the steps you listed above and recieve this compiler message:

C:\Users\Juried\DOCUME~1>"C:\PROGRA~2\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m168p -P usb -c avrispmkii -U flash:w:"Flowcode1.hex"
avrdude.exe: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

I confirmed proper operation of the AVRISPII with Atmel Studio 7 and all is well, as expected.

Please assist.

CJ

Re: The new Version Flowcode 7.2.05

Posted: Fri Jun 02, 2017 4:51 pm
by Steve
Hello,

Sorry you've not had a reply for a while, but just noticed your post.

Have you tried this FAQ?
http://www.matrixtsl.com/faq/index.php? ... artlang=en

I believe the driver supplied with AVRStudio is incompatible with AVRDUDE and you need to use this alternative driver. I have just tested this here in combination with the changes explained by Ben and it seems to work fine.

I hope this helps.
Steve.