RPi Easy SD Card Setup - eLinux.org

RPi Easy SD Card Setup - eLinux.org RPi Easy SD Card Setup - eLinux.org

05.03.2013 Views

One promising device is the Cymbet Evaluation board (CBC-EVAL-06) available from digikey for approximately $30. Cymbet is in the business of making small batteries and this eval board is intended just as a demonstration of their product using COTS parts on a small board that plugs directly into the USB. Their product is actually the batter that backs up the RTC memory and oscillator when not receiving power from the USB. However, this demo board is very well suited to this application. Ideally, a makeroriented company will pick up this reference design and start producing boards based on it at a lower cost in larger volume. To use this board, you will need some software. libmpsse from Google Code (http://code.google.com/p/libmpsse/) is a GPL library that can talk to the board in userspace. User friendly software is a work in progress visible on GITHub http://github.com/ owendelong/Cymbet-RTC SD card reader If you will not use a preloaded SD card to boot from, you will need an SD card reader to prepare an SD card. Note that the SD card reader will be connected to a traditional PC, not to the RPi. You may use an SD card reader integrated into your PC, or you may use a dedicated USBconnected SD card reader. Note that several peripherals may also be used as an SD card reader, for example cameras, smartphones, camcorders and GPS units. Expansion & Low Level Peripherals If you plan on making use of the low level interfaces available on the RPi, then ensure you have suitable header pins for the GPIO (and if required JTAG) suitable for your needs. Also if you have a particular low-level project in mind, then ensure you design in suitable protection circuits to keep your RPi safe (details will be made available within the RPi Projects, Guides & Tutorials section). For detailed information see Rpi Low-level Peripherals.

Connecting Together You can use the diagram to connect everything together, or use the following instructions: 1. Plug the preloaded SD Card into the Pi. 2. Plug the USB keyboard and mouse into the Pi, perhaps via a USB Hub. Connect the Hub to power, if necessary. 3. Plug the video cable into the screen (TV) and into the Pi. 4. Plug your extras into the Pi (USB WiFi, Ethernet cable, hard drive etc.). This is where you may really need a USB Hub. 5. Ensure that your USB Hub (if any) and screen are working. 6. Plug the power source into the main socket. 7. With your screen on, plug the other end of the power source into the Pi. 8. The Pi should boot up and display messages on the screen. A diagram denoting the places of the different components on the Rpi, made by Paul Beech. Click to enlarge. It is always recommended to connect the MicroUSB Power to the unit last (while most connections can be made live, it is best practice to connect items such as displays and other connections with the power turned off). If you use both a R-PI power supply and a powered hub, its recommended you connect them to the same switched power bar, and use the switch on the power bar to switch off both the R-PI and hub at the exact same time. Also, always shutdown using the software shutdown function, not by pulling the plug. When not using a GUI, (with a GUI use the GUI command) you can use the command "shutdown -h now", and power off when all the LED's on the board (except the power LED) go off. This is especially important the first time you boot, as in the process the R- PI modifies the content of the SD-card, without a clean shutdown the contents of the card may be damaged. The RPi may take a long time to boot when powered-on for the first time, so be patient, and cleanly shutdown afterwards, as described above!

One promising device is the Cymbet Evaluation board (CBC-EVAL-06) available from<br />

digikey for approximately $30. Cymbet is in the business of making small batteries and<br />

this eval board is intended just as a demonstration of their product using COTS parts on a<br />

small board that plugs directly into the USB. Their product is actually the batter that<br />

backs up the RTC memory and oscillator when not receiving power from the USB.<br />

However, this demo board is very well suited to this application. Ideally, a makeroriented<br />

company will pick up this reference design and start producing boards based on<br />

it at a lower cost in larger volume.<br />

To use this board, you will need some software. libmpsse from Google Code<br />

(http://code.google.com/p/libmpsse/) is a GPL library that can talk to the board in userspace.<br />

User friendly software is a work in progress visible on GITHub http://github.com/<br />

owendelong/Cymbet-RTC<br />

<strong>SD</strong> card reader<br />

If you will not use a preloaded <strong>SD</strong> card to boot from, you will need an <strong>SD</strong> card reader to<br />

prepare an <strong>SD</strong> card.<br />

Note that the <strong>SD</strong> card reader will be connected to a traditional PC, not to the <strong>RPi</strong>. You<br />

may use an <strong>SD</strong> card reader integrated into your PC, or you may use a dedicated USBconnected<br />

<strong>SD</strong> card reader. Note that several peripherals may also be used as an <strong>SD</strong> card<br />

reader, for example cameras, smartphones, camcorders and GPS units.<br />

Expansion & Low Level Peripherals<br />

If you plan on making use of the low level interfaces available on the <strong>RPi</strong>, then ensure<br />

you have suitable header pins for the GPIO (and if required JTAG) suitable for your<br />

needs.<br />

Also if you have a particular low-level project in mind, then ensure you design in suitable<br />

protection circuits to keep your <strong>RPi</strong> safe (details will be made available within the <strong>RPi</strong><br />

Projects, Guides & Tutorials section).<br />

For detailed information see Rpi Low-level Peripherals.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!