Shop OBEX P1 Docs P2 Docs Learn Events
HELP "No Basic Stamps found" — Parallax Forums

HELP "No Basic Stamps found"

wesleeweslee Posts: 4
edited 2008-01-04 14:08 in BASIC Stamp
I·believe this has been discussed many times and i've tried few methods·like reboot my PC, reconnect and etc..
and it still fails to detect·BS2. Please help........

Error code: ·No Basic Stamps found
Loopback: Yes
Echo: Yes
Tokenize Successful
BS2 version: Rev F
Editor Version: 2.3.9
OS: Win XP
Voltage at pin·24: 8.9V

Output 0
Output 1

start:
HIGH 0
PAUSE 50
GOTO start
·

Comments

  • electromanjelectromanj Posts: 270
    edited 2007-12-09 05:45
    Hi, couple of questions-
    1. what kind of power supply are you using?
    2. have you ever been able to comunicate to the stamp before?
  • ForrestForrest Posts: 1,341
    edited 2007-12-09 05:46
    How is the Stamp connected to your computer - serial or USB? What carrier board are you using?

    Also, your BS2 program should start with:

    '{$STAMP BS2}
    '{$PBASIC 2.5}
  • wesleeweslee Posts: 4
    edited 2007-12-09 07:47
    electromanj,
    I'm using 9.6v battery pack with 700mAh and this is my first attempt to communicate the stamp.

    Forrest,
    My connection are using serial port and the board is own made circuit which i'm using 7809 circuit for Vin and 7805 circuit for Reset. I've check thru my program again and yes it's start with:-

    '{$STAMP BS2}
    '{$PBASIC 2.5}
  • ForrestForrest Posts: 1,341
    edited 2007-12-09 14:08
    >>My connection are using serial port and the board is own made circuit which i'm using 7809 circuit for Vin and 7805 circuit for Reset.

    This doesn't sound correct - Reset it typically connected thru a normally open switch and connected to ground.

    You should be able to power the Stamp 2 either with 9V connected to Vin OR 5V connected to Vdd - but not both at the same time.

    For reference - review the schematic of the simple Parallax Stamp 2 Carrier board here
    www.parallax.com/Store/Microcontrollers/BASICStampDevelopmentBoards/tabid/137/CategoryID/12/List/0/SortField/0/Level/a/ProductID/121/Default.aspx

    Post Edited (Forrest) : 12/9/2007 2:13:34 PM GMT
  • electromanjelectromanj Posts: 270
    edited 2007-12-09 16:44
    I had the same problem and it turned out to be the power supply, even though I was getting around 9 volts to the board. Sounds like your problem may be a little more complicated. I'd check out forrests advice.
  • CFFCFF Posts: 2
    edited 2007-12-09 19:10
    Check polarity of the serial data you are sending to the PC - what comes out of the stamp IS NOT RS-232 levels, it is TTL levels and inverted from what RS-232 looks like.

    Some of the Parallax boards have the inversion & level shifting circuits on them between the Stamp and the DB-9 connector, but others do not.
  • SandgroperSandgroper Posts: 62
    edited 2007-12-10 12:43
    Hi Weslee,

    Is the Reset pin connected to Vdd?· This might be the cause of the "Basic Stamp not found"·message, given that you have "Loopback: Yes" and "Echo: Yes".· The·reset pin should be left disconnected.
  • wesleeweslee Posts: 4
    edited 2007-12-10 14:32
    The Vdd are left disconnected. I did try to disconnect the Res pin as well but the result still the same. I've just check thru the link provided by Forrest and seems like the connection is exactly same as what i have now.

    Could it be due to my PC serial port problem or any possibility that my BS2 damage?
  • SandgroperSandgroper Posts: 62
    edited 2007-12-11 09:32
    There are a number of reasons why it might not be detecting the chip.· If you haven't already done so, take a peek at page 48 of the Basic Stamp manual.· A damaged chip is only one possibility.·

    Does the chip get hot when in use?··Can you try the chip in a different board?

    I had a problem with intermittent "Stamp not found" messages which I fixed by cleaning all connections.· I also had a problem with a damaged chip at one stage.· As soon as I put a new chip in the problem·disappeared.·
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-12-11 15:30
    If you've built your own board, you MUST have connected the 'right pins' to get stuff to work.

    The Parallax IDE uses the "ATN" signal (aka "DTR") to reset the chip to prepare for programming. If you haven't connected the DTR signal to the 'ATN' pin, it's not going to work.

    The 'loopback' checks that two pins are connected together -- this validates the cable is plugged in. The 'echo' checks that the BS2 hardware is plugged in -- it verifies the BS2's RS-232 signal shifting transistors are working. THEN, the IDE sends the 'reset' signal, and expects a response from the BS2 (within a VERY tight timing window) identifying what the BS2 is. If it doesn't get that, you see the report you've been seeing.

    So look at the BOE schematic, and connect the DTR to the ATN pin as indicated there (including any 'pull-up' resistors).
  • wesleeweslee Posts: 4
    edited 2008-01-04 14:08
    ahhh finally i manage to solve this problem, it's due to connection from PC to serial port. All i do is just remove the 2 cap 0.1u 100v from ATN and GND and do a direct connection.

    Thanks guys.
Sign In or Register to comment.