GPIO Controller

Windwos iot Run windows demo HelloBinky : Error No GPIO Controller
system:
HelloBlinky
https://github.com/ms-iot/samples
RHPROXY Problem:
https://forum.up-community.org/discussion/4120/spi-gpio-support
DefinitionBlock ("ACPITABL1.dat", "SSDT", 1, "MSFT", "RHPROXY", 1)
{
Scope (_SB)
{
Device(RHPX)
{
Name(_HID, "MSFT8000")
Name(_CID, "MSFT8000")
Name(_UID, 1)
Name(_CRS, ResourceTemplate() { GpioIo (Shared, PullNone, 0, 0, IoRestrictionNone, "\\_SB.GPO0",) {36} GpioInt(Edge, ActiveBoth, SharedAndWake, PullNone, 0,"\\_SB.GPO0",) {36} }) } }
}
https://forum.up-community.org/discussion/4120/spi-gpio-support
make ACPITABL.dat and load
Problem :12
error code:0xC0000034
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/cm-prob-normal-conflict
Comments
-
how to resolve this problem ?Thanks
-
I see a number of problems:
1. _CRS must be declared as a method, not a name.
2. The _CRS method must return something (the resource buffer).
3. The pin number must be valid relative to the chipset, not the I/O header. The header pin numbers mean nothing to ACPI or the GPIO controller driver.
Try something like this instead:Method (_CRS, 0x0, NotSerialized) // _CRS: Current Resource Settings { Name (RBUF, ResourceTemplate() { GpioIo (...) { 0x00a8 } // value shown for illustration purposes only GpioInt (...) { 0x00a8 } } Return (RBUF) }
-
_CRS sample reference:https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/enable-usermode-access#appendix-b---minnowboardmax-asl-listing
and if i changed like this
DefinitionBlock ("ACPITABL1.dat", "SSDT", 1, "MSFT", "RHPROXY", 1)
{
Scope (_SB)
{
Device(RHPX)
{
Name(_HID, "MSFT8000")
Name(_CID, "MSFT8000")
Name(_UID, 1)Method (_CRS, 0x0, NotSerialized) // _CRS: Current Resource Settings { Name (RBUF, ResourceTemplate() { GpioIo (Shared, PullNone, 0, 0, IoRestrictionNone, "\\_SB.GPO0") { 0x00a8 } // value shown for illustration purposes only GpioInt (Edge, ActiveBoth, SharedAndWake, PullNone, 0,"\\_SB.GPO0",) { 0x00a8 } } Return (RBUF) } } }
}
parse error:
-
Sorry, I was missing a parenthesis before Return. My mistake.
Method (_CRS, 0x0, NotSerialized) // _CRS: Current Resource Settings { Name (RBUF, ResourceTemplate() { GpioIo (...) { 0x00a8 } // value shown for illustration purposes only GpioInt (...) { 0x00a8 } }) Return (RBUF) }
Categories
- All Categories
- 105 Announcements & News
- 55 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 55 Unboxing & Project Sharing
- 32 Tech Updates
- 661 UP Products
- 2 UP 7000
- UP Squared i12
- 8 UP Xtreme i12
- 9 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 18 UP Squared V2
- 54 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 58 UP Squared Pro
- 142 UP Xtreme
- 834 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral