The BBB is fairly new, the tools and software are a work in progress. It's easy to get distracted chasing down a problem or feature that I want to make work, and forget what I have done or plan on working on next.
GOALS
CONNECTIVITY
- Console port, Serial
- USB port to Host, SSH via Gadget Ethernet
- USB Internet from Host to BBB
- Direct Ethernet port to BBB
- WiFi
I2C
- Wire LED display (Adafruit I2C backpack 7 Segment Display)
- Validate via command line
- Install I2C library for JavaScript environment
- Validate connectivity thru library
- Create library for display
NODE
- Create Node app to update LED display
Turns out that order very much matters, and it's pretty easy to get sucked into a side task and loose track.
PROCESS
1. Download and install updated Angstrom Image (2013-6-6 eMMC flasher image) via card.
2. Configure Windows 7 USB Internet Sharing (see blog entry)
3. Update System
4. Test I2C from Command Line
5. Configure NPM
6. Install I2C Node Module
It took me a while to determine that I had to configure NPM to not care about SSL Certificates. Until then, when I was trying to install a package, I would get Cert CA errors. Use this:
npm config set strict-ssl false
I also discovered that installing certain packages failed with messages indicating python problems. I suspect that the Angstrom image doesn't have all the necessary dependencies for NPM installed. Use this to get NPM working smoothly:
opkg update
opkg install python-modules
opkg install task-native-sdk