Go to advanced search

by tank
Mon Sep 21, 2015 4:47 pm
Forum: Bare metal, Assembly language
Topic: Board Revision with new format
Replies: 5
Views: 1234

Re: Board Revision with new format

Thanks both for the replies.
I can get the info from these examples now.
It seems strange that this info is not publicised anywhere though.
by tank
Sun Sep 20, 2015 6:59 pm
Forum: Bare metal, Assembly language
Topic: Board Revision with new format
Replies: 5
Views: 1234

Re: Board Revision with new format

Thanks for the code DougieLawson, but I more interested in the values that are given in the last two types you list, and how they relate to model,memory ETC. I knew the old style types as they are listed in many places, but the new type doesn't seem to be documented anywhere....
by tank
Sat Sep 19, 2015 9:19 am
Forum: Bare metal, Assembly language
Topic: Board Revision with new format
Replies: 5
Views: 1234

Board Revision with new format

It seems the board revision returned value from the mailbox now has a new format. If bit 23 is high, the bits below indicate memory size, memory manufacturer, Processor type and Model. Is there any documentation on the values returned ? Maybe some example code to convert these values to the old Revi...
by tank
Thu Apr 23, 2015 7:04 am
Forum: RISCOS
Topic: Enigma Simulator
Replies: 14
Views: 12374

Re: Enigma Simulator

Still no further forward with getting the Enigma sim running in RISC OS on the RPi2, though. I wonder if there is a feature that would fool RISC OS into thinking there's only one CPU core. Or if there's some sort of compatibility mode switch in the boot time config file. That sounds like something ...
by tank
Sun Mar 15, 2015 6:52 pm
Forum: RISCOS
Topic: Limited storage space?
Replies: 9
Views: 3333

Re: Limited storage space?

The tool cannot change the size of an already formatted card. It just adds the "bodged" partition onto an already formatted space. HForm is the tool that actually formats the card, and that cannot expand an already formatted card, only overwrite the existing data. You need to copy the contents of yo...
by tank
Sat Mar 14, 2015 5:15 pm
Forum: RISCOS
Topic: Limited storage space?
Replies: 9
Views: 3333

Re: Limited storage space?

by tank
Sat Mar 07, 2015 12:00 am
Forum: RISCOS
Topic: Risc OS Pi RC14 Now Available
Replies: 6
Views: 2800

Re: Risc OS Pi RC14 Now Available

The source for the GPIO module is hosted on the ROOL site, and is updated to work on the Pi2.
If you need a pre-built copy of the module you can download from http://www.tankstage.co.uk/Software/GPIO.zip or email me at webmaster@tankstage.co.uk
by tank
Mon Oct 07, 2013 6:29 pm
Forum: RISCOS
Topic: RISC OS and GPIO (again)
Replies: 12
Views: 4544

Re: RISC OS and GPIO (again)

The GPIO module can access any of the GPIO pins on the Pi, including unconnected ones. All of the IO pins brought out to the connectors can be configured as GPIO instead of the other uses mentioned (SPI, UART ETC). This is 17 on a V1 Pi and 21 on a V2. The gertboard can be used, but the ATMega will ...
by tank
Sun Jul 14, 2013 11:58 am
Forum: Automation, sensing and robotics
Topic: Smart Home Energy Monitor
Replies: 34
Views: 62378

Re: Smart Home Energy Monitor

One other thing you can do with the currentcost CC128 meter is connect it directly to the Pi's serial input. I have one hard-wired to mine, using a RJ45 connector plugged into the CC128 and then wired directly to the serial pins on the Pi. I power the Pi from an external 5v regulator, and then also ...
by tank
Sun Mar 31, 2013 2:52 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

At no point did I SUGGEST there were extra GPIO's available.
Read the QUESTION asked in the first post AND my QUESTION in the news section !

P.S last post from me on this subject.
by tank
Sat Mar 30, 2013 1:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

First mentioned here http://www.raspberrypi.org/archives/1090#comment-20719. So it was actually you, not Eben, who started the myth that unconnected GPIOs might actually be connected to unused vias. No wonder you did not waste your own time probing them all. No, I asked the question, and Eben said ...
by tank
Sat Mar 30, 2013 8:22 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

I'll bump this as there is still no definitive answer for the question, do any of the unused GPIO pins come out to the back of the PCB, so a fine wire could be soldered to it ? invalid bump! This is a very old thread, and was from before the revision 2 board came on the market. When the revision 2 ...
by tank
Fri Mar 29, 2013 6:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

gordon@drogon.net wrote:
It won't be fast though, but wiringPi v2 supports it...

-Gordon

Gordon, <grin> not relevant to me as I run RISC OS.....</grin>
by tank
Fri Mar 29, 2013 5:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

Thanks for the reply, but I still would like to know (as the very first question of this thread) if any of the unused pins are get-at-able. If you think you can solder to a bare via, then why can you not probe all the vias under the SoC, while toggling all the unused GPIOs? I did that once, and fou...
by tank
Fri Mar 29, 2013 5:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

I'll bump this as there is still no definitive answer for the question, do any of the unused GPIO pins come out to the back of the PCB, so a fine wire could be soldered to it ? From what I've seen and examined - the Rev 1 doesn't really have any scope for this. There are the 4 GPIOs that were origi...
by tank
Fri Mar 29, 2013 4:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Getting at more GPIO's
Replies: 21
Views: 2458

Re: Getting at more GPIO's

I'll bump this as there is still no definitive answer for the question, do any of the unused GPIO pins come out to the back of the PCB, so a fine wire could be soldered to it ?
by tank
Mon Feb 18, 2013 6:37 am
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 4759

Re: Paralle data entry

heuristicjohn, I have added (untested as yet) multiple bit read/write SWI's for the Pi part of the GPIO module.
If you wish to test it, please email me webmaster@tankstage.co.uk !
by tank
Sun Feb 03, 2013 8:09 pm
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 4759

Re: Paralle data entry

You cannot create a "parallel port" as such, but you can read/write the 8 lines as separate values. I haven't yet looked in detail at GPIO so what I am suggesting may be absurd (if so apologies in advance!) - or there may be better ways of doing it... Would it be possible to add a SWI to "simulate"...
by tank
Sun Feb 03, 2013 2:10 pm
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 4759

Re: Paralle data entry

Advice needed please: can the RPi (under RISC OS and BASIC) cater for parallel data entry ( eg by designating 8 GPIO lines as a parallel port) ? You cannot create a "parallel port" as such, but you can read/write the 8 lines as separate values. Tank was very kind in helping me understand the GP por...
by tank
Sun Feb 03, 2013 12:11 pm
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 4759

Re: Paralle data entry

Advice needed please: can the RPi (under RISC OS and BASIC) cater for parallel data entry ( eg by designating 8 GPIO lines as a parallel port) ? I have an application where I want to read a 24-bit counter as fast as possible, as often as possible. I currently use a commercial PIC-based micro runnin...
by tank
Fri Feb 01, 2013 4:56 pm
Forum: RISCOS
Topic: PWM from GPIO18 with !GPIO
Replies: 4
Views: 2638

Re: PWM from GPIO18 with !GPIO

There is nothing in the !GPIO module that will help with using the pin/s in anything other than when it is set as a GPIO pin.
The other functions will need drivers writing to access the pin use in that mode.
by tank
Sun Nov 25, 2012 7:15 pm
Forum: RISCOS
Topic: I2C Access
Replies: 79
Views: 16128

Re: I2C Access

Thanks again tank! tried: DIM Data% 0 ?Data% = &75 Address% = &68 To_Pass% = (Address% << 1) + %1 SYS "IIC_Control",To_Pass%,Data%,1 without error! Where would I find read values returned to the BSC FIFO if I change the read/write bit to %0? I presume you mean DIM Data% 1 ? I have never used this c...
by tank
Sun Nov 25, 2012 6:39 pm
Forum: RISCOS
Topic: I2C Access
Replies: 79
Views: 16128

Re: I2C Access

I tried DIM Data% 1 ?Data%=&75 SYS"IIC_Control",&68,Data%,1 to send &75 to bus address &68 but it gives me "No acknowledge from IIC device". I am using the newest RISCOS Image but the oldest revision of the Pi board (first production batch). Which bit do I add the read/write flag to? what should Ad...
by tank
Sun Nov 25, 2012 6:33 pm
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 14193

Re: RiscOS and GPIO for dummies ...

Tank, Notes: Help file lists GPIO_LoadConfig and GPIO_SaveConfig but the load one gives me a SWI not know error. The GPIO module has Load_config and Read_config according to !StrongED. And a picky point -- 'LoadGPIO' references <ObeyDir> not <Obey$Dir>. Carl Oops, well spotted on both counts. it is...
by tank
Fri Nov 23, 2012 7:13 am
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 14193

Re: RiscOS and GPIO for dummies ...

Further reading; further tea drinking. The docs for !GPIOconfi give details about the SWI calls: Beagle/Devkit/Others GPIO_ReadMode &58F8F Read the Mode state from the GPIO input r0=GPIO number output r0=Value bit 0-2 = mode (See TRM) bit 3 = pull enable bit 4 = pull type bit 8 = input enable bit 9...

Go to advanced search