RC15 GPIO does not load on certain PI B+
Terry Swanborough (61) 152 posts |
I have 4 PI B+ here they all are screen printed with :- I can take the same RC15 SDcard and the software works only in one The others have an ELPIDA B4432BBPA-1D-F 16290R10500 in U1 Just to add a bit of confusion I have a fifth PI B+ that has a slightly different RISCOS loads fine on all of the PIs but on some of the Pis the GPIO module is not being loaded How does the GPIO module identify the board it is working on? Is there some software I can try to see what identity the boards I have here are reporting. Out of interest I have tried the software in a PI3 and it works correctly. |
Chris Hall (132) 3558 posts |
Use !ScreenHelp from !Store to see what revision number your board is. Alternatively use the code below which will produce output something like:
It is the hex number in brackets that the HAL uses to identify which model of Pi is in use and thus how memory is arranged. If it doesn’t recognise the model revision, then the GPIO module in ROM remains dormant. The Zero W (9000C1) is not yet recognised for example.
|
Terry Swanborough (61) 152 posts |
When I run the software I get :- The B+ unit that work reports The computer type is recognised from the BCMSupport module.|M One of the units that don’t work reports as below:- The computer type is recognised from the BCMSupport module.|M If I issue a rmreinit GPIO on the unit that does not work I get |
Chris Hall (132) 3558 posts |
Many thanks. Yes, it looks like 900032 is (yet another) new revision that is not yet on the list so the HAL can’t decide how memory is arranged for GPIO access… |
Terry Swanborough (61) 152 posts |
Thanks for the information. I can still use the boards in other projects so its not a problem here. It’s interesting that it partly identifies the board as a Raspberry Pi model 1 B+ (512Mbytes) Anyway thanks for your help |
Chris Hall (132) 3558 posts |
The BASIC code snippet and the !ScreenHelp identify the board type and revision in a bit wise manner whereas the HAL uses a list of revision numbers. |
Dominic Plunkett (2556) 34 posts |
I think Pi zero W (9000c1) is also not handled. http://elinux.org/RPi_HardwareHistory has a list of ids |
Terry Swanborough (61) 152 posts |
I downloaded today’s beta ROM and can confirm that the B+ (900032) Thanks to everyone. |