can't communicate with my BS2sx OEM.
Dgswaner
Posts: 795
I connected my serial cable, as i did so I "zapped" it with static. since then I cannot communicate with the stamp.
the stamp is currently running the last program I uploaded. I'm assuming that this mans the PIC chip and voltage regulator circuitry are working. I thought I blew the Max232 chip as it's first in line to the port. I've replaced it and still the same thing. with the exact same cable, port and program, I can upload to different stamps. I know the problem is within the stamp. I tested the port and I have connectivity from the pins to the max232 chip. the max232 has power. I'm guessing that a vital resistor or cap. was fried. I don't know enough about the circuit to know where to go from here. can someone offer advice on how to solve this? I don't know how to test a capacitors or resistors. in circuit. of if you even can.
help would be greatly appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
the stamp is currently running the last program I uploaded. I'm assuming that this mans the PIC chip and voltage regulator circuitry are working. I thought I blew the Max232 chip as it's first in line to the port. I've replaced it and still the same thing. with the exact same cable, port and program, I can upload to different stamps. I know the problem is within the stamp. I tested the port and I have connectivity from the pins to the max232 chip. the max232 has power. I'm guessing that a vital resistor or cap. was fried. I don't know enough about the circuit to know where to go from here. can someone offer advice on how to solve this? I don't know how to test a capacitors or resistors. in circuit. of if you even can.
help would be greatly appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
Comments
As for what might be dead...it is entirely possible that you fried one or both ports on the interpreter chip (A2 and A3 I believe are used for serial Tx and Rx), which would result in everything else working except the built-in serial port. However, it might only be the transistors (if your design has them) - if you have a logic probe (if not, make one!!) then you can verify if there is serial data making it to the BS2sx interpreter.
Also, something else to check...when you use the "Identify" in the Stamp IDE software, or try to download new firmware to the Stamp, does it reset your BS2sx? If so, then the portion of the circuit responsible for responding to the ATN line is working.
so your saying that possibly the "serial port" on the interpreter chip is blown not the max232 the other Dip 8 chip you have to buy from parallax is the Eprom isn't it?
thanks for the input.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
It sounds like you may have indeed fried the I/O pins on the interpreter chip responsible for serial communication - however, make sure that the Stamp is receiving the ATN signal to reset, otherwise it will never respond to an ID query or software download. If you use an LED and a logic gate to buffer the signal you can confirm that (1.) the Stamp is getting a reset signal and (2.) the Stamp is receiving serial data on the correct I/O pin. Either one should show as a brief flash of the LED, if you configure the polarity of the LED so that it is off in the normal resting state of the control line or I/O pin.
Aside from checking the I/O lines with a logic probe, you could try swapping the interpreter chip if you have a spare. It sounds like you have tried all other culpable suspects.
Let me know what you find!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
I don't have a logic probe and I really don't know how to use one. if you pointed me to a source on how to make and use one I'm always up for learning. I wouldn't rule out a post-mortem.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
If you want something more official, check here.
For the BS2SX there is usually a small resistor between the RX and TX lines (along with a signal diode) on the side facing the PC. The other trick is that you need a pair of .1uf caps on the ATN line going to the stamp.
The wiring is similar on the Prop but the ATN signal is reversed. I know I made a post about this topic a quite a while back and i'll have to search through some old posts to find it if you are going to try the OEM stamp again and still have problems with it.
Robert