Shop OBEX P1 Docs P2 Docs Learn Events
USB/New Computer/BS2px problems — Parallax Forums

USB/New Computer/BS2px problems

Bobb FwedBobb Fwed Posts: 1,119
edited 2008-05-26 21:25 in BASIC Stamp
I am programming a BS2px on a computer that I usually don't use. I remember when I first plugged in a while back I had to change the COM port's latency to 1 and a couple other changes, but I can't remember what they were. I've changed the latency, but when I try to program the chip it gets the Loopback and Echo, but says "No BASIC Stamps found". I've checked the connection, checked the power. Any help you can give me? Maybe baud rate?

The chip I am using was previously programmed on a computer I don't have access to, and it is debugging info that I can read, but I can't program it.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-05-24 19:03
    If the chip is talking to the debug window then your com port is correct so the problem may be your usb to serial cable (if you are using one) or it's drivers You need to be using the latest drivers from FTDI, I think you can get them from the parallax site.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2008-05-24 19:14
    I installed the driver, and no change. I am still receiving DEBUGs, and getting loopback and echo. I have used two different USB cables. The one I use all the time (on the other computer) and another I had laying around. Uhg...I went through all of this before, and it was some really simple setting somewhere.
  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2008-05-24 19:45
    I had this all happen before: now I can partially program the chip. One time I got it to upload the whole program, but most of the time it gets to 2% or 15% before it dies.
  • FranklinFranklin Posts: 4,747
    edited 2008-05-25 00:45
    Do you have good power to the chip?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2008-05-25 07:39
    Yes. I've done power from the 1000mA wall socket Parallax sells, a LM7808 (8V 1A regulator - supplied 8.05V) to the Vin pin, and a LM7805A (5V 1A regulator - supplied 5.06V) to the Vcc pin. Again: the chip outputs, but does not receive the program (at least not most of the time-in whole). I wish Parallax was open, because I had this exact problem before, and it took them about 10 seconds to tell me the settings to change.

    I have now tried multiple BS2 modules (BS2px, BS2, and a BS2sx), they all do the partial, but very rarely a complete program download (no matter the size or nature of the program).

    If nobody else has any ideas, I guess I will call Monday (or Tuesday if they are closed for the weekend), and will post the answer/results on here. Originally they said it had to do with some default settings for the USB ports in Windows XP. But we will see.
  • FranklinFranklin Posts: 4,747
    edited 2008-05-25 15:57
    You don't want to power both the Vin and Vcc pins. One or the other.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2008-05-25 20:58
    Yes, I know that. I was listing the different ways I have tried powering the chip. I have also now tried two different BOE boards. So ultimately...I still think it is my computer in some way or another.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-05-26 21:25
    Bobb,

    The instructions for resetting latency are available on our website on the USB Driver download page. You can get to this right from our home page by clicking on the USB icon on the lower right portion of the page. I hope this helps. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.