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

 
 

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

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

Submitted by:  Bogdan-Florin Florea <bogdanflorin>
Submitted on:  Sun 08 Aug 2010 08:24:45 PM UTC  
Votes:  1  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

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>
Project 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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 1 encouragement so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Jul 2013 10:28:46 PM UTChehaCarbon-Copy-=>Added heha
    Sun 08 Aug 2010 08:24:45 PM UTCbogdanflorinAttached File-=>Added avrdude_inpout.patch, #21170

    Back to the top


    Powered by Savane 3.1-cleanup