AVR EB019-00-2 Board

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

AVR EB019-00-2 Board

Post by jgu1 »

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
Attachments
Board.JPG
Board.JPG (100.64 KiB) Viewed 7218 times
Atmel 324.fcfx
(6.79 KiB) Downloaded 179 times

User avatar
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

Post by Benj »

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.

jgu1
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

Post by jgu1 »

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
Attachments
New AVRPath.PNG
(26.15 KiB) Downloaded 3458 times

User avatar
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

Post by Benj »

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.

jgu1
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

Post by jgu1 »

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. :D

Br Jorgen

User avatar
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

Post by Benj »

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.

jgu1
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

Post by jgu1 »

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

jgu1
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

Post by jgu1 »

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 :D

Br Jorgen

User avatar
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

Post by Benj »

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.
AVRISPmkII.zip
(3.27 MiB) Downloaded 231 times
Otherwise yes you can use the programmer here and this is known to work.
http://www.matrixtsl.com/webshop/avr-programmer.html

jgu1
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

Post by jgu1 »

Thank´s again and again. :D

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.

User avatar
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

Post by Benj »

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.

jgu1
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

Post by jgu1 »

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 ? :wink:


Br jorgen

User avatar
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

Post by Benj »

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.

jgu1
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

Post by jgu1 »

Thank you very much Ben. I will order one HP3006 :D

Br Jorgen

jgu1
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

Post by jgu1 »

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

User avatar
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

Post by Benj »

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.

jgu1
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

Post by jgu1 »

Thank you Ben.... :D

Post Reply