Logic Shrimp manufacturing resources

From DP

Jump to: navigation , search

Contents

Setup

Logic-shrimp-v1-self-test.jpg

  1. Connect a USB cable for power
  2. Program the complete firmware image (-DUMP.HEX) with a programmer
  3. Connect a cable from INPUT 1-4 to CH_OUTPUT 1-4

Test Procedure

This utility is used to test the Logic Shrimp Board during manufacturing.

 -------------------------------------------------------------------------
 Logic Shrimp Self Test utility v0.1 (CC-0)
 http://dangerousprototypes.com
 -------------------------------------------------------------------------
 Usage:
   C:\TestUtility\Manufacturing\LogicShrimpSelfTest.exe  -p device [-s speed]
   Example Usage:   C:\LogicShrimpSelfTest.exe -p COM1
           Where: -p device is port e.g.  COM1
                  -s Speed is port Speed  default is 115200
 -------------------------------------------------------------------------
  1. Run the utility and connect the Logic Shrimp board to a USB port.
  2. Make sure that port is mapped to a virtual com port and take note of the port number.
  3. Connect a cable from INPUT 1-4 to CH_OUTPUT 1-4
  4. Hit any key to run the test, and hit ESC to stop.
  5. Verify: The Self test should reply with '00' **PASS**
  6. Verify: The POWER and the ACT LED should be ON

Use example

LogicShrimpSelfTest -p COM27

Replace COM27 with the serial port assigned to your device.

Pass example

 Connect another Logic Shrimp Board
 and press any key to start the self-test again
 Or hit ESC key to stop and end the test.

 --------------- Starting a new Logic Shrimpp Self Test-------------
 Opening Logic Shrimp Self Test on COM27 at 115200bps...
 Starting Logic Shrimp Self Test...
 Test no: 1 of 1
 Logic Shrimp Self Test Reply:   00 **PASS** :)


 The POWER and ACT led should be ON


 Connect another Logic Shrimp Board
 and press any key to start the self-test again
 Or hit ESC key to stop and end the test.

Fail example

 Connect another Logic Shrimp Board
 and press any key to start the self-test again
 Or hit ESC key to stop and end the test.

 --------------- Starting a new Logic Shrimpp Self Test-------------
 Opening Logic Shrimp Self Test on COM27 at 115200bps...
 Starting Logic Shrimp Self Test...
 Test no: 1 of 1
 Logic Shrimp Self Test Reply:   02 **FAIL** :(

 Connect another Logic Shrimp Board
 and press any key to start the self-test again
 Or hit ESC key to stop and end the test.

Self test sequence

  1. Open serial port
  2. Send 0x03
  3. Get 1 byte reply, 0x00 is pass

Extended prototype verification procedure

  1. Plug in the prototype
  2. Start SUMP logic analyzer
  3. Select COM port and perform a simple capture of a test signal