Skip to content

GetProcessorBaseAddress() argument out of range of valid values #110

Description

@THEsnarkysparky
    static OutputPinConfiguration  Pin32 = ConnectorPin.P1Pin32.Output();
    GpioConnection OutPin32 = new GpioConnection(Pin32);

   private void button5_Click(object sender, EventArgs e)
    {
        for (int ii = 0; ii < 500; ii++)
        {
            OutPin32.Toggle(Pin32);
        }
    }

run result is. Thanks:

Unhandled Exception:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: processor
at Raspberry.IO.GeneralPurpose.GpioConnectionDriver.GetProcessorBaseAddress (Raspberry.Processor processor) [0x00020] in <39616ab275014559a5b975fe859e9ad9>:0
at Raspberry.IO.GeneralPurpose.GpioConnectionDriver..ctor () [0x00049] in <39616ab275014559a5b975fe859e9ad9>:0
at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.GetBestDriver (Raspberry.IO.GeneralPurpose.GpioConnectionDriverCapabilities capabilities) [0x0000a] in <39616ab275014559a5b975fe859e9ad9>:0
at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.get_DefaultDriver () [0x0002f] in <39616ab275014559a5b975fe859e9ad9>:0
at Raspberry.IO.GeneralPurpose.GpioConnectionSettings..ctor () [0x00006] in <39616ab275014559a5b975fe859e9ad9>:0
at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (Raspberry.IO.GeneralPurpose.GpioConnectionSettings settings, System.Collections.Generic.IEnumerable1[T] pins) [0x0001c] in <39616ab275014559a5b975fe859e9ad9>:0 at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (Raspberry.IO.GeneralPurpose.PinConfiguration[] pins) [0x00000] in <39616ab275014559a5b975fe859e9ad9>:0 at printercontrol.MainForm..ctor () [0x00016] in <11e554367ed14bd3b322d5ab5a151edc>:0 at (wrapper remoting-invoke-with-check) printercontrol.MainForm..ctor() at printercontrol.Program.Main (System.String[] args) [0x0000e] in <11e554367ed14bd3b322d5ab5a151edc>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: processor at Raspberry.IO.GeneralPurpose.GpioConnectionDriver.GetProcessorBaseAddress (Raspberry.Processor processor) [0x00020] in <39616ab275014559a5b975fe859e9ad9>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionDriver..ctor () [0x00049] in <39616ab275014559a5b975fe859e9ad9>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.GetBestDriver (Raspberry.IO.GeneralPurpose.GpioConnectionDriverCapabilities capabilities) [0x0000a] in <39616ab275014559a5b975fe859e9ad9>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.get_DefaultDriver () [0x0002f] in <39616ab275014559a5b975fe859e9ad9>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings..ctor () [0x00006] in <39616ab275014559a5b975fe859e9ad9>:0 at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (Raspberry.IO.GeneralPurpose.GpioConnectionSettings settings, System.Collections.Generic.IEnumerable1[T] pins) [0x0001c] in <39616ab275014559a5b975fe859e9ad9>:0
at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (Raspberry.IO.GeneralPurpose.PinConfiguration[] pins) [0x00000] in <39616ab275014559a5b975fe859e9ad9>:0
at printercontrol.MainForm..ctor () [0x00016] in <11e554367ed14bd3b322d5ab5a151edc>:0
at (wrapper remoting-invoke-with-check) printercontrol.MainForm..ctor()
at printercontrol.Program.Main (System.String[] args) [0x0000e] in <11e554367ed14bd3b322d5ab5a151edc>:0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions