Hi!
I have a homemade project LUFA AVRISP MKII programmer.
How can you use Flowcode6 program?
Currently, the generated HEX file to program the AVR Studio 4 software.
LUFA AVRISP MKII and Flowcode v6
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: LUFA AVRISP MKII and Flowcode v6
Hello,
Wow that looks really good for a homemade PCB! out of interest how did you do the solder resist layer and make it look so good?
AVR studio 3 came with drivers for the AVRISP that were compatible with the Flowcode AVRdude instance however it seems AVR studio 4 has different drivers which don't work so well across the board.
There is a newer version of AVR dude so first port of call would be to try this. We have included this in the current Flowcode build but not the latest 6.0.7 release so the updated files are below.
The files should be extracted into the "C:\Program Files (x86)\Flowcode 6\compilers\avr\bin" folder.
Let me know how you get on.
Wow that looks really good for a homemade PCB! out of interest how did you do the solder resist layer and make it look so good?
AVR studio 3 came with drivers for the AVRISP that were compatible with the Flowcode AVRdude instance however it seems AVR studio 4 has different drivers which don't work so well across the board.
There is a newer version of AVR dude so first port of call would be to try this. We have included this in the current Flowcode build but not the latest 6.0.7 release so the updated files are below.
The files should be extracted into the "C:\Program Files (x86)\Flowcode 6\compilers\avr\bin" folder.
Let me 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
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
- Contact:
Re: LUFA AVRISP MKII and Flowcode v6
Very nice work on your board, I am impressed. I have questions too, but yes the biggest question is - What are you using for the solder mask? How do you prevent the solder mask from coating the solder pads and thru holes? What method are you using for registration of the top and bottom artwork? What insert device are you using for the vias? Do you hand solder the thru hole devices? How do you cut the PCB with such perfect edges? Are you cutting the PCB to size as the first step?
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: LUFA AVRISP MKII and Flowcode v6
Thank you!
A friend made it to the printed circuit board. (now rare) I just soldered.
The anti-solder layer Dynamask film.
http://www.octamex.de/shop/?page=shop/f ... aufen.html
The etching masking Riston dry film.
My amateur film:
https://www.youtube.com/watch?v=ckPpLUJ ... Ik7Km-R28Q
A friend made it to the printed circuit board. (now rare) I just soldered.
The anti-solder layer Dynamask film.
http://www.octamex.de/shop/?page=shop/f ... aufen.html
The etching masking Riston dry film.
My amateur film:
https://www.youtube.com/watch?v=ckPpLUJ ... Ik7Km-R28Q
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: LUFA AVRISP MKII and Flowcode v6
Thank you!
I copied the files avrude.exe and avrdude.conf.
How to configure the options menu programmer?
I copied the files avrude.exe and avrdude.conf.
How to configure the options menu programmer?
- 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: LUFA AVRISP MKII and Flowcode v6
Hello,
By default the AVR compiler options, programmer tab should refer to the AVRISP mkII.
Location: $(appdir)compilers\avr\batchfiles\avrc.bat
Parameters: AVRDUDE $(chipalt) $(chip:l) "$(outdir)$(target).hex" "$(target).hex" 0 $(cfg0) $(cfg1) $(cfg2) $(cfg3)
By default the AVR compiler options, programmer tab should refer to the AVRISP mkII.
Location: $(appdir)compilers\avr\batchfiles\avrc.bat
Parameters: AVRDUDE $(chipalt) $(chip:l) "$(outdir)$(target).hex" "$(target).hex" 0 $(cfg0) $(cfg1) $(cfg2) $(cfg3)
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
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: LUFA AVRISP MKII and Flowcode v6
Hello!
Launching the programmer...
C:\Program Files\Flowcode 6\compilers\avr\batchfiles\avrc.bat AVRDUDE m328p atmega328p "C:\PROGRA~1\FLOWCO~3\sajat\avr\rc5_test\rc5_test_v1.hex" "rc5_test_v1.hex" 0 255 255 255
C:\PROGRA~1\FLOWCO~3\sajat\avr\rc5_test>"C:\PROGRA~1\FLOWCO~3\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m328p -P usb -c avrispmkii -U flash:w:"rc5_test_v1.hex"
avrdude.exe: usbdev_open(): did not find any USB device "usb"
Error returned from [avrdude]
C:\Program Files\Flowcode 6\compilers\avr\batchfiles\avrc.bat reported error code 1
FINISHED
- Attachments
-
- AVR Studio4.jpg (74.96 KiB) Viewed 5686 times
-
- avrispmkii nw.FCS
- (795 Bytes) Downloaded 220 times
-
- rc5_test_v1.fcfx
- (9.55 KiB) Downloaded 217 times
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: LUFA AVRISP MKII and Flowcode v6
Hi,
I managed to solve it.
Thanks for your help!
It works for me:
I managed to solve it.
Thanks for your help!
It works for me:
Code: Select all
$(appdir)compilers\avr\batchfiles\avrc.bat
STK500 $(chipalt) $(chip:l) "$(outdir)$(target).hex" "$(target).hex" 0 $(cfg0) $(cfg1) $(cfg2) $(cfg3)
- Attachments
-
- avrispmkii good.FCS
- (794 Bytes) Downloaded 226 times