yampp-3/USB Testing

You can order the PCB, kits or assembled boards for this project at the yampp Web Shop.


For those of you that have built your own yampp-3/USB or anyone else that just want to check the funcionality, you can use the yampp-3/U testprogam.
This page will describe the various tests, and what to check if something doesn't work as expected.

  Phase 1 - Getting ready

First of all, you need to be able to program the yampp.
If your player is up and running, you can download the test program (see link below), over the USB link by using yampplink.
Follow the instuctions on the yampplink page to download the bootload and verify that you can program the player, before going to the next step. Note that the power supply to the player should be 7-14 V, capable of 1-2 Amp.

  Phase 2 - Downloading the Test Program

Now you have the bootloader done, your USB link should hopefully work. If you know how to do it, download the test app via the USB link as with the normal player app. If you don't know how to do this, or your USB link doesn't work, you can use the combined download file (see link below), that contains both the bootloader and test program in one.
While the bootloader is not really needed for the tests, it makes it easier to download the real app after testing. To download the test program without the USB link, follow the instructions for downloading the bootloader on the yampplink page, but just use the test program file instead.

  Phase 3 - Does it start ?

To run the test programs, you need to have some communication with the player. This is done via a serial terminal program like Hyperterm (God forbid), the terminal in yaap, or some other terminal program. The serial settings should be 115.200 bps, 8 bit.
Connect the player to the comport, and power on the player. You should see the following (the date may be different) :

   Hi, MP3 world!
yampp3/USB Alive

yampp-3/U test code   Sep 25 2002 23:23:23
Press '?' for menu.
Press the '?' key on your keyboard to get the test list. That should display this :
Test list :
0: VS1001 SDI R/W Test
1: VS1001 Memory Test
2: VS1001 Dump Registers
3: VS1001 Sine Test
4: VS1001 Sweep Test
5: VS1001 Volume Test
6: VS1001 Clock Doubler
7: ATA Test
8: RAM Test
9: Databus Walk
a: Address Walk
b: USB Test
c: Keyboard Test
d: IR Test
e: Start Bootloader
-: Dump Prev sector
+: Dump Next sector
So far so good. If everything worked as described above, you can continue to step 4.
If not, you have a problem ! Here's what to check :

Still nothing ? Then you're in trouble. Try the discussion board to get some tips.

  Phase 4 - The Tests

Here's a short description of each test. More detailed description will follow later.
Some tests will run until terminated manually. Use the ESC (Escape) key to terminate these tests.

VS1001 SDI R/W Test
This test will write and read back/verify a value on all the VS1001 registers.

VS1001 Memory Test
Runs the internal memory test of the VS1001 and verifies that the return code indicates no errors.

VS1001 Dump Registers
Dumps the value of all VS1001 registers.

VS1001 Sine Test
Plays three 1kHz sinewave beeps.

VS1001 Sweep Test
Steps through all the VS1001 sinewave tests. Watch your ears !

VS1001 Volume Test
Sweeps al volume settings and pans from left to right (or is it the other way ?)

VS1001 Clock Doubler
Checks the clock doubler. You should hear a 500Hz and a 1KHz tone.

ATA Test
Check that your disk can be read properly. Should show something like this :

Conner Peripherals 850MB - CFA850A      
Max LBA = 0x196be4,  Drivesize = 813 MB
and then a hexdump of the first sector on the disk.

RAM Test
Performs a number of tests on the external RAM chip.

Databus Walk
Sends a "walking" 1 pattern on the databus. Can be used to check for shorts or soldering errors with an oscilloscope.

Address Walk
Sends a "walking" 1 pattern on the addressbus. Can be used to check for shorts or soldering errors with an oscilloscope.

USB Test
To run this first connect the USB cable. Start another terminal window and open the COMx comport that your USB driver is mapped to. Then run the test. You should see this on both terminal windows :

USB <-> Serial link up
Enter some characters.
Press ESC to end test.
Any characters entered should show up on the other terminal.

Keyboard Test
Displays the status of the keypad. Use this to check for stuck keys. Can also be used to find databus errors.

IR Test
This initially tries to determine the standard of your remote. Keep a key on the remote pressed until the program says it has detected your remote (may take 1-2 seconds).

Start Bootloader
This simply jumps to the bootloader so you can download a new app over the USB link.

Dump Prev sector
Dumps the previous sector on the disk.

Dump Next sector
Dumps the next sector on the disk.



  Downloads

Download yampp3/U Testcode in hex and bin formats (zip)


Download combined yampp3/U Testcode and Bootloader (zipped hex)


You can order the PCB, kits or assembled boards for this project at the yampp Web Shop.

[Home]