Shop OBEX P1 Docs P2 Docs Learn Events
USB data logger problem — Parallax Forums

USB data logger problem

ilyailya Posts: 13
edited 2008-03-13 01:33 in BASIC Stamp
I have connected a USB mass storage device to the Memory Stick Datalogger. I have also wired the Memory Stick Datalogger how the quick start guide shows. When i connect the USB device a red light stays on on the Memory Stick Datalogger. When I try to run the test program supplied by parallax it gives an error message and says it cannot connect to the USB device. Does anyone know what could be the problem? The USB device is functional and I have already ran the chkdsk function on it just in case.

Comments

  • phil kennyphil kenny Posts: 233
    edited 2008-03-12 03:49
    Ilya,

    It would help if you listed all of the messages you see on the Debug screen.

    Also, did you try running the Parallax Demo program as well as the Test program?

    phil
  • ilyailya Posts: 13
    edited 2008-03-12 22:11
    this is what happens when i run DataloggerTestv1.0.bs2 with the USB device plugged in beforehand:

    "Memory Stick Datalogger Test V1.0

    Synchronizing..."


    When i take the USB device out of the datalogger this happens:

    "Memory Stick Datalogger Test V1.0

    Synchronizing...
    Checking for USB Flash drive...
    Drive D: Ready...
    Random Number (Seed) = 7618

    Error reading the seed file -- Halting execution!"

    This is what happens when i try running the DataloggerDemoV1.0.bs2 when the USB device plugged in beforehand:

    "Memory Stick Datalogger Demo V1.0

    Initializing...Done!
    Synchronizing...Done
    Switching to Short Command Mode...Done!
    Waiting for Memory Stick....................................................
    ......."

    the "..." keep going indefinitely.
  • phil kennyphil kenny Posts: 233
    edited 2008-03-12 23:16
    Try doing a full format of the flash drive using Windows Explorer after connecting it to
    one of your PC USB ports.

    Then run the DataloggerTestv1.0.bs2 program again. This should write a file named
    DATAFILE.TXT to the flash drive.

    Plug the flash drive back into the PC and use Windows Explorer to see if it is there.
    If it is, open the file with Notepad and look at the contents.

    phil
  • ilyailya Posts: 13
    edited 2008-03-12 23:59
    It still gets stuck at this part:

    "Memory Stick Datalogger Test V1.0

    Synchronizing..."

    It also did not write any file on the USB device.
  • phil kennyphil kenny Posts: 233
    edited 2008-03-13 00:24
    If you are using a 9v battery, try an AC adapter.

    Double check the wiring.

    Assuming you've checked the wiring, all I can suggest at this point is to try
    using a different flash drive.

    phil
  • ilyailya Posts: 13
    edited 2008-03-13 00:34
    I am using a NX-1000 board to program the board. I checked the wiring again and used a different USB device to the same result. Could the actual datalogging board be corrupted? IF so could i return this one for a new one?
  • phil kennyphil kenny Posts: 233
    edited 2008-03-13 01:33
    I'm not familiar with that board. Try calling Parallax Tech Support.
Sign In or Register to comment.