ASPS-DAQ firmware.
Used libraries are under libraries/. You'll probably need to move them to the libraries directory for your Energia install OR you can just create a symbolic link to the directory. I seriously recommend creating a symbolic link. On Windows this can be done with the "mklink" command in the command prompt.
Note that this has submodules, so you need to clone recursively. git clone --recursive https://github.com/ara-daq-hw/asps_daq_basic.git
When the uC is unprogrammed, it's in bootloader mode, so you can just use LM Flash Programmer using the serial connection and it will program OK. After it's programmed, give it a MAC address (don't screw up! It's a one-time program, for the most part). After that it can connect to the network, and the Ethernet bootloader will work.
If you screw up the Ethernet bootloader somehow, recovery is still possible using the GPIOs of the CP2104, however, it's not fun.
- Get the AN223 software here: http://www.silabs.com/documents/public/example-code/AN223SW.zip
- Open up CP210x Port Read/Write Example
- Select the serial port for the Tiva (make sure it's not open elsewhere!).
- Check off "Pins to Change" for GPIO 3. GPIO 3 State (in the Write Latch section) should be 0.
- Click "Write Latch." GPIO 3 State (in the Read Latch section) should now be 0.
- Uncheck GPIO3, check GPIO2. GPIO 2 State (in the Write Latch section) should be 0.
- Click "Write Latch." GPIO 2 State (in the Read Latch section) should now be 0.
- Click on the 0 in GPIO 2 State (in the Write Latch section). It should change to 1.
- Click on "Write Latch." GPIO 2 State (in the Read Latch section) should now be 1.
- Click on the 0 in GPIO 3 State (in the Write Latch section). It should change to 1.
- Uncheck GPIO 2. Check GPIO 3.
- Click on "Write Latch." GPIO 3 State (in the Read Latch section) should now be 1.
- Close CP210x Port Read/Write Example.
The Tiva is now in bootloader mode on the serial port, and can be programmed.