Shop OBEX P1 Docs P2 Docs Learn Events
Downloading code — Parallax Forums

Downloading code

saliksalik Posts: 9
edited 2006-04-02 06:06 in BASIC Stamp
I am using a BS1 with serial adapter, i don't get why the code won't download it says "no BASIC stamp found" i don't get what I am doing wrong i have the ground connected to ground on battery, serial connector soldered into appropriate pins, i've done acontinuity check on all pins nothing shorts everything is connceted.
I applied power to the stamp via an 8.4 V r/c plane battery and plugged in the serial cable (checked to make sure A is opposite ground and >> is connect to ground)
is there anything i'm missing????!!?!! i also clicked the BS1 icon in the editor as well

Comments

  • neotericneoteric Posts: 144
    edited 2006-03-21 15:53
    Well, since nobody has answered, I'll try to help.· First, did you search the Parallax messages for an answer.·

    much discussion:· http://search.parallax.com

    This is a common problem, and usually requires that you set your latency on your PC serial port very low.· Lowest is 1, which is what I use.

    A couple of questions....

    Have you hooked ever had any stamps recognized by the PC?

    Are you using a USB to serial adapter?

    Do you have a Pocket PC or other Activesync software going.

    PS· are you using windows?

    Post Edited (neoteric) : 3/21/2006 8:21:16 PM GMT
  • Shawn LoweShawn Lowe Posts: 635
    edited 2006-03-21 20:16
    do you have a wall wort you can connect to the bs-1? Maybe your battery is low.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Shawn Lowe


    Remember - No matter where you go
    There you are.
  • saliksalik Posts: 9
    edited 2006-03-22 03:05
    i don't think battery is low because i measured the voltage it was 8 volts. (more than enough)

    but one question: how do I set latency ? i am using windows
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-03-22 03:12
    · Are you using a USB-to-serial converter?·

    · To do this (adjusting the send & receive buffers), open Device Manager [noparse][[/noparse]Control Panel / System -- Hardware].·· Find your USB-to-serial converter in COM & LPT, click it, and then click the Advanced button, then you'll find the two slider bars.

    ··PS -- How about ditching that cry-baby emoticon?

    · PPS -- 3 Posts since this one and Salik's participation in the problem-solving process has been less than active.


    Post Edited (PJ Allen) : 3/23/2006 2:42:39 AM GMT
  • philipad23philipad23 Posts: 44
    edited 2006-03-22 05:01
    I have the same problem. Basic Stamp 2 Board of Education works fine, but with the same serial cable connected to BS1 with serial adapter the editor don't find the BS1.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-22 05:19
    8 volts?· What sort of battery are you using?· Are you getting that voltage while it is connected and powering the Board?· If it's a 9V battery it could easily be sagging below what the regulator needs.· As for latency, you need to determine how you're connecting to the computer.· As PJ asked, are you using USB?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Vern GranerVern Graner Posts: 337
    edited 2006-03-23 00:40
    philipad23 said...
    I have the same problem. Basic Stamp 2 Board of Education works fine, but with the same serial cable connected to BS1 with serial adapter the editor don't find the BS1.

    In order to comnmunicate with the Basic Stamp 1 serial adapter you have to be using the BASIC Stamp Windows Editor version 2.2.5. Earlier versions do not support the BS1 serial adapter. The fact that things work with the BSII, but not with the BS1 serial adapter would tend to indicate you might have an outdated editor..? smile.gif

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
  • philipad23philipad23 Posts: 44
    edited 2006-03-23 22:45
    thanks vern
  • Vern GranerVern Graner Posts: 337
    edited 2006-03-23 23:24
    philipad23 said...
    thanks vern

    No prob, happy to help. I wonder if this did/would solve Salik's problem as well...?

    smile.gif

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
  • philipad23philipad23 Posts: 44
    edited 2006-03-24 07:51
    actually it didn't work. I downloaded 2.2.5 editor but still dont get it
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-03-24 12:58
    · L-O-L
    · I use the 2.1 version of the PBASIC IDE to program BS1s all the time.· Haven't used it via a USB-to-serial though (if that's what somebody was meaning.)
    · Still waiting for salik to participate in the problem-solving process.· What's the deal there?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-24 15:45
    If you don't reply to questions how can we help you?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • saliksalik Posts: 9
    edited 2006-03-26 06:14
    really sorry i was out of town for a robotics competition. I'm back now and to answer your questions, this is an R/C plane battery, 800maH
    I'm not using a USB to serial adapter, straight into the serial port, I will try what you suggested about changing speeds on the com port as soon as I get the chip back from school
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-03-26 14:10
    salik said...
    I'm not using a USB to serial adapter, straight into the serial port, I will try what you suggested about changing speeds on the com port...
    Since·there's not·a USB-to-serial adapter then "changing speeds" is not a fix.
  • SAMYTRIXSAMYTRIX Posts: 11
    edited 2006-03-26 14:18
    Make sure you have this at the beginning of your code, I had the same problem:

    ' {$STAMP BS1}
    ' {$PBASIC 1.0}
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-03-26 14:40
    Well, if you're checking your program with the PBASIC IDE, it'll tell you that you're missing the Directive/s.
  • saliksalik Posts: 9
    edited 2006-03-27 22:58
    i already have that in my code
  • philipad23philipad23 Posts: 44
    edited 2006-03-28 22:19
    I think we have faulty BS1 salik
  • philipad23philipad23 Posts: 44
    edited 2006-04-01 18:35
    hm....
    It seems we will never get a rensposible answer from parallax stuff here.....
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-01 19:00
    philipad23 said...
    1)· I have the same problem. Basic Stamp 2 Board of Education works fine, but with the same serial cable connected to BS1 with serial adapter the editor don't find the BS1.
    2)· actually it didn't work. I downloaded 2.2.5 editor but still dont get it
    3)· hm....
    It seems we will never get a rensposible answer from parallax stuff here.....
    salik seems to come and go.

    Well, I'm not Parallax, but, philipad23, I (and others) need to know the particulars of your set-up regarding your BS1.· Are you using a carrier board or a B-o-E and a BS1-IC or·a board of your own devise, power supply or battery, etc.
  • philipad23philipad23 Posts: 44
    edited 2006-04-01 19:05
    thanks for the reply...

    I am using serial adapter for BS1.

    I have the headings

    ' {$STAMP BS1}
    ' {$PBASIC 1.0}

    and the BS1 is connected to serial adapter as shown on·its datasheet...

    Am·I missing something?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-01 19:15
    philipad23 said...
    Am·I missing something?
    OK -- I'll ask, again:· Are you using a carrier board or a B-o-E and a BS1-IC or·a board of your own devise (protoboard, experimenter pcb, etc.), power supply or battery, etc.
  • Paul Sr.Paul Sr. Posts: 435
    edited 2006-04-01 19:34
    philipad23 said...
    hm....
    It seems we will never get a rensposible answer from parallax stuff here.....

    Bunk!!!
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-01 19:46
    The PDF does not show the power connections.· Here is a possible solution.
    583 x 597 - 35K
  • philipad23philipad23 Posts: 44
    edited 2006-04-01 19:48
    thanks PJ Allen
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-04-02 06:06
    salik said...(trimmed)
    I'm not using a USB to serial adapter, straight into the serial port, I will try what you suggested about changing speeds on the com port as soon as I get the chip back from school
    Is the computer a desktop or laptop computer?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.