EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Unable to Halt BasicX error message...HELP PLEASE

Started by hpj720 January 20, 2006
I just finished assembled my new BugBrain, a little robot using
BasicX.

When I connect it to my PC using BasicX software, I receive the non-
stopping 'Hello.World' message from my BugBrain to my PC screen
properly but I can't communicate to the microcontroller from my PC.

Message I get is 'Unable to Halt BasicX'.....and always getting
serial message error codes.

I have double checked all assembly steps, all my soldiers,
everything but no result. The little lights on BasicX
microcontroller lights on and off fastly. The LEDs in front of robot
get ON which is normal.

So, I have checked the BasicX soldiers and connectors, I got a check
too to DB-9 adaptor soldiers...everything seems ok.

I've uninstalled and reinstalled the BasicX PC software...problem is
still there....I've checked in documentation that proper DB-9 pins
no are correctly connected to proper BasicX ppins no, seems
correct...ANY IDEA TO SUGGEST????

Denis from Canada at d...@d.do...



Denis
Have you tried to do a reset using the reset button input ?? I have the
same issue from time to time and the reset solves the problem for me...
Good luck
Dan
________________________________

From: basicx@basi... [mailto:basicx@basi...] On Behalf
Of hpj720
Sent: Friday, January 20, 2006 3:38 AM
To: basicx@basi...
Subject: [BasicX] Unable to Halt BasicX error message...HELP PLEASE
I just finished assembled my new BugBrain, a little robot using
BasicX.

When I connect it to my PC using BasicX software, I receive the non-
stopping 'Hello.World' message from my BugBrain to my PC screen
properly but I can't communicate to the microcontroller from my PC.

Message I get is 'Unable to Halt BasicX'.....and always getting
serial message error codes.

I have double checked all assembly steps, all my soldiers,
everything but no result. The little lights on BasicX
microcontroller lights on and off fastly. The LEDs in front of robot
get ON which is normal.

So, I have checked the BasicX soldiers and connectors, I got a check
too to DB-9 adaptor soldiers...everything seems ok.

I've uninstalled and reinstalled the BasicX PC software...problem is
still there....I've checked in documentation that proper DB-9 pins
no are correctly connected to proper BasicX ppins no, seems
correct...ANY IDEA TO SUGGEST????

Denis from Canada at d...@d.do...
________________________________

> .
________________________________ This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please send an electronic mail message to postmaster@post....


Yes, no improvment...but I forgot to mention I use a USB-to-Serial adaptor...may be not compatible even when I upgraded the driver the problem remains unsolved...
----- Original Message -----
From: Bookwalter, Dan
To: basicx@basi...
Sent: Friday, January 20, 2006 8:03 AM
Subject: RE: [BasicX] Unable to Halt BasicX error message...HELP PLEASE Denis
Have you tried to do a reset using the reset button input ?? I have the
same issue from time to time and the reset solves the problem for me...
Good luck
Dan
________________________________

From: basicx@basi... [mailto:basicx@basi...] On Behalf
Of hpj720
Sent: Friday, January 20, 2006 3:38 AM
To: basicx@basi...
Subject: [BasicX] Unable to Halt BasicX error message...HELP PLEASE
I just finished assembled my new BugBrain, a little robot using
BasicX.

When I connect it to my PC using BasicX software, I receive the non-
stopping 'Hello.World' message from my BugBrain to my PC screen
properly but I can't communicate to the microcontroller from my PC.

Message I get is 'Unable to Halt BasicX'.....and always getting
serial message error codes.

I have double checked all assembly steps, all my soldiers,
everything but no result. The little lights on BasicX
microcontroller lights on and off fastly. The LEDs in front of robot
get ON which is normal.

So, I have checked the BasicX soldiers and connectors, I got a check
too to DB-9 adaptor soldiers...everything seems ok.

I've uninstalled and reinstalled the BasicX PC software...problem is
still there....I've checked in documentation that proper DB-9 pins
no are correctly connected to proper BasicX ppins no, seems
correct...ANY IDEA TO SUGGEST????

Denis from Canada at d...@d.do...
________________________________

> .
________________________________ This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please send an electronic mail message to postmaster@post....

SPONSORED LINKS Microcontrollers Microprocessor Intel microprocessors
Pic microcontrollers Violator ------
YAHOO! GROUPS LINKS

a.. ------


--- In basicx@basi..., "Bookwalter, Dan"
<Dan.Bookwalter@h...> wrote:
>
Yes, I tried it and no result...may be it is my USB-to-Serial
adaptor not compatible to this purpose...even when I have installed
most recent driver...

> Denis >
> Have you tried to do a reset using the reset button input ?? I
have the
> same issue from time to time and the reset solves the problem for
me...
> Good luck >
> Dan >
> ________________________________ >
>
> ________________________________
>
> > . >
> ________________________________ > This electronic mail transmission contains confidential
information intended only for the person(s) named. Any use,
distribution, copying or disclosure by any other person is strictly
prohibited. If you received this transmission in error, please send
an electronic mail message to postmaster@h...
>
>




I have also need to use the reset button on the BasicX Development
Station from time to time to halt the process; however, I do have a
BX-24 stamp that I cant seem to make it halt the process. The stamp
has a modification of the Data Logger (Application Note 4) running
on it and I cant get it to stop. Denis maybe having the same
problem that I am experiencing with his program that's running on
the BX-24. Any other ideas on how to make the process halt?

Mike --- In basicx@basi..., "Bookwalter, Dan"
<Dan.Bookwalter@h...> wrote:
>
> Denis >
> Have you tried to do a reset using the reset button input ?? I
have the
> same issue from time to time and the reset solves the problem for
me...
> Good luck >
> Dan



Hello everyone,

I am having the same problem as Denis, but different board -- can not
halt the BasicX and establish communication. My board (Motor Mind C -
BS2) does not have a reset button, however.

Does anyone have any ideas? - I've been struggling all day to
establish a simple download.

John
--- In basicx@basi..., "Bookwalter, Dan"
<Dan.Bookwalter@h...> wrote:
>
> Denis >
> Have you tried to do a reset using the reset button input ?? I have
the
> same issue from time to time and the reset solves the problem for
me...
> Good luck >
> Dan >
> ________________________________
>
> From: basicx@basi... [mailto:basicx@basi...] On
Behalf
> Of hpj720
> Sent: Friday, January 20, 2006 3:38 AM
> To: basicx@basi...
> Subject: [BasicX] Unable to Halt BasicX error message...HELP PLEASE >
> I just finished assembled my new BugBrain, a little robot using
> BasicX.
>
> When I connect it to my PC using BasicX software, I receive the non-
> stopping 'Hello.World' message from my BugBrain to my PC screen
> properly but I can't communicate to the microcontroller from my PC.
>
> Message I get is 'Unable to Halt BasicX'.....and always getting
> serial message error codes.
>
> I have double checked all assembly steps, all my soldiers,
> everything but no result. The little lights on BasicX
> microcontroller lights on and off fastly. The LEDs in front of
robot
> get ON which is normal.
>
> So, I have checked the BasicX soldiers and connectors, I got a
check
> too to DB-9 adaptor soldiers...everything seems ok.
>
> I've uninstalled and reinstalled the BasicX PC software...problem
is
> still there....I've checked in documentation that proper DB-9 pins
> no are correctly connected to proper BasicX ppins no, seems
> correct...ANY IDEA TO SUGGEST????
>
> Denis from Canada at d.doucet@g... >
> ________________________________
>
> > . >
> ________________________________ > This electronic mail transmission contains confidential information
intended only for the person(s) named. Any use, distribution, copying
or disclosure by any other person is strictly prohibited. If you
received this transmission in error, please send an electronic mail
message to postmaster@h...
>
>




Dr. John R. Wright, Jr. wrote:

> Hello everyone,
>
> I am having the same problem as Denis, but different board -- can not
> halt the BasicX and establish communication. My board (Motor Mind C -
> BS2) does not have a reset button, however.
>
> Does anyone have any ideas? - I've been struggling all day to
> establish a simple download.

Does it work standalone on a simple breadboard? The RS232 is wired
slightly differently to that for BX-24. The BS2 requires pins 7 and 8 to
be connected.

Mike
http://home.austin.rr.com/perks/micros/


--- In basicx@basi..., Mike Perks <basicx@a...> wrote:
>
> Dr. John R. Wright, Jr. wrote:
>
> > Hello everyone,
> >
> > I am having the same problem as Denis, but different board -- can
not
> > halt the BasicX and establish communication. My board (Motor Mind
C -
> > BS2) does not have a reset button, however.
> >
> > Does anyone have any ideas? - I've been struggling all day to
> > establish a simple download.
>
> Does it work standalone on a simple breadboard? The RS232 is wired
> slightly differently to that for BX-24. The BS2 requires pins 7 and
8 to
> be connected.
>
> Mike
> http://home.austin.rr.com/perks/micros/
>

Mike,

I'm not that comfortable breadboarding the chip. My experiences with
with processors are limited to using carrier boards (Parallax
products). I probably could do this, but would likely prefer to
purchase a carrier board that is known to work with the X first, such
as Robodyssey's Advanced Motherboard (RAMB) - Chris Odom details how
to set it up in his new book. Having said this.......

I did learn that for some reason, the PC that I was using could not
open the COM port that I was connected to (COM1). I even tried the
Stamp BOE-Boe and had no luck.

I moved my work to another computer that I have at home and the BOE-
Bot with the stamp worked fine. I then decided to place the Stamp 2
chip into the Motor Mind C Carrier board and try some sample code
provided from the Solutions-cubed. The Stamp2/MMC works! My bot came
to life. Although this works, I still want to take advantage of the
BX's parrallel processing capability. So...

Once I load the BasicX software (at the office) onto that other home
computer of mine(no internet connection), I will try: 1)placing the
BasicX into Parallax's BOE-bot Carrier Board, and 2)trying the BasicX
again with the MMC carrier board.

I'm hopful that the major problem was due to my computer -- strangly
I checkked all the COM port settings on both computers and they are
identical - even the CPUs are the same make (COMPAC DeskPro)?

You mentioned that pins 7&8 need to be connected for the Stamp. What
would happen if pins 7&8 are connected and you try to communicated
with the BX-24p? Since I am using carrier boards designed for the
Stamp, do you think this may be a problem?

Thanks,

John


--- In basicx@basi..., "Dr. John R. Wright, Jr."
<john.wright@m...> wrote:
>
> --- In basicx@basi..., Mike Perks <basicx@a...> wrote:
> >
> > Dr. John R. Wright, Jr. wrote:
> > What would happen if pins 7&8 are connected and you try to
communicated with the BX-24p? Since I am using carrier boards
designed for the Stamp, do you think this may be a problem? Yes, will be a problem...BX-24p has to be connected to pins 2 to 5
of serial cable (DB-9)...

If you buy a reusable board, do this to be able to download programs
to your BX-24p microcontroller OUTSIDE your robot...than you just
have to replace the BX-24p back on the robot board.

Give voltage (5-10V) to pin 23 (ground) and 24 (+) of your basicXp.
Plug pin 1 of BX-24p to pin 2 of serial cable, Plug pin 2 of BX-24p
to pin 3 of serial cable, Plug pin 3 of BX-24p to pin 4 of serial
cable and Plug pin 4 of BX-24p to pin 5 of serial cable. That's all.
See schematic on this web page: http://www.basicx.com/Products/BX-
24/bx-24ptoPcConnections.GIF

Plug other end of serial cable to PC. Start BasicX software (make
sure your COM port is open in Download Port and Monitor Port (and is
the same as you see in settings of Panel control for the serial used
and that Baud is 19200 everywhere)) If COM1 not available, use
another one available if any.

I did it myself yesterday and worked great...just make sure to do
this slowly to have the right connections before plugging
voltage....Hope this help!


Dr. John R. Wright, Jr. wrote:

> I'm not that comfortable breadboarding the chip. My experiences with
> with processors are limited to using carrier boards (Parallax
> products). I probably could do this, but would likely prefer to
> purchase a carrier board that is known to work with the X first, such
> as Robodyssey's Advanced Motherboard (RAMB) - Chris Odom details how
> to set it up in his new book. Having said this.......

I find it a bit disconcerting that you have a Ph.D. and teach
"Automation and Electronics Technologies" but yet you aren't comfortable
breadboarding. The BX-24 has been designed specifically to make it easy
to breadboard.

Mike
http://home.austin.rr.com/perks/micros/



The 2024 Embedded Online Conference