-
Notifications
You must be signed in to change notification settings - Fork 6
Manufacturer Bare Metal Testing Procedure Sound Module
Aylr edited this page Aug 10, 2013
·
4 revisions
Raw import. Do not use this version.
This is the procedure for testing Sound Module boards from the bare metal off the assembly line. This is not intended for normal users.
- an AVRISP mkII programmer ($35)
- a sound module
- an FTDI programmer
- a 12V power supply
- a working installation of the Arduino IDE (from http://arduino.cc/en/Main/Software)
- software libraries discussed below
Using Arudino IDE 1.0.2
- Plug in AVRISP mkII to ICSP header port on the Sound Module
- Plug in a 12V power supply to the Sound Module
- Tools > Board > Arudino Uno
- Tools > Programmer > AVRISP mkII
- Tools > Burn Bootloader (This should take 2-3 minutes)
- It should say "Done burning bootloader"
- Unplug the AVRISP mkII and set aside. All firmware updates from now on will occur though the FTDI cable
Installation instructions are found here: http://arduino.cc/en/Guide/Libraries
- Ethernet library from Arduino (included in the IDE)
- SD library (included in the IDE)
- EthernetBonjour library https://github.com/neophob/EthernetBonjour
- TinyWebServer https://github.com/ovidiucp/TinyWebServer
- Flash (required by TinyWebServer) http://arduiniana.org/libraries/flash/
Again, using Arduino IDE 1.0.2
- Plug in micro USB to Sound Module and USB to computer
- Plug in a 12V power supply to the Sound Module
- Download the SD Web Files folder from our github at https://github.com/Aylr/theHB
- Put all the contents of that folder (not the folder itself) onto the root directory of an empty, formatted SD card
- Insert that SD card into your Sound Module (or arduino if your are bringing your own hardware)
- Download the latest firmware file Sound Module_Firmware.ino from https://github.com/Aylr/theHB
- Open the file Sound Module_Firmware with the Arduino IDE
- Tools > Board > Arudino Mega 2560 or Mega ADK
- Tools > Serial Port > Choose your serial port
- In the Arduino program: File > Upload. This compiles the firmware and updates your Sound Module (or arduino).
- After 10-60 seconds of compiling, the Arduino program should say "uploading" and you will see the yellow Tx and Rx LEDs directly below the microUSB port on the Sound Module flash rapidly.
- After the flashing stops, you should see the message "Done uploading."
- Ensure that NO SD card is in the microSD slot.
- Plug the Sound Module into your network with an ethernet cable.
- Power the Sound Module with a 12V power supply via the black power jack
- You should see the following LEDs turn on:
- "On" (green): directly right of the CAT5 jack
- Inputs A-F (green)
- Outputs 1-6 (green)
- Various network LEDs on the CAT5 jack and Sound Module (green and yellow)
- Open the Arudino > Tools > Serial Monitor. Set the baud rate to 115200. You should see the following:
- "Starting up Sound Module. Free RAM: nnnn KB"
- "Setting up SD card..."
- "Setting up the Ethernet card..."
- "Web server starting..."
- "Ready to accept web requests at http://Sound Module.local or at http://xxx.xxx.xxx.xxx" (the IP address assigned by your network's DHCP)
- All input and output LEDs will remain flashing indicating that there is no SD card.
- Open your browswer (on the same network) and go to http://Sound Module.local
- You should see a plain page titled "SD Card Failed"
- At this point you've verified that the network is working and that the IO LEDs are working.
- Plug the Sound Module into your network with an ethernet cable.
- Power the Sound Module with a 12V power supply via the black power jack
- You should see the following LEDs turn on:
- "On" (green): directly right of the CAT5 jack
- Inputs A-F (green)
- Outputs 1-6 (green)
- Various network LEDs on the CAT5 jack and Sound Module (green and yellow)
- Open the Arudino > Tools > Serial Monitor. Set the baud rate to 115200. You should see the following:
- "Starting up Sound Module. Free RAM: nnnn KB"
- "Setting up SD card..."
- "Setting up the Ethernet card..."
- "Web server starting..."
- "Ready to accept web requests at http://Sound Module.local or at http://xxx.xxx.xxx.xxx" (the IP address assigned by your network's DHCP)
- At this point you should see all the input & output LEDs go off indicating a ready state.
- Open your browswer (on the same network) and go to http://Sound Module.local
- Wait approximately 30-45 seconds for the interface to fully load. The initial load is slow due to the limits of the microprocessor.
- Navigate to the override page.
- Turn all outputs ON. All output LEDs should turn on.
- Turn all outputs OFF. All output LEDs should turn OFF.
- At this point you've verified:
- That the network is working
- SD card functions correctly
- IO indicator LEDs function