Go to advanced search

by ejames
Wed Jul 09, 2014 3:11 pm
Forum: Bare metal, Assembly language
Topic: Make help required please
Replies: 2
Views: 1252

Re: Make help required please

Hi,
On ubuntu, the arm tools are called arm-linux-gnueabi-* so you may need to modify the name of the executable if you are using ubuntu.
Cheers,
Emyr
by ejames
Wed Aug 14, 2013 2:55 pm
Forum: C/C++
Topic: First c program write in raspberry pi.
Replies: 55
Views: 45836

Re: First c program write in raspberry pi.

vi or emacs are good choices
and learn to use makefiles asap
http://www.cprogramming.com/tutorial/makefiles.html
by ejames
Wed Aug 14, 2013 2:47 pm
Forum: C/C++
Topic: Data Manipulation on the Pi in c++
Replies: 3
Views: 1091

Re: Data Manipulation on the Pi in c++

Do you really need a fully fledged sql database ? If it's meant to be a commercial product that means that people will have to install mysql as well. Is it meant to be a client-server application ? Why not just use a vector of a class you define which has the required fields ? You can then use the b...
by ejames
Tue Aug 13, 2013 9:37 pm
Forum: Bare metal, Assembly language
Topic: Alex's OS - not my favourite OS
Replies: 16
Views: 3847

Re: Alex's OS - not my favourite OS

Hi Jeff, If you are using a dedicated 1A power supply and not a usb socket on a computer or a hub then yes that should be fine. It may be an issue with the OS in that case. I am getting a similar issue now that I am trying at home...but i don't trust the power supply I am using...I have a better one...
by ejames
Tue Aug 13, 2013 8:52 pm
Forum: Bare metal, Assembly language
Topic: Alex's OS - not my favourite OS
Replies: 16
Views: 3847

Re: Alex's OS - not my favourite OS

Hi Jeff, I don't think it's reccomended to run a pi from a usb hub. Even though it can provide 4 amps across all 13 ports, I think USB is usually limited to about 500mA which isn't enough. You need something like this http://uk.farnell.com/raspberry-pi-psu/rpi-psu-uk-mk1/power-supply-raspberry-5v-1a...
by ejames
Tue Aug 13, 2013 4:56 pm
Forum: Bare metal, Assembly language
Topic: Alex's OS - not my favourite OS
Replies: 16
Views: 3847

Re: Alex's OS - not my favourite OS

It's more likely to be a problem with the power supply you are using not being able to supply enough current.
by ejames
Tue Aug 13, 2013 2:23 pm
Forum: Bare metal, Assembly language
Topic: Err: arm-none-eabi-as: Command not found
Replies: 14
Views: 19159

Re: Err: arm-none-eabi-as: Command not found

I would go for safely remove. On Ubuntu 13.04 I get a little eject icon next to the drive in the filemanager window - in the bookmarks section on the left - and I just click that. My SD card shows up as 2 partitions - the FAT partition with the kernel.img stuff on it which is about 59MB and the linu...
by ejames
Tue Aug 13, 2013 12:34 pm
Forum: Bare metal, Assembly language
Topic: Err: arm-none-eabi-as: Command not found
Replies: 14
Views: 19159

Re: Err: arm-none-eabi-as: Command not found

Have you accidentally moved the little locking tab on the side of the sd card ?

Also, after copying your baking pi kernel.img to it, you have to make sure that you eject it properly in the file manager otherwise strange things can happen.
by ejames
Tue Aug 13, 2013 10:32 am
Forum: Bare metal, Assembly language
Topic: Err: arm-none-eabi-as: Command not found
Replies: 14
Views: 19159

Re: Err: arm-none-eabi-as: Command not found

Hi Jeff, On mine I tested it by putting a working raspibian sd card into the card reader on my linux laptop, renaming the kernel.img to kernel.img.orig, then copying the arm assembly kernel.img over from whatever baking pi project I was looking at therefore overwriting the kernel.img on the sd card....
by ejames
Tue Aug 13, 2013 9:49 am
Forum: Bare metal, Assembly language
Topic: Err: arm-none-eabi-as: Command not found
Replies: 14
Views: 19159

Re: Err: arm-none-eabi-as: Command not found

Forgot to mention.... Use the dos2unix command to get rid of the dos style line endings in the makefile before editing it. Just do... dos2unix <file to change> You may need to sudo apt-get install it first....but ubuntu will probably tell you that if you want to use it. To do it accross all the file...
by ejames
Tue Aug 13, 2013 9:25 am
Forum: Bare metal, Assembly language
Topic: Err: arm-none-eabi-as: Command not found
Replies: 14
Views: 19159

Re: Err: arm-none-eabi-as: Command not found

Hi, Nothing wrong with your linux. It's just that on ubuntu, the arm binutils are called something slightly different to what is assumed in the makefiles provided by baking pi. All you need to do is edit a line that is near the top of the makefile. I'm doing this from memory so it might be slightly ...
by ejames
Thu Apr 25, 2013 1:39 pm
Forum: Automation, sensing and robotics
Topic: GPIB Controller
Replies: 5
Views: 10260

GPIB Controller

Interfacing a PC with GPIB is a very expensive business. I was wondering if it would be possible to send and receive GPIB data (almost) directly from the Pi using the GPIO pins. This would negate the need for any expensive USB adapters and we'd be able to drive it with the relatively fast CPU on the...
by ejames
Fri Nov 02, 2012 4:36 pm
Forum: Bare metal, Assembly language
Topic: Bare Metal ZX81 emulator
Replies: 30
Views: 10320

Re: Bare Metal ZX81 emulator

I 100% agree with hermanhermitage, I had the same idea. To that end I've created a repository on github for PiOS My aim is to get a very barebones skeleton of an OS up and running in a similar vein to DexOS and the Baking Pi course. Rather than a specific OS I guess what the barebones community need...
by ejames
Thu Feb 02, 2012 1:28 pm
Forum: General discussion
Topic: Portable screens that dont cost an arm and a leg
Replies: 38
Views: 21921

Re: Portable screens that dont cost an arm and a leg

I bought a uLCD-32PT 3.2 inch LCD display to connect to my Arduino. Seems to work nicely. If I could get my hands on a PI I could have a crack at getting it to work with one of those....
by ejames
Thu Feb 02, 2012 1:23 pm
Forum: General discussion
Topic: Portable screens that dont cost an arm and a leg
Replies: 38
Views: 21921

Re: Portable screens that dont cost an arm and a leg

<t>There are a lot of small screens out there, some with touch capability.<br/> <br/> E.g. look at http://www.coolcomponents.co.u.....Path=45_71#<br/> <br/> The problem is that the interface to these tend to be SPI or I2C or a standard serial connection, so there would need to be some major driver w...

Go to advanced search