Go to advanced search

by Rene_is_I
Sun Apr 07, 2013 1:17 pm
Forum: General programming discussion
Topic: Another possible method to access GPIO
Replies: 20
Views: 4028

Re: Another possible method to access GPIO

Surely it would be easiest to chown the gpio to the "regular" user?
by Rene_is_I
Sun Apr 07, 2013 8:56 am
Forum: General programming discussion
Topic: Another possible method to access GPIO
Replies: 20
Views: 4028

Re: Another possible method to access GPIO

@croston
For an added bonus, set the SUID bit on the scripts then you don't need to be root to control GPIO.
Never done that but another great idea.
by Rene_is_I
Sun Apr 07, 2013 8:54 am
Forum: General programming discussion
Topic: Another possible method to access GPIO
Replies: 20
Views: 4028

Re: Another possible method to access GPIO

Hi rurwin

Good idea, one less step.
by Rene_is_I
Sun Apr 07, 2013 8:23 am
Forum: General programming discussion
Topic: Another possible method to access GPIO
Replies: 20
Views: 4028

Re: Another possible method to access GPIO

Hi croston

You're right.
The examples above are only a proof of concept and to change the directory the scripts reside in
is a very simple matter.
by Rene_is_I
Sun Apr 07, 2013 12:09 am
Forum: General programming discussion
Topic: Another possible method to access GPIO
Replies: 20
Views: 4028

Another possible method to access GPIO

Hi Looking at all the options for GPIO, it involves either downloading extra libs/apps then having to make and compile them. The other option is to "echo" to dirs such as /sys/class/gpio/export and /sys/class/gpio/gpio4/direction This will quickly get tiresome. I don't know if this has been thought ...
by Rene_is_I
Sat Apr 06, 2013 1:52 pm
Forum: Bare metal, Assembly language
Topic: Frame buffer Initialisation
Replies: 19
Views: 4528

Re: Frame buffer Initialisation

Thanks.
by Rene_is_I
Sat Apr 06, 2013 12:52 pm
Forum: Bare metal, Assembly language
Topic: Frame buffer Initialisation
Replies: 19
Views: 4528

Re: Frame buffer Initialisation

@Dex
Thank you very much.
Can you provide links to the two versions of DexOS.
by Rene_is_I
Thu Apr 04, 2013 8:29 am
Forum: Bare metal, Assembly language
Topic: Which GPIO Pins are general purpose?
Replies: 7
Views: 2037

Re: Which GPIO Pins are general purpose?

Thank you jojopi.
I didn´t realize that setting a pin to either input or output automaticaly put that pin in gpio mode.
by Rene_is_I
Wed Apr 03, 2013 11:23 pm
Forum: Bare metal, Assembly language
Topic: Which GPIO Pins are general purpose?
Replies: 7
Views: 2037

Re: Which GPIO Pins are general purpose?

Thanks mahjongg will compare it to the datasheet.
by Rene_is_I
Wed Apr 03, 2013 11:06 pm
Forum: Bare metal, Assembly language
Topic: Which GPIO Pins are general purpose?
Replies: 7
Views: 2037

Re: Which GPIO Pins are general purpose?

Hi mahjongg Thanks for the reply and confirmation that a large majority can be set as general purpose. I did try and read the datasheet you referred to but it's full or errors and does not show which mode (ALT) to use to get them to be general purpose. only after running their drivers they become de...
by Rene_is_I
Wed Apr 03, 2013 11:00 pm
Forum: Bare metal, Assembly language
Topic: Frame buffer Initialisation
Replies: 19
Views: 4528

Re: Frame buffer Initialisation

Hi Dex The very latest vers of the boot loaders course random crash on all but linux, not found the course yet. This does not come to light if your OS is very small. I'm about to receive a new Pi (model B) in the next few days and wanted to try your O.S. How does the problem you described above affe...
by Rene_is_I
Wed Apr 03, 2013 10:38 pm
Forum: Bare metal, Assembly language
Topic: Which GPIO Pins are general purpose?
Replies: 7
Views: 2037

Which GPIO Pins are general purpose?

Hello

Can anyone please tell me if all of the GPIO pins going to the GPIO connector on the Model B can be made general purpose?
By this I mean pins like SDA0,SCL0,SPI_MOSI,SPI_MISO.
Which ALT (0-5) should be used ?
The datasheet is not very clear.
Thanks in advance.
by Rene_is_I
Mon Feb 04, 2013 1:39 pm
Forum: Off topic discussion
Topic: Is Raspberry Pi destroying the old economy?
Replies: 30
Views: 5752

Re: Is Raspberry Pi destroying the old economy?

How can you insult turkeys like that?
Comparing them to lawyers.
Yes you are correct that we unfortunatley need lawyers
to change the law but never under estimate the power
of public pressure and opinion.
by Rene_is_I
Mon Feb 04, 2013 12:41 pm
Forum: Off topic discussion
Topic: Is Raspberry Pi destroying the old economy?
Replies: 30
Views: 5752

Re: Is Raspberry Pi destroying the old economy?

It's true that companies are abusing patents by just
siting on them waiting for others to fall foul of them.
There should be a law that says that if a technology or
method is not implemented within 2 years from the
patent date then it lapses.
Simple solution to stop patent whores.
by Rene_is_I
Mon Feb 04, 2013 10:19 am
Forum: Off topic discussion
Topic: Is Raspberry Pi destroying the old economy?
Replies: 30
Views: 5752

Re: Is Raspberry Pi destroying the old economy?

Well put Cyrano.
by Rene_is_I
Mon Feb 04, 2013 10:07 am
Forum: Off topic discussion
Topic: Is Raspberry Pi destroying the old economy?
Replies: 30
Views: 5752

Re: Is Raspberry Pi destroying the old economy?

Is the pi killing the old economy? No but as mentioned before, the ARM is and about time. The old economy belongs to an era of dinosaur corporations who think they are invinceble but surprise, surprise. Xerox, IBM and coutless others have gone or pretty much gone and there will be others such as Nok...
by Rene_is_I
Sat Feb 02, 2013 9:58 am
Forum: Off topic discussion
Topic: Any interest in a compiling service?
Replies: 2
Views: 640

Re: Any interest in a compiling service?

Not a bad idea but I suspect many would have caps and bandwidth problems uploading and downloading
very large files.
by Rene_is_I
Fri Feb 01, 2013 6:58 am
Forum: Bare metal, Assembly language
Topic: Bare metal sound
Replies: 5
Views: 3653

Re: Bare metal sound

Thanks Dex
by Rene_is_I
Thu Jan 31, 2013 9:54 am
Forum: Bare metal, Assembly language
Topic: Bare metal sound
Replies: 5
Views: 3653

Re: Bare metal sound

I'm also a bit confused as at the begining of the code, it mentions 44.1KHz 8 bit wavs but towards the end there is reference to 11.025KHz 8 bit wavs.
Does it work with both or one of them?
by Rene_is_I
Tue Jan 22, 2013 9:23 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi OS
Replies: 82
Views: 22733

Re: Raspberry Pi OS

Here is a link to a project where the guy bit bangs the USB protocol using an AVR microcontoller.
Might be of some use:

http://dicks.home.xs4all.nl/avr/usbtiny/
by Rene_is_I
Tue Jan 22, 2013 9:07 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi OS
Replies: 82
Views: 22733

Re: Raspberry Pi OS

MC68HC908JB8 PS2 to USB: http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM014.pdf Some more possibilities from Maxim: http://www.maximintegrated.com/app-notes/index.mvp/id/3637 and from Silicon Labs: http://www.silabs.com/products/interface/usbtouart/Pages/default.aspx Nice technica...
by Rene_is_I
Mon Jan 21, 2013 9:20 pm
Forum: Off topic discussion
Topic: Whats wrong with this picture?
Replies: 18
Views: 3105

Re: Whats wrong with this picture?

Technically neither pig or horse are game, although wild boar and zebra are.
by Rene_is_I
Sat Jan 19, 2013 3:05 pm
Forum: Off topic discussion
Topic: Powering the Raspberry Pi from Sony Bravia TV
Replies: 3
Views: 2742

Re: Powering the Raspberry Pi from Sony Bravia TV

Whilst not a certified answer, my guess would be around 500mA or so for the simple reason that the TV is acting as the Master and the USB specs call for that sort of current for a Master. Of course it does not mean that Sony adhered to the standard and could have higher or lower current capabilities...
by Rene_is_I
Sat Jan 19, 2013 7:55 am
Forum: Off topic discussion
Topic: Remote control repair??
Replies: 4
Views: 1087

Re: Remote control repair??

@redhawk First clean the contacts gently with alcohol swabs, then you have two options: 1) Wedge in a small piece of tin foil (do not glue it as the glue will cause more problems later). 2) Get the special conductive paint especially made for this kind of repair. The third option is get yourself one...
by Rene_is_I
Thu Jan 17, 2013 8:31 pm
Forum: Off topic discussion
Topic: Cubieboard vs RaspberryPi B
Replies: 73
Views: 57348

Re: Cubieboard vs RaspberryPi B

jamesh wrote: If another device came along, as Eben suggested, then overall, that's a good thing for the Foundations aim's but not for the Foundation itself
Bit of a catch-22 situation.

Go to advanced search