Parallel Programmer with EEPE?

Post Reply
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Parallel Programmer with EEPE?

Post by billhally »

Wonder if anyone can offer any advise on this issue in this forum. I have a parallel port programmer that I use to programme my 9x transmitter using the Pony Prog software and it works fine without any problems at all. For some reason I appear to be unable to have EEPE perform this function after trying various settings in the software. Can any of you Guru's recommend what I should try? I have attached an image showing the settings that I use and that work for me in Pony Prog.

TIA Hally
Attachments
Setup.jpg
Setup.jpg (22.29 KiB) Viewed 14445 times

User avatar
MikeB
9x Developer
Posts: 18000
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Parallel Programmer with EEPE?

Post by MikeB »

What method/program do you currently use with this programming method? I thought AVRDUDE supported this programmer. If so, then it 'should' work from eepe as it uses AVRDUDE.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Re: Parallel Programmer with EEPE?

Post by billhally »

MikeB wrote:What method/program do you currently use with this programming method? I thought AVRDUDE supported this programmer. If so, then it 'should' work from eepe as it uses AVRDUDE.

Mike.
Pony Prog is the software I curently use as stated in my original post and this works fine with the hardware. But I cannot get EEPE to function with it at all.
User avatar
MikeB
9x Developer
Posts: 18000
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Parallel Programmer with EEPE?

Post by MikeB »

As far as I can tell you need to select the programmer as
-c pony-stk200
in the AVRDUDE command line. This is done in the BURN|CONFIGURE menu. For the programmer select pony-stk200, and for the port select LPT1 (or whichever port you are using).

You muight also take a look at:
http://www.avrfreaks.net/index.php?name ... 94&start=0

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Re: Parallel Programmer with EEPE?

Post by billhally »

OK tried this and still no go, have attached jpg of system response to this post. EEPE is installed in its own directory on ther root of the C drive.
Attachments
avrdude.jpg

User avatar
MikeB
9x Developer
Posts: 18000
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Parallel Programmer with EEPE?

Post by MikeB »

I can only suggest LPT1 is not available to AVRDUDE for some reason. Perhaps it is allocated to something else e.g. ponyprog if you have already run this, or maybe there is an OS setting preventing AVRDUDE getting at the port.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Re: Parallel Programmer with EEPE?

Post by billhally »

I appreciate your input on this, its really annoying having to edit in one programme then use another to programme my 9x. At the point I ran the new settings I had not run Pony Prog or accessed LPT1 in any way and it seems odd that avrdude cannot access it. I wonder if there are any other switches that I may try in the command line at all.

Cheers Hally
User avatar
GrootWitbaas
Posts: 358
Joined: Tue Dec 27, 2011 8:57 pm
Country: -
Location: Germany

Re: Parallel Programmer with EEPE?

Post by GrootWitbaas »

did you try avrdude command line to access the LPT port ?
General trouble maker and wannabee Dev
User avatar
erazz
9x Developer
Posts: 682
Joined: Tue Dec 27, 2011 6:25 pm
Country: -
Location: NJ-USA
Contact:

Re: Parallel Programmer with EEPE?

Post by erazz »

Do you have the latest version of winavr?
Can you program via other programs?

Do a search in the RCG thread. Someone did get it working.
Z

BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Re: Parallel Programmer with EEPE?

Post by billhally »

GrootWitbaas wrote:did you try avrdude command line to access the LPT port ?
Can you give me the info how to do this and I will try it?

Thanks
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Re: Parallel Programmer with EEPE?

Post by billhally »

erazz wrote:Do you have the latest version of winavr?
Can you program via other programs?

Do a search in the RCG thread. Someone did get it working.
Yes it works absolutely fine with Pony Prog, do I need WinAVR installed to have AVRDUDE work correctly?

Hally
User avatar
GrootWitbaas
Posts: 358
Joined: Tue Dec 27, 2011 8:57 pm
Country: -
Location: Germany

Re: Parallel Programmer with EEPE?

Post by GrootWitbaas »

try something like this:

Code: Select all

avrdude -c pony-stk200 -p m64 -P lpt1 -U eeprom:r:C:/testread.hex:i
also try this from the standard location where cmd opens the dos windows, and from c:/eepe/
you may have to use avrdude.exe not just avrdude

if possible also post the output you get from pony prog (if it does show feedback)
General trouble maker and wannabee Dev
ReSt
Posts: 1582
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: Parallel Programmer with EEPE?

Post by ReSt »

billhally wrote:
Yes it works absolutely fine with Pony Prog, do I need WinAVR installed to have AVRDUDE work correctly?

Hally
I used to use a simple selfmade parallel port programmer before I got that cheap USBASP programmer
(and it also ran without problems with PonyProg).

It still works but I'm using the grafic user interface 'avrdude-gui' v0.2.0 and I have installed AVR Studio 4.18

To function, first thing to do is to install the GiveIO Driver (in the upper right corner of avrdude-gui)

The complete commandstring of avrdude for the attached screencopy (reading flash, eeprom and signature) was:

"avrdude" -p m64 -c pony-stk200 -C "C:\WinAVR\bin\avrdude.conf" -P lpt1 -U flash:r:"G:\AVR Projects\Test\Test.hex":i -U flash:v:"G:\AVR Projects\Test\Test.hex":i -U eeprom:r:"G:\AVR Projects\Test\eeprom.hex":i -U eeprom:v:"G:\AVR Projects\Test\eeprom.hex":i -U signature:r:con:r -F -n -v

Reinhard
Attachments
DUDE1.JPG
User avatar
billhally
Posts: 20
Joined: Wed Dec 28, 2011 10:46 am
Country: -

Re: Parallel Programmer with EEPE?

Post by billhally »

@ ReSt

Thanks for your imformative reply its appreciated, unfortunatley it still means using another programme to blow the files into my 9x instaed of eepe. I am just going to stay with Pony Prog as I know its reliable and works perfectly well for the purpose just a pity eepe cant emulate it.

Thanks all
ReSt
Posts: 1582
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: Parallel Programmer with EEPE?

Post by ReSt »

I just verified, that my parallel port programmer (that pretty well works with PonyProg as Parallel AVRISP I/O on LPT1) does also work with EEPe. Without loading a driver first (GIVEIO).

The Programmer is powered from the TX, so it has to be switched on manually for flashing.
I set it up as Pony-STK200 on LPT1

I have read and written the EEProm of my TX

But I must admit, there is some annoying behaviour. While it is reading or writing, it sometimes starts to run the TX, steps through menues and copies models :?:

I partially could avoid this by setting the TX to a sub menue. But I won't dig in anymore, as I now use the USBASP programmer.

btw
It originally did not work with the AVRDUDE.Exe from EEPe.
I copied avrdude.exe from my WINAVR\bin\ directory into the EEPe directory. And that worked. (Even though, both files have identical size.)

Reinhard
User avatar
GrootWitbaas
Posts: 358
Joined: Tue Dec 27, 2011 8:57 pm
Country: -
Location: Germany

Re: Parallel Programmer with EEPE?

Post by GrootWitbaas »

you can select in eepe the path to avrdude, maybe search on the pc for avedude.exe, and if you find more than one, change eepe to use the one NOT in the c:/eepe/ folder. This might solve the problem you have that pony prog works and eepe not. Pony prog may use the other exe file.

Please post back the results
General trouble maker and wannabee Dev
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Parallel Programmer with EEPE?

Post by Romolo »

The main problem with parallel ports programmer is the access to the parallel port itself.
you need to install the giveio.sys driver to get avrdude work flawless.

You may find further instructions at: http://www.nongnu.org/avrdude/user-manu ... f2K_002fXP

Post Reply

Return to “PROGRAMMERS”