Identification error on BS2p
bohb
Posts: 7
Hello,
just started using the sowtware for a small home control project. I've got the system to work ,except for some bugs, which I wanted to correct this morning. Suddenly I got a identificatio problem on the serial port. I found a similar problem a year ago, but the forum gave no answer, so I'm trying again.
The circuit is working including the serial port, I have a terminal user interface so I can see temperature data and log files in the debug window, but when I try to download software (new or old) it can't find my Basic stamp on the same port! Trying to identifying it it says:
Identification
Device Type:
Version:
Loopback:Yes
Echo:Yes
I'm using a USB to serial adapter on virtual port COM6.
As I said, it worked until this morning.
Are there any suggestions, ways to completely reset the BS2p etc?
Bohb
just started using the sowtware for a small home control project. I've got the system to work ,except for some bugs, which I wanted to correct this morning. Suddenly I got a identificatio problem on the serial port. I found a similar problem a year ago, but the forum gave no answer, so I'm trying again.
The circuit is working including the serial port, I have a terminal user interface so I can see temperature data and log files in the debug window, but when I try to download software (new or old) it can't find my Basic stamp on the same port! Trying to identifying it it says:
Identification
Device Type:
Version:
Loopback:Yes
Echo:Yes
I'm using a USB to serial adapter on virtual port COM6.
As I said, it worked until this morning.
Are there any suggestions, ways to completely reset the BS2p etc?
Bohb
Comments
·· What happens if no circuitry is connected to the BS2p when you try to download?· What is your power source?· Has the COM Port number recently changed?· What version of the editor are you using?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 9/9/2005 8:18:27 PM GMT
Have not tried to remove the BS2p24 when downloading, will do that but need an adapter for that.
The power source is a 9V battery backuped 7805 connected to a 12V mains plug.
I tried to change the COM-port after the problem occured, without any improvement, so I switched back to the default one.
I'm using version 2.2 of the editor
Thanks,
bohb
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
·· I didn't mean remove the chip, I meant disconnect any circuitry connected to it and sharing the power source, but now that I see you're using a 9V battery, I would definately suspect that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
was a little unclear in my description, the main power source is the 12 V Mains plug, The battery is just for covering any glitches on mains power.
I disconnected the 9V battery, still the same problem. Checked the 5 V, stable like a rock
Disconnected a LED that I used for hardware debugging (with the 470 ohm resistor in series) still the same problem. I reprogrammed the BS2p several times with the LED connected...
Any more suggestions?
bohb
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
have you installed any software that use a COM Port. if so change that port to COM port # currently unused then go directly to
basic software try to idenify. have had this problem also and this seems to work.
japer
I have a lot attached, through an internal SPI-bus. EEPROM, ADC, DAC, an extra PIC slave (currently unused), RTC. The only thing that was directly attached to an external device (outside the PCB) was the LED. Everything have been working for months...
I've tried to change the COM-port no luck unfortunately, japer. Thanks for the tip anyway.
Are there anyway to do a factory reset on the BS2p?
/Bohb
·· Now I have a bigger picture of what's going on...I thought you had the BS2p on a demo board or at least one of our boards.· This means currently the BASIC Stamp Module is in-circuit.· What I was suggesting earlier was that you take it out of circuit and try it.· Do you have a BOE or BS2p Demo Board that you can plug it into to see if it identifies while not connected in-circuit?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
thats why I figured I made an adapter (24pin IC socket with all pins cut but 1-4,21-24) to get a simple "naked" chip. I'll do that tomorrow and report back (It's ten pm in Sweden...)
/bohb
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
problem solved! The RS232 cable is too long to work every time for programming, but works for normal communication. Weird, I'm still well within RS232 spec (12 metres of cable). What does the BS2p do different when programming compared to other serial communication on the RS232?
My solar panel control system is now working!
Best regards,
/Bohb
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com