Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Is there a way to use the raspberry pi like a arduino. (i.e.) without a Operating system?
Just connect it to the USB of your computer and download code onto it, and next time the raspberry pi boots, it runs that program (infinitely). just as an arduino would.
When i Googled how to use the RPi like an arduino, all i get is using the raspberry pi's gpio and not something what I'am looking for.
What i finally want to do is develop my own bootloader and a bare bones OS using Assembly, C and ARMGCC. So i need a way of burning the code onto my board.
Could any one help me on how to do this?

share|improve this question

1 Answer

up vote 3 down vote accepted

Look this lesson http://www.cl.cam.ac.uk/freshers/raspberrypi/tutorials/os/

It's an ARM-only lesson but it use piece of C for USB driver

share|improve this answer
where is the link for the USB driver part, i could not find it!! but thanks for the answer, solves most of my problem. but is there a way to boot without a sd card?? – deepak Mar 3 at 15:40
No, there is not any way to boot without an sd card installed as the card firmware is resident on the card – Eineki Mar 4 at 1:28
@deepak : you can find it on the author's Github : github.com/Chadderz121/csud – chriga Mar 4 at 19:33
thanks a lot @chriga!! – deepak Mar 5 at 10:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.