EmbeddedRelated.com
Forums

Unable to Halt BasicX error message...HELP PLEASE

Started by hpj720 January 20, 2006

> 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.
Thank you for the advice.

I guess I thought you could just plug the BX-24p into a Parallax
board and away you go using a different software. See these words
taken from the BasicX web site:

"Attention all Stamp users!
Turbo charge your Stamp project with BasicX!
BasicX-24p is a Pin-For-Pin drop-in replacement for all 24-pin
Stamps. Check our comparison chart and see what a difference
upgrading to the BasicX-24p will make!"

I went to work, grabbed my disc and tried to load the BasicX software
today on my PC w/o internet and -- another road block. It said that
it required me to put in the 2nd disc? Frustrating to say the least,
I paid $ to get a hard copy just in case and it did not pay off. I
will bring my CPU downstairs, hook it up to the internet connection
and download the software and run my tests that I mentioned earlier.
If it all fails, I will take your advice and buy Robodesy board and
try to download and then swap into my MMC board. Cumbersome, but it
might work for me.

john


Ureka! Hi everyone!

I just successfully downloaded a small program into the Motor Mind C
Carrier Board. It was just a "Hello John's World" short test program,
but the Motor Mind C and the BOE-bot Carrier boards appear to be
compatible with the BX-24p! As soon as you click on the software, the
Welcome to the Basic X program comes alive on the screen (Hello
World).

I will next try blinking an LED and then move up to motor control.
Once I have success, I will try and post the sample code here for all!

Yahoo. My earlier problems were likely due to the bad COM1 port on
this computer. My other PC works fine.

As far as pins 7&8 - they do not seem to be an issue for downloading,
at least not yet. We'll see....

As advertised, the BX-24p seems to be a pin-for-pin drop in
replacement for the Basic Stamp 2.

Cheers, and thank again to all of you for your help!

John


I use the BX24p in a BOE Bot. Just remember that P0 in the Basic Stamp is
P5 on the BX24. Add 5 to all pin numbers and you are on the right track.
Tim Chapman
tim@tim@...
TEC Computer Services
www.teccs.biz
(602) 486-0502

-----Original Message-----
From: basicx@basi... [mailto:basicx@basi...]On Behalf Of
Dr. John R. Wright, Jr.
Sent: Sunday, January 22, 2006 3:16 PM
To: basicx@basi...
Subject: [BasicX] Re: Unable to Halt BasicX error message...HELP PLEASE Ureka! Hi everyone!

I just successfully downloaded a small program into the Motor Mind C
Carrier Board. It was just a "Hello John's World" short test program,
but the Motor Mind C and the BOE-bot Carrier boards appear to be
compatible with the BX-24p! As soon as you click on the software, the
Welcome to the Basic X program comes alive on the screen (Hello
World).

I will next try blinking an LED and then move up to motor control.
Once I have success, I will try and post the sample code here for all!

Yahoo. My earlier problems were likely due to the bad COM1 port on
this computer. My other PC works fine.

As far as pins 7&8 - they do not seem to be an issue for downloading,
at least not yet. We'll see....

As advertised, the BX-24p seems to be a pin-for-pin drop in
replacement for the Basic Stamp 2.

Cheers, and thank again to all of you for your help!

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

a.. ----
--


> 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/
>

Mike,

Thanks for the concern. I teach a variety of subjects (more than ten
different courses that require 300-500 page texts of theory and each
has a lab - two hours theory, three hours lab per week.

Perhaps, I meant I prefer not to have my students breadboard a chip
such as the BX-24p for my current course with all that I have planned
to accomplish in 16 weeks.

I do not have a problem translating a schematic to a breadboard. We
are a hand-on program at MU. We are also heavy on application and for
this course I wanted to find a way to concentrate on programming
rather than on breadboarding. Thus the idea was to find a carrier
board to allow them to study the Stamp 2, the Basic X, and the
Motorolla chips all in one course. We have a lot of sensors, etc. to
incorporate in our final challenge -- entering the Trinity College
Firefighting Robot Contest (hopefully with the BX-24p as the brains).

This chip is new for me, but I want to keep my students current and
give them an experience with a microcontroller that parallel
processes using Basic. My advanced degrees are in MGT and Stat &
Research Methods for the record. Please feel free to vist my website.

http://muweb.millersville.edu/~jwright/

Thanks for your concern. I hope you would be willing to help me again
in the future. As a professor in a regional teaching institution, I
am but a generalist of several areas compared to some of you in
industry.

Thanks and sorry for the miscommunication. By the way, I seem to have
solved the problem that I had. See other recent posts from me on this
thread.

John



--- In basicx@basi..., "Tim Chapman" <tim@t...> wrote:
>
> I use the BX24p in a BOE Bot. Just remember that P0 in the Basic
Stamp is
> P5 on the BX24. Add 5 to all pin numbers and you are on the right
track.
> Tim Chapman
> tim@t...
> TEC Computer Services
> www.teccs.biz
> (602) 486-0502
Thanks for the tip Tim.

My grad student, John Kuperavage (Kupe), was able to get an LED to
blink tonight. This was his code for the BasicX running on the BOE-
bot. I will try the same code soon on the Motor Mind C carrier board.

Option Explicit

Public Sub Main() const x as integer = 3 'Sets x = 5 (constant)
DIM reloop as Integer 'sets reloop as an integer
variable
DIM name as string 'sets name as string variable

For reloop = 1 to x 'loop for blinking

Debug.Print "Helo Darlin, this is Conway Twitty"
'Prints some humerous text
name = "Conway Twitty" 'sets name

Call Delay(2.0) 'Delay for 2 seconds
Call PutPin (18,0) 'sets pin 18 low (corresponds to pin 13 on the BOE
Call PutPin (17,0)
Call Delay (1.0)
Call PutPin (18,1)
Call delay (0.5)
Call PutPin (17,1)

Debug.Print "My name is " & name ; CStr (5 + 5)
'prints text, a variable and a number

'CStr is convert string and converts the

'number value to a string for printout
next

End Sub