Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
THEsnarkysparky opened this issue Oct 21, 2019 · 1 comment
Open

Comments

@THEsnarkysparky
Copy link

    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

@embsyspvtltd
Copy link

Hi

I am also facing similar issue. whats the solution for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants