Announcement

Collapse
No announcement yet.

error upon running run.sh

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • error upon running run.sh

    Hey Spud

    I'm a noob to the RPi and very rusty with my *nix.

    Running your PI on a windows hs3 machine. Mono 4.6.2 installed

    Upon running the run.sh on the RPi, I get this error, both on the RPi and in the hs3 log. Assistance appreciated.

    Tom

    ERROR Raspberry.IO.Interop.MemoryMapFailedException: Exception of type 'Raspberry.IO.Interop.MemoryMapFailedException' was thrown. at Raspberry.IO.Interop.MemoryMap.ThrowOnError[TException] (System.IntPtr result) [0x00012] in <8241fed7a24249b3b5139c88cb92ad83>:0 at Raspberry.IO.Interop.MemoryMap.Create (System.IntPtr address, System.UInt32 size, Raspberry.IO.Interop.MemoryProtection protection, Raspberry.IO.Interop.MemoryFlags memoryflags, System.Int32 fileDescriptor, System.UInt32 offset) [0x00017] in <8241fed7a24249b3b5139c88cb92ad83>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionDriver..ctor () [0x0004e] in :0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.GetBestDr iver (Raspberry.IO.GeneralPurpose.GpioConnectionDriverCapabilitie s capabilities) [0x0000a] in :0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.get_Defau ltDriver () [0x0002f] in :0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings..ctor () [0x00006] in :0 at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (Raspberry.IO.GeneralPurpose.GpioConnectionSettings settings, System.Collections.Generic.IEnumerable`1[T] pins) [0x0001c] in :0 at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (System.Collections.Generic.IEnumerable`1[T] pins) [0x00000] in :0 at HSPI_RaspberryIO.RaspberryPiApp.b__49_0 () [0x000ca] in <6051eb39012e4822bf3daa2a5be39e54>:0

  • #2
    You need to start the run.sh script as root

    Code:
    sudo ./run.sh

    Comment

    Working...
    X