OEM Pbasic2SX Interpreter connection
kroki78
Posts: 13
Hi there!
I used Basic Stamp's for long time, and now i want to biuld a bit complexer project with an BS2SX integrated on it.
I bought a few BS2SX interpreter chips(an SX28 programmed with the BS2SX embedded basic interpreter)·and would like to build the whole project over/arount it.
First i needed the circuit for the serial programming and debugging.
I tried to build the exact circuit seen on the OEM BS2SX board schematic. didn't work. Then i tried to build the circuit on the BS2SX IC. didn't work either.
In both cases i used the same parts as written on the schematics.
Could anyone tell me a way to connest the interpreter chip to the PC serial port so i can program and debug it.
(I really don't want a BS2SX IC on the board, and don't need a daughter-card like the OEM version.
Please help me guys!
Best regards:
Kroki
p.s.: maybe MAX232? but how?
I used Basic Stamp's for long time, and now i want to biuld a bit complexer project with an BS2SX integrated on it.
I bought a few BS2SX interpreter chips(an SX28 programmed with the BS2SX embedded basic interpreter)·and would like to build the whole project over/arount it.
First i needed the circuit for the serial programming and debugging.
I tried to build the exact circuit seen on the OEM BS2SX board schematic. didn't work. Then i tried to build the circuit on the BS2SX IC. didn't work either.
In both cases i used the same parts as written on the schematics.
Could anyone tell me a way to connest the interpreter chip to the PC serial port so i can program and debug it.
(I really don't want a BS2SX IC on the board, and don't need a daughter-card like the OEM version.
Please help me guys!
Best regards:
Kroki
p.s.: maybe MAX232? but how?
Comments
http://forums.parallax.com/showthread.php?p=567989
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
No serial comm. this way.
If it's possible, i need to avoid external clips and other stuff, so i can easily connect it to any serial COM port of any PC.
I bought the preprogrammed chip from the local Parallax retailer, and after a few missed trials, i checked it with an SX programmer and it is Code Protected, so it should be OK.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Sadly i don't have an assembled OEM PCB, so i can't try the SX.
maybe i will try to make the distributor try this one out for proper working.
If i try to communicate with the assembled SX stamp, what should i get, or how can i check the proper communication in terminal?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I tried the EEprom with that SX28 project and it's OK, now it's filled with FF. could it be that it chould be filled with 00's to get started?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
btw. there was no echo. nothing at all.
it seems that the SX28 is working correctly with the oscillator and the EEPROM is OK too, as sayd before.
I think there will be something with one of the transistors. maybe i got a damaged one from the shop. Or it's·slower·than I need. i'm beginning to think about a circuit with MAX232. it should work, only the ATN signal from the serial port needs a transistor circuit to the MCLR pin on the SX.
Any idea?
If I can manage to make a serial to TTL for the OEM, then I will post it here,·maybe someone can use it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
found that the regular Stamp modules would work fine when the RX and TX
lines were swapped. I had been using a MAX232 which even with the 4.7K
feedback resistor would only work when wired the way it should be. It threw
me off track for a bit since I never expected that the Stamp modules would
work either way. Some of it was highlighted in the following thread:
http://forums.parallax.com/forums/default.aspx?f=5&m=140260&g=142344#m142344
I also have a BS2SX DIP on a protoboard which works well too with the
MAX232.
Now i'm trying out the Propeller but am running into a different issue since
it looks like the reset line is the opposite as the stamp.
Robert
"Not all 2N3904 NPN transistors are wired the same. Always check the pinout of the device in hand against your footprint."