AVR EB019-00-2 Board
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
AVR EB019-00-2 Board
Hi!
I am testing my AVR EB019 Board. I have made a simple testprogram. It seem to compile ok, but I can´t program the chip. Can somebody tell me what I am doing wrong please.
The same message in FC7 and FC6
COFF file creation successful!
Launching the programmer...
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_usbtiny.bat AVRDUDE m324p atmega324p "C:\FLOWCO~4\FORSG~1\Atmel 324.hex" "Atmel 324.hex" 0 3 215 255 255
C:\FLOWCO~4\FORSG~1>"C:\PROGRA~2\Flowcode\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m324p -P usb -c usbtiny -U flash:w:"Atmel 324.hex"
avrdude.exe: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude.exe done. Thank you.
Error returned from [avrdude]
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_usbtiny.bat reported error code 1
Br Jorgen
I am testing my AVR EB019 Board. I have made a simple testprogram. It seem to compile ok, but I can´t program the chip. Can somebody tell me what I am doing wrong please.
The same message in FC7 and FC6
COFF file creation successful!
Launching the programmer...
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_usbtiny.bat AVRDUDE m324p atmega324p "C:\FLOWCO~4\FORSG~1\Atmel 324.hex" "Atmel 324.hex" 0 3 215 255 255
C:\FLOWCO~4\FORSG~1>"C:\PROGRA~2\Flowcode\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m324p -P usb -c usbtiny -U flash:w:"Atmel 324.hex"
avrdude.exe: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude.exe done. Thank you.
Error returned from [avrdude]
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_usbtiny.bat reported error code 1
Br Jorgen
- Attachments
-
- Board.JPG (100.64 KiB) Viewed 7219 times
-
- Atmel 324.fcfx
- (6.79 KiB) Downloaded 179 times
- 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: AVR EB019-00-2 Board
Hello Jorgen,
We changed the default programmer in v7 to the AVR USBtiny along with our hardware offering changes.
Good news though, you can still use the AVRISP mkII, you just need to change the programming script via the Build -> Compiler options menu.
Simply change the Programmer -> Location to the following and that should solve the problem.
From: $(appdir)compilers\avr\batchfiles\avrc_usbtiny.bat
To: $(appdir)compilers\avr\batchfiles\avrc.bat
Let us know how you get on.
We changed the default programmer in v7 to the AVR USBtiny along with our hardware offering changes.
Good news though, you can still use the AVRISP mkII, you just need to change the programming script via the Build -> Compiler options menu.
Simply change the Programmer -> Location to the following and that should solve the problem.
From: $(appdir)compilers\avr\batchfiles\avrc_usbtiny.bat
To: $(appdir)compilers\avr\batchfiles\avrc.bat
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
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Hi Ben!
Try your guide, but sorry no! When I change the path, FC came up with, that I have to save in another name. I did that, and try to use it as default.
BEN, HOPEFULLY IT DID NOT INFLUENSE ON THE PIC AND THE ARDUINO PROGRAMMING, Because they work perfectplease????????
COFF file creation successful!
Launching the programmer...
C:\Program Files (x86)\Flowcode v8\compilers\avr\batchfiles\avrc.bat AVRDUDE m324p atmega324p "C:\FLOWCO~4\FORSG~1\Atmel 324.hex" "Atmel 324.hex" 0 3 215 255 255
ERROR: GetShortPathName(): Den angivne sti blev ikke fundet. ****************TRANSLATE: (Can´t find the path)************************
ERROR: Can not launch process: Den angivne fil blev ikke fundet.
C:\Program Files (x86)\Flowcode v8\compilers\avr\batchfiles\avrc.bat reported error code -1
When I follow the path on my laptop the path is : "C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc.bat" Can I use this??
FINISHED
Try your guide, but sorry no! When I change the path, FC came up with, that I have to save in another name. I did that, and try to use it as default.
BEN, HOPEFULLY IT DID NOT INFLUENSE ON THE PIC AND THE ARDUINO PROGRAMMING, Because they work perfectplease????????
COFF file creation successful!
Launching the programmer...
C:\Program Files (x86)\Flowcode v8\compilers\avr\batchfiles\avrc.bat AVRDUDE m324p atmega324p "C:\FLOWCO~4\FORSG~1\Atmel 324.hex" "Atmel 324.hex" 0 3 215 255 255
ERROR: GetShortPathName(): Den angivne sti blev ikke fundet. ****************TRANSLATE: (Can´t find the path)************************
ERROR: Can not launch process: Den angivne fil blev ikke fundet.
C:\Program Files (x86)\Flowcode v8\compilers\avr\batchfiles\avrc.bat reported error code -1
When I follow the path on my laptop the path is : "C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc.bat" Can I use this??
FINISHED
- Attachments
-
- New AVRPath.PNG
- (26.15 KiB) Downloaded 3458 times
- 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: AVR EB019-00-2 Board
Hello,
This looks like the classic short path name AVR problem. Though this normally appears when compiling not at the programming stage!
Please see this FAQ for a fix.
https://www.matrixtsl.com/faq/index.php ... artlang=en
Maybe also try a project name without a space to see if that helps to solve the problem, though this shouldn't be required.
This looks like the classic short path name AVR problem. Though this normally appears when compiling not at the programming stage!
Please see this FAQ for a fix.
https://www.matrixtsl.com/faq/index.php ... artlang=en
Maybe also try a project name without a space to see if that helps to solve the problem, though this shouldn't be required.
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: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Hi Ben!
Tryed almost everything, no luck. I see when I search on web, that it is an old device this AVRISP mk2. Well I have had it for long time, and never used it before and want to do it now. But I though, when I bougth the AVR pack (FC) that it work, but it seemed to be tricky with my old ISP programmer.
But is there an other solution from MM with another board or ISP programming tool for the AVR device will work with FC8? (easily)..
Can I use this with my EB0019 board with FC 8 : http://www.matrixtsl.com/webshop/avr-programmer.html
If there is it would be nice:
1. If I still could use my EB019 board.
2. possible to program the device from FC8 and program a device with a Hexfile (If other have make a program and a hex is availbe).
If it is possible, I will immidiate buy one.
Br Jorgen
Tryed almost everything, no luck. I see when I search on web, that it is an old device this AVRISP mk2. Well I have had it for long time, and never used it before and want to do it now. But I though, when I bougth the AVR pack (FC) that it work, but it seemed to be tricky with my old ISP programmer.
But is there an other solution from MM with another board or ISP programming tool for the AVR device will work with FC8? (easily)..
Can I use this with my EB0019 board with FC 8 : http://www.matrixtsl.com/webshop/avr-programmer.html
If there is it would be nice:
1. If I still could use my EB019 board.
2. possible to program the device from FC8 and program a device with a Hexfile (If other have make a program and a hex is availbe).
If it is possible, I will immidiate buy one.
Br Jorgen
- 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: AVR EB019-00-2 Board
Hello,
My AVRISP is fairly old now but works ok with the right USB driver installed, Maybe try uninstalling the device from device manager and deleting the USB drivers. Then try installing the USB drivers from the Flowcode Drivers folder. Hopefully that should solve the problem.
Otherwise the AVR USBTiny is known to work and have less setup problems then the AVRISP.
My AVRISP is fairly old now but works ok with the right USB driver installed, Maybe try uninstalling the device from device manager and deleting the USB drivers. Then try installing the USB drivers from the Flowcode Drivers folder. Hopefully that should solve the problem.
Otherwise the AVR USBTiny is known to work and have less setup problems then the AVRISP.
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: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Hi Ben!
No succes. I give it up, with this bord. Spend to long time to struggle with this. Not able to Install driver.
Please, will this board work for sure without problem with FC8 and is it possible to use my EB019 board.
http://www.matrixtsl.com/webshop/avr-programmer.html
Br.
Jorgen
No succes. I give it up, with this bord. Spend to long time to struggle with this. Not able to Install driver.
Please, will this board work for sure without problem with FC8 and is it possible to use my EB019 board.
http://www.matrixtsl.com/webshop/avr-programmer.html
Br.
Jorgen
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Hi all!
Please, are there anybody here in fora who use avr/atmel in FC8 and what kind of a programmer do you use and do it work. I would like to hear please.
Thank’s in advance
Br Jorgen
Please, are there anybody here in fora who use avr/atmel in FC8 and what kind of a programmer do you use and do it work. I would like to hear please.
Thank’s in advance
Br Jorgen
- 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: AVR EB019-00-2 Board
Hi Jorgen,
The USB drivers do seem to be the crux of the problem Would the Flowcode drivers not install for you.
What about trying this one instead.
Otherwise yes you can use the programmer here and this is known to work.
http://www.matrixtsl.com/webshop/avr-programmer.html
The USB drivers do seem to be the crux of the problem Would the Flowcode drivers not install for you.
What about trying this one instead.
Otherwise yes you can use the programmer here and this is known to work.
http://www.matrixtsl.com/webshop/avr-programmer.html
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: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Thank´s again and again.
It look like the same I already have in FC8. But now I found out of some more. When I try to install the driver I see that something happen on the
MK2, The led is flashing, but I get this message:
It says it found the driver, but there is something wrong with the
"INF file contain no information on digital signature"?
Does it give any ideas for you.
Br jorgen.
It look like the same I already have in FC8. But now I found out of some more. When I try to install the driver I see that something happen on the
MK2, The led is flashing, but I get this message:
It says it found the driver, but there is something wrong with the
"INF file contain no information on digital signature"?
Does it give any ideas for you.
Br jorgen.
- Attachments
-
- Driver.PNG
- (83.87 KiB) Downloaded 3288 times
Last edited by jgu1 on Mon Jul 23, 2018 5:45 pm, edited 1 time in total.
- 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: AVR EB019-00-2 Board
Hello,
Hmm the driver should be signed maybe Windows is trying the wrong driver .inf file! In the zip file try running the "dpinst_amd64.exe" executable and this should allow the signed files to be installed. Just confirmed this here on my 64-bit Win10 machine.
If this doesn't work then you can try disabling the signed driver enforcement which should allow you to install unsigned drivers.
https://www.youtube.com/watch?time_cont ... 1YAIw7_-kg
It's a shame that Atmel didn't just release a driver for the AVRISP mkII, instead it seems like it got left to the community and hence the mess it is in.
Hmm the driver should be signed maybe Windows is trying the wrong driver .inf file! In the zip file try running the "dpinst_amd64.exe" executable and this should allow the signed files to be installed. Just confirmed this here on my 64-bit Win10 machine.
If this doesn't work then you can try disabling the signed driver enforcement which should allow you to install unsigned drivers.
https://www.youtube.com/watch?time_cont ... 1YAIw7_-kg
It's a shame that Atmel didn't just release a driver for the AVRISP mkII, instead it seems like it got left to the community and hence the mess it is in.
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: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Hi Ben!
Thank´s for your effort. I think I give it up with this device, spend to long time with it.
Do you have any experience with HP3006 this: http://www.matrixtsl.com/webshop/avr-programmer.html I can see that MM write it will work with FC8
Please:
Do you know,(before I buy it) is it for sure it will work without to many problems and will it fit to my EB019 board ?
Br jorgen
Thank´s for your effort. I think I give it up with this device, spend to long time with it.
Do you have any experience with HP3006 this: http://www.matrixtsl.com/webshop/avr-programmer.html I can see that MM write it will work with FC8
Please:
Do you know,(before I buy it) is it for sure it will work without to many problems and will it fit to my EB019 board ?
Br jorgen
- 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: AVR EB019-00-2 Board
Hi Jorgen,
Yes I have used the HP3006 with the EB019 and the USB driver installs without any issues. I don't think you will have any problems with it.
Yes I have used the HP3006 with the EB019 and the USB driver installs without any issues. I don't think you will have any problems with it.
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: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: AVR EB019-00-2 Board
Hi Ben!
I have received my HP3006. Install the driversoftware, and I make a test. Work without any problem, perfect. I can only recommend this little device........
New question, is it possible to use the hp3006 programmer with a software just like PPP for pic( maybe some other have created a program I want to use ) and then
upload/ burn the atmeldevice. Hope you understand what I mean.
Br Jorgen
I have received my HP3006. Install the driversoftware, and I make a test. Work without any problem, perfect. I can only recommend this little device........
New question, is it possible to use the hp3006 programmer with a software just like PPP for pic( maybe some other have created a program I want to use ) and then
upload/ burn the atmeldevice. Hope you understand what I mean.
Br Jorgen
- 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: AVR EB019-00-2 Board
Hi Jorgen,
Brilliant, really glad its working well for you.
You can use AVR studio to do this but I think this is overkill as it takes a while just to load the software and an age to install it.
We use AVRdude inside Flowcode it's a command line based open source tool for programming AVR devices. AVRdude is also used inside the Arduino IDE.
AVRdudess is an open source front end for AVRdude which I've used before with success.
XLoader is another option but I'm not 100% sure it will work with the USBTiny programmer. Chances are it will work fine.
Brilliant, really glad its working well for you.
You can use AVR studio to do this but I think this is overkill as it takes a while just to load the software and an age to install it.
We use AVRdude inside Flowcode it's a command line based open source tool for programming AVR devices. AVRdude is also used inside the Arduino IDE.
AVRdudess is an open source front end for AVRdude which I've used before with success.
XLoader is another option but I'm not 100% sure it will work with the USBTiny programmer. Chances are it will work fine.
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: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact: