patchAVR Downloader/UploaDEr - Patches: patch #7275, Support for parallel port...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7275: Support for parallel port programmers on windows 7 64 bit and other versions of 64 bit windows

Submitter:  Bogdan-Florin Florea <bogdanflorin>
Submitted:  Sun 08 Aug 2010 08:24:45 PM UTC
Votes: 1
 
Category:  None Priority:  5 - Normal
Status:  Need Info Privacy:  Public
Assigned to:  None Open/Closed:  Open

Tue 30 Nov 2021 05:33:14 AM UTC, comment #4: 
Joerg Wunsch <joerg_wunsch>
Group administrator
Sat 27 Nov 2021 09:35:37 PM UTC, comment #3: 

Is this really still relevant, given that parallel-port computers are no longer really available?

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 15 Jul 2013 10:43:11 PM UTC, comment #2: 

InpOut32.dll doesn't need any initialization as it will install its containing port access driver silently when used the first time. Obviously this will require administrative privilege. Moreover, it contains signed 64-bit drivers so it does not make any trouble with Driver Sign Enforcement. Furthermore, such a DLL can be easily replaced by one that redirects I/O to any other nonstandard device, or to nonstandard port addresses as seen for PCI/PCIexpress cards. (I have written such a DLL.) Therefore, relying to InpOut32.dll is less annoying in such cases than to giveio. The only disadvantage are the countless kernel transitions (one for each I/O operation) which will slow down programming.

Therefore, I would strongly recommend the patch from <bogdanflorin>, and possibly default to use InpOut32.dll if something fails when accessing giveio silently (= no need for a command-line option on Win64 systems).

Henrik Haftmann <heha>
Wed 17 Aug 2011 02:28:17 PM UTC, comment #1: 

Please don't forget to submit documentation patches.

I just added a peramble to the patch tracker submission form
explaining some details about our documentation.

Thanks for your contribution!

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 08 Aug 2010 08:24:45 PM UTC, original submission:  

This patch enables avrdude to use InpOut for parallel port access on 64 bit versions of windows.
I used a modified version of InpOut for 64 bit windows from http://www.highrez.co.uk/Downloads/InpOut32/default.htm
I modified ppiwin.c, rewriting "inb" and "outb" functions to use InpOut when runtime option "-a" is passed.
This library, InpOut seems to work both on 32 bit windows and on 64 bit windows.

Before running avrdude first time, the user should run Win32\InstallDriver.exe (from InpOutBinaries_1200.zip) which seems to install automatically the required version of driver (32 bit or 64 bit). A dll file (inpout32.dll) is also required at runtime when using option "-a".

Bogdan-Florin Florea <bogdanflorin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by heha (Posted a comment)
  • -email is unavailable- added by heha (Voted in favor of this item)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-29 joerg_wunsch Carbon-CopyRemoved 79623 -
    2021-11-27 joerg_wunsch StatusNone Need Info
    2013-07-15 heha Carbon-Copy- Added heha
    2010-08-08 bogdanflorin Attached File- Added avrdude_inpout.patch, #21170

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code