Skip to content

Manufacturer Bare Metal Testing Procedure Sound Module

Aylr edited this page Aug 10, 2013 · 4 revisions

Manufacturer Bare Metal Testing Procedure Sound Module

Raw import. Do not use this version.

Updated 08/10/2013 11:06

This is the procedure for testing Sound Module boards from the bare metal off the assembly line. This is not intended for normal users.

Things you'll need:

  • 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

Bootloader

Using Arudino IDE 1.0.2

  1. Plug in AVRISP mkII to ICSP header port on the Sound Module
  2. Plug in a 12V power supply to the Sound Module
  3. Tools > Board > Arudino Uno
  4. Tools > Programmer > AVRISP mkII
  5. Tools > Burn Bootloader (This should take 2-3 minutes)
  6. It should say "Done burning bootloader"
  7. Unplug the AVRISP mkII and set aside. All firmware updates from now on will occur though the FTDI cable

Firmware

Required Arduino libraries

Installation instructions are found here: http://arduino.cc/en/Guide/Libraries

Sound Module Firmware & Installation

Again, using Arduino IDE 1.0.2

  1. Plug in micro USB to Sound Module and USB to computer
  2. Plug in a 12V power supply to the Sound Module
  3. Download the SD Web Files folder from our github at https://github.com/Aylr/theHB
  4. Put all the contents of that folder (not the folder itself) onto the root directory of an empty, formatted SD card
  5. Insert that SD card into your Sound Module (or arduino if your are bringing your own hardware)
  6. Download the latest firmware file Sound Module_Firmware.ino from https://github.com/Aylr/theHB
  7. Open the file Sound Module_Firmware with the Arduino IDE
  8. Tools > Board > Arudino Mega 2560 or Mega ADK
  9. Tools > Serial Port > Choose your serial port
  10. In the Arduino program: File > Upload. This compiles the firmware and updates your Sound Module (or arduino).
  11. 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.
  12. After the flashing stops, you should see the message "Done uploading."

Quick LED Testing

  1. Ensure that NO SD card is in the microSD slot.
  2. Plug the Sound Module into your network with an ethernet cable.
  3. Power the Sound Module with a 12V power supply via the black power jack
  4. 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)
  5. 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)
  6. All input and output LEDs will remain flashing indicating that there is no SD card.
  7. Open your browswer (on the same network) and go to http://Sound Module.local
  8. You should see a plain page titled "SD Card Failed"
  9. At this point you've verified that the network is working and that the IO LEDs are working.

Full SD/IO Testing

  1. Plug the Sound Module into your network with an ethernet cable.
  2. Power the Sound Module with a 12V power supply via the black power jack
  3. 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)
  4. 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)
  5. At this point you should see all the input & output LEDs go off indicating a ready state.
  6. Open your browswer (on the same network) and go to http://Sound Module.local
  7. Wait approximately 30-45 seconds for the interface to fully load. The initial load is slow due to the limits of the microprocessor.
  8. Navigate to the override page.
  9. Turn all outputs ON. All output LEDs should turn on.
  10. Turn all outputs OFF. All output LEDs should turn OFF.
  11. At this point you've verified:
    • That the network is working
    • SD card functions correctly
    • IO indicator LEDs function

Clone this wiki locally