Shop OBEX P1 Docs P2 Docs Learn Events
No message window — Parallax Forums

No message window

JF002JF002 Posts: 5
edited 2008-03-28 15:00 in General Discussion
Hi,
I have a USB Boe-BOT. Until now, I used a Basic Stamp and everything worked well.
Now, I'm trying to use a Javelin Stamp instead. I just plugged the javelin in place of the basic stamp.

I downloaded the IDE and followed the documentation. I wrote a little java program that just do a System.out.println().

The IDE identifies the javelin on COM3 and program it without any problem.

But that's all... The documentation says a 'message window' should open and show me the message from the javelin but I see nothing.

If I click on menu Debug-> Show debug window or Debug->Message, nothing happens...

I tried to use an example program (terminalTest.java). When I run it, the lights next to the USB port on the BoeBot are flashing but... still nothing on my computer!
I tried then to run a debug session but when I click on 'Step Over', I get an error (Error communicating over the serial port (corrupt packet $00).

Am I doing something wrong?

Thanks !

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-03-27 13:16
    Have you read this thread:
    http://forums.parallax.com/showthread.php?p=656527

    If the Javelin IDE does not receive the messages properly, it will simply
    discard them and as a result the messagewindow is not opened.
    A 1k resistor between pin SIN and GND (see link above) should resolve that problem.

    regards peter
  • JF002JF002 Posts: 5
    edited 2008-03-28 12:43
    I've read this post but the problem describe their is not the same : I can't receive message from my Javelin to de computer... I didn't try to send something to the javelin ...
    As the bot is not mine, I don't want to solder a resistor on it :s
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-03-28 12:59
    The javelin module has onboard a 4.7k feedback resistor
    between pins SOUT and SIN. When the javelin transmits
    out of SOUT it uses the idle level at the SIN pin.
    Without the 1k resistor this idle level on the usb board,
    fluctuates with SOUT resulting in an error datastream
    on SOUT, so the IDE never receives valid messages.
    Contact the owner of the board. The 1k resistor does
    not affect the board's function, even when reusing it with a basic stamp.

    regards peter
  • JF002JF002 Posts: 5
    edited 2008-03-28 13:54
    Ok, thanks, I'll see what I can do [noparse];)[/noparse]
    Do you think I could try to push the resistor in the socket, next to the Javelin pin? Just to see if it's working or not...

    I tried another little program the light a led on a pin and it's working. So, the Javelin is OK, the only problem is that I can't receive debugging information from the Javelin...
  • JF002JF002 Posts: 5
    edited 2008-03-28 14:01
    Another question? Could my problem be caused by a bad configuration of my COM port? It's a virtual COM port created by the FTDI driver. What are the parameters I should use (speed,...)?

    Thanks
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-03-28 14:23
    What I did while troubleshouting the issue, was to push the resistor in the socket on pins
    SIN and GND (pins 2 and 4), then insert a new socket into the board socket.
    Finally, I inserted my javelin into that new socket. That way you can test it out.

    Your comport is configured fine, otherwise you couldn't download programs
    into the javelin.

    regards peter
  • JF002JF002 Posts: 5
    edited 2008-03-28 14:42
    Ok thanks, I'll try that!

    I tried another thing : I used a little terminal program to see the data's on my serial port. With the 28800 baud rate, I could read the message my javelin was sending.
    But I can't configure my Com port to use 28800bps in Windows settings :s
    I don't understand how the javelin IDE manage to write the program on the javelin if the com port isn't set correctly...
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-03-28 15:00
    The javelin IDE manages the port using system calls, which do allow 28800 baud.
    Most therminal programs do not support it in their drop list, but there are
    a few terminal programs that allow you to set any baudrate (serialsniffer for example).

    regards peter
Sign In or Register to comment.