RISC OS Pico GPIO Pi Zero W
Lothar (3292) 134 posts |
Hello, Pi Zero W is out for some time and Pi Zero basically no longer available. But since the board ID has changed from 920093 to 9000c1 the GPIO module 1.00 cannot recognize it and does not start. There is a fixed GPIO module in the new Beta ROM but this cannot be used for RISC OS Pico. Where could one get the fixed GPIO module? The Tank Stage site seems not to be updated any longer. Or could the person in charge here “just” put a fixed RISC OS Pico in place for download :-) Thanks |
James Wheeler (3283) 344 posts |
|
Lothar (3292) 134 posts |
This is Pi Zero v1.3 which also got a new board ID, but I think you are right, this is in the hardware list of the current RISC OS Pico GPIO module 1.00 and should work. However many people around already have Pi Zero W because Pi Zero is out of stock here: https://shop.pimoroni.com/products/raspberry-pi-zero |
James Wheeler (3283) 344 posts |
I have a Pi Zero v1.3 but almost never use it and not tested GPIO. I’d happily build you one in DDE, but still reading the manuals (only got ’em yesterday), so not even tried build RO yet. Sorry. |
Lothar (3292) 134 posts |
Meanwhile I made a GPIO library for the Pi Zero W which replaces the inoperative GPIO module SWIs e.g. SYS “GPIO_WriteData”, val1%, val2% becomes CALL gpio_write, val1%, val2% etc. Should someone else needs it I can provide it. However RISC OS Pico will not make it into a commercial embedded OS with these kind of problems :-) |
James Wheeler (3283) 344 posts |
To be honest, I don’t know of a single commercial embedded OS that comes with a ready made image (although I wouldn’t be surprised if they exist). Most require a little dev so you can build it for purpose without extraneous features. |
Sprow (202) 1158 posts |
There’s no one in charge here, these forums are hosted by ROOL for us to talk amongst ourselves. Specifically on the Zero-W, it’s not simply a case of adding 9000C1 to the HAL, since the WiFi module is likely using some of the lines it’d need a new entry in the ‘forbidden pins’ table too. So far nobody has offered any hard facts about which lines those are. Example sources of facts are: studying the Linux device tree; asking the Pi foundation; getting the relevant page of the schematic; looking which pins the WiFi driver uses; and probably some others I can’t think of.
ROOL do offer professional services according to the 2nd sentence on the front page, so if you have a commerical use that is blocked by not being able to buy Pi Zero from the places that they are in stock from, you should have your company contact ROOL and pay for the work to be done right away. However, there are plenty of other things I’d like ROOL to be doing or hurrying up on, Pico isn’t one of them. |
Lothar (3292) 134 posts |
> Specifically on the Zero-W, it’s not simply a case of adding 9000C1 I did not know that. I had thought connections would be identical to the Pi 3 > Meanwhile I made a GPIO library for the Pi Zero W The embedded program I ported from the Pi Zero runs fine with that. It uses bit-bang SPI so likely accidentially I did not use any forbidden pins. At least nothing broken so far :-) > you should have your company contact ROOL I am not with a company, but some company I am in contact with may be interested in RISC OS Pico for embedded. |