I'm pretty sure the Interpreter chip is damaged since it is getting hot, you will need to get a new one from Parallax.
There still may be a seperate issue in that your serial cable and/or serial USB adapter may not be sufficient.
Here are some tests you can do:
1) Remove the Interpreter (PIC) Chip (All of these tests are with the chip removed).
2) With power applied to the BS2 OEM board, check for 5V at Pin 20 (Vdd)
- If you don't have 5V, verify that you have applied power.
- If the voltage is not correct you may have a damaged regulator, stop testing, contact Parallax.
3) Connect the BS2 OEM to your serial connection and apply power to the BS2 OEM. From the Basic Stamp Editor run identify (F6).
- Ideally, a Port should be identified with Loopback = Yes and Echo = Yes.
- This test verifies that the BS2 OEM board is connected and being found, BUT it does not verify that the DTR signal is working.
4) Connect an LED and resistor as shown in the attached drawing. Again do an F6 from the stamp editor. You should see the LED blink a few times while the identification routine is running.
- You may need to dim the lights as the pulses are very brief.
- If you don't get any pulses your serial port may not support DTR, you will need a different serial adapter.
- If it does work it does not mean that your adapter will work, but at least it supports DTR.
If all of the above tests pass I think you are safe to try getting a new Interpreter chip, if not your are going to need to follow up with Parallax support to find out your next steps.
1) Which place to provide power to BS2 depends on what you are doing with it. If the Stamp is part of a much larger device with a clean regulated +5V supply already available, then use that. If there are only a few parts using +5V (like the EEPROM and maybe an ADC or DAC or something like that drawing maybe 20mA, then by all means use the Stamp's built-in regulator. The total current drawn from the Stamp's +5V regulator should be no more than 20-30mA since the Stamp itself could draw another several mA and the Stamp output pins will also draw current from the +5V supply (like driving an LED).
2) Look at the Parallax webstore page for the product. There are always links to documentation including schematics and sample programs on those pages. The webpage for the OEM BS2 does have a link to a schematic.
There are all sorts of Stamp models. The BS2 module is functionally identical to the OEM BS2. The BS2sx, BS2p, BS2pe, and BS2px are all somewhat different. The main difference is speed. All PBasic statements that depend on processor speed require you to change some of the constants used (like Baud). There are compiler directives that allow you to have different sets of these constants for the different Stamp models and the compiler will choose one set based on the {$STAMP} directive you provide. There are also some statements in the other Stamp models that don't exist in the BS2. Some of them are quite handy to have. If you use them, you can't compile the program for the BS2. The Stamp Manual describes which statements work on which Stamps and has information on the various timing constants.
Unless I missed it in the thread - from the blurry picture you have posted it looks like your processor chip is in upside - down.
Pin 1 with the IC notch should match the silk print IC outline on the PCB.
And since you have DB 9 connector already connected try this:.
1. Power down your PC.
2. Disconnect any power to your OEM board. ( I am assuming that you have checked you solder work for unwanted solder briges before you started this excercise!)
3. Unplug the processor chip.( lift using small blade screwdriver alternating from top to bottom, check for bent pins afterwards!).
3. Power up your PC. You should get "no Basic stamp found" and Loop Yes. You may get Echo Yes also,, but it is not necessary (See manual)
This will prove that you have active COM port and the DTR - CTS hardware loop ( on OEM PCB ). Any other indication , and there can be plenty, calls for troubleshooting the PC and or the DB9 cable / connector before you get to Basic stamp!.
4. See the construction manual it explains how to wire the power source. Depending which option you used (with or without the regulator) connect appopriate power source to correct pins! If you are not sure about polarity - add a small "idiot diode" to your power test lead ( correct polarity!) before you turn it ON! Your power supply may have a current limiting adjustment - set it to minimum! Plug the processor back in.
5. Turn your PC on and try to RUN a small test program - with at least one DEBUG instruction inside! If you get "No Basic stamp found" and Loop Yes and Echo Yes (see above comments on Echo) AND your current limiting power supply indicates low voltage and overcurrent - increase the overcurrent adjustement only! You should see set voltage and a current (if your power supply has current meter - or use VOM in series of your power wire) not exceeding about 50 ma.
6. RUN your test program again and you may be home free.
7. Disconnect OEM power and then the DB9 connector. Replace with your USB adapter and apply OEM module power again.
8. RUN your test program again. Now the objective is to download the program via USB adapter.
9. If it works have a bewerage of your liking and relax.
If not - see you here again..
Cheers Vaclav
PS Sorry for repeating what was already said by others, but your fiirst posted picture did show the processor chip plugged in upside - down! It may still work , but I would not bet my life on it! Cooked processors are unreliable!
Shell out another $12 for valuable experience - mainly "read the manual and FOLLOW the instructions".
Life is great!
Comments
thank ctwardell and who help me...
I'm pretty sure the Interpreter chip is damaged since it is getting hot, you will need to get a new one from Parallax.
There still may be a seperate issue in that your serial cable and/or serial USB adapter may not be sufficient.
Here are some tests you can do:
1) Remove the Interpreter (PIC) Chip (All of these tests are with the chip removed).
2) With power applied to the BS2 OEM board, check for 5V at Pin 20 (Vdd)
- If you don't have 5V, verify that you have applied power.
- If the voltage is not correct you may have a damaged regulator, stop testing, contact Parallax.
3) Connect the BS2 OEM to your serial connection and apply power to the BS2 OEM. From the Basic Stamp Editor run identify (F6).
- Ideally, a Port should be identified with Loopback = Yes and Echo = Yes.
- This test verifies that the BS2 OEM board is connected and being found, BUT it does not verify that the DTR signal is working.
4) Connect an LED and resistor as shown in the attached drawing. Again do an F6 from the stamp editor. You should see the LED blink a few times while the identification routine is running.
- You may need to dim the lights as the pulses are very brief.
- If you don't get any pulses your serial port may not support DTR, you will need a different serial adapter.
- If it does work it does not mean that your adapter will work, but at least it supports DTR.
If all of the above tests pass I think you are safe to try getting a new Interpreter chip, if not your are going to need to follow up with Parallax support to find out your next steps.
C.W.
1)i apply 5V voltage on Vin pin and measure the voltage again... i measure voltage drop into 2V, that me my voltage regulator damage?
2) for port, yes.. the result Loopback = Yes and Echo = Yes, it work rite..
some question:
1)what u guys prefer for apply voltage to BS2.... via Vin or Vdd?
2)i think i wan make myself schematic circuit for BS2... who have some drwing for this circuit for BS2 OEM?
In your specific case --
http://www.parallax.com/Portals/0/Downloads/docs/prod/schem/bs2oem.pdf
2) Look at the Parallax webstore page for the product. There are always links to documentation including schematics and sample programs on those pages. The webpage for the OEM BS2 does have a link to a schematic.
There are all sorts of Stamp models. The BS2 module is functionally identical to the OEM BS2. The BS2sx, BS2p, BS2pe, and BS2px are all somewhat different. The main difference is speed. All PBasic statements that depend on processor speed require you to change some of the constants used (like Baud). There are compiler directives that allow you to have different sets of these constants for the different Stamp models and the compiler will choose one set based on the {$STAMP} directive you provide. There are also some statements in the other Stamp models that don't exist in the BS2. Some of them are quite handy to have. If you use them, you can't compile the program for the BS2. The Stamp Manual describes which statements work on which Stamps and has information on the various timing constants.
Pin 1 with the IC notch should match the silk print IC outline on the PCB.
And since you have DB 9 connector already connected try this:.
1. Power down your PC.
2. Disconnect any power to your OEM board. ( I am assuming that you have checked you solder work for unwanted solder briges before you started this excercise!)
3. Unplug the processor chip.( lift using small blade screwdriver alternating from top to bottom, check for bent pins afterwards!).
3. Power up your PC. You should get "no Basic stamp found" and Loop Yes. You may get Echo Yes also,, but it is not necessary (See manual)
This will prove that you have active COM port and the DTR - CTS hardware loop ( on OEM PCB ). Any other indication , and there can be plenty, calls for troubleshooting the PC and or the DB9 cable / connector before you get to Basic stamp!.
4. See the construction manual it explains how to wire the power source. Depending which option you used (with or without the regulator) connect appopriate power source to correct pins! If you are not sure about polarity - add a small "idiot diode" to your power test lead ( correct polarity!) before you turn it ON! Your power supply may have a current limiting adjustment - set it to minimum! Plug the processor back in.
5. Turn your PC on and try to RUN a small test program - with at least one DEBUG instruction inside! If you get "No Basic stamp found" and Loop Yes and Echo Yes (see above comments on Echo) AND your current limiting power supply indicates low voltage and overcurrent - increase the overcurrent adjustement only! You should see set voltage and a current (if your power supply has current meter - or use VOM in series of your power wire) not exceeding about 50 ma.
6. RUN your test program again and you may be home free.
7. Disconnect OEM power and then the DB9 connector. Replace with your USB adapter and apply OEM module power again.
8. RUN your test program again. Now the objective is to download the program via USB adapter.
9. If it works have a bewerage of your liking and relax.
If not - see you here again..
Cheers Vaclav
PS Sorry for repeating what was already said by others, but your fiirst posted picture did show the processor chip plugged in upside - down! It may still work , but I would not bet my life on it! Cooked processors are unreliable!
Shell out another $12 for valuable experience - mainly "read the manual and FOLLOW the instructions".
Life is great!