bugAVR Downloader/UploaDEr - Bugs: bug #58440, linuxgpio PIN limit too low

 
 

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

bug #58440: linuxgpio PIN limit too low

Submitter:  None
Submitted:  Mon 25 May 2020 12:04:01 AM UTC
Votes: 5
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Jookia
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  SVN snapshot Programmer hardware:  linuxgpio
Device type:  m328p

Sat 27 Nov 2021 09:55:32 PM UTC, comment #4: 

Bumped it for the HAVE_LINUXGPIO case to 400. Hope that's enough for the next years.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 22 Jun 2020 08:52:21 PM UTC, comment #3: 

I'm having the same problem with Tinker Board. The biggest bin is 257, which is used as MOSI1 so I had to increase the number of maximum pins

otzy <otzy>
Sun 07 Jun 2020 11:24:40 PM UTC, comment #2: 

Bumping PIN_MAX might be good enough for now. Maybe something like 512?

Jookia <jookia>
Tue 26 May 2020 06:04:07 AM UTC, comment #1: 

Well, PIN_MAX is used to derive PIN_FIELD_SIZE, which is eventually used to determine the size of some arrays.

So, short of bumping PIN_MAX even more, I don't see a quick other remedy.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 25 May 2020 12:04:01 AM UTC, original submission:  

I'm on an ARM board using the Allwinner A20 SoC with 277 GPIOs, and as luck would have it I was using GPIOs 272 through 275 for the linuxgpio driver. It gave me this error:

avrdude: error at /home/user/avrdude_gpio.conf:1269: pin must be in the range 0-255

Upping PIN_MAX to 512 in libavrdude.h fixed this for me, but maybe a better idea is to remove the limit?

Anonymous

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by otzy (Posted a comment)
  • -email is unavailable- added by otzy (Voted in favor of this item)
  • -email is unavailable- added by jookia (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 5 votes 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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-27 joerg_wunsch StatusConfirmed Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2020-06-22 otzy Carbon-Copy- Added otzy
    2020-05-26 joerg_wunsch StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code