Discussion forum for the BasicX family of microcontroller chips.
What did I do? - billballbx24 - Sep 9 18:20:27 2007
I have a bx-24 in the development board. I downloaded a short program
that used com1 at 2400 baud. It worked at first. Now all I get is a
sequence of non-ascii characters in the development screen and a
serial data error when the processor is reset . I cannot halt
execution. I cannot rescue two communications with the bx-24. I tried
the atn diagnostic and I definitely dont get the right voltage--
generally -.3 to -1.3 when set high. I have another bx24 in a
development board (with a different program) that communicates fine.

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: What did I do? - billballbx24 - Sep 16 9:23:15 2007
I havent gotten a response but I will try once more with further
details as I am out of ideas. I downloaded a short program to my bx24
(via development board) that sent a short message via com1 at 2400
baud to the debug screen (testing for interface with a text to speech
chip). The problem is that I cant seem to stop the processor now.
I initially had some problem with the output of the chip being
garbled. But setting the ports to 2400 baud and a change of cable and
I am getting the message back from the program so there is nothing
wrong with the processor.
Is there some way I can stop this processor? Halt and rescue dont
work. The ATN diagnostic shows ~0 volt on high and variable but minus
voltage on low. I have a ftdi usb to serial cable hooked up now and I
can see (from the leds on the cable) that the halt pulses from the
development environment are reaching the development board. But the
processor wont halt.
Any ideas greatly appreciated.

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: Re: What did I do? - Tom Becker - Sep 16 11:59:09 2007
> ... The ATN diagnostic shows ~0 volt on high and variable but minus
voltage on low. I have a ftdi usb to serial cable hooked up now and I
can see (from the leds on the cable) that the halt pulses from the
development environment are reaching the development board.
Your ATN test fails the High test (and variable Low isn't a good sign,
either), but it's unclear to me if that was with the FTDI adapter, or
before you tried that adapter. Solve that zero-volts-on-High. If you
have a genuine RS232 port and cable, try that; it's difficult for that
to not work on a simple breadboard.
Your FTDI adapter can probably be configured with a utility
http://www.ftdichip.com/Resources/Utilities.htm#FTD2XXST .
If it is the FDTI adapter that's giving you trouble perhaps it is
improperly configured, or failing.
Tom

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: What did I do? - Tom Becker - Sep 16 12:59:19 2007
Sorry, wrong link. Should be:
http://www.ftdichip.com/Resources/Utilities/MProg3.0_Setup.exe
Tom

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: Re: What did I do? - rosa...@aol.com - Sep 16 13:00:55 2007
Hi,
Try this.
1-First power down the BX24.
2-Open the editor and write small program that does a delay and loop back.
3-set the I/O port to 19200.
4-Do the? Compile and run
5-Power up the BX24
6- It will ask to unable to halt BasicX.
7-Hit the retry
8-If it failed keep powered down and up the Bx24 to see if in one of the power up it
does the compile.
9-Repeat 7 and 8.
10-Sometime you have to repeat 4.
Good luck!
rosarite
-----Original Message-----
From: billballbx24
To: b...@yahoogroups.com
Sent: Sun, 16 Sep 2007 8:11 am
Subject: [BasicX] Re: What did I do?
I havent gotten a response but I will try once more with further
details as I am out of ideas. I downloaded a short program to my bx24
(via development board) that sent a short message via com1 at 2400
baud to the debug screen (testing for interface with a text to speech
chip). The problem is that I cant seem to stop the processor now.
I initially had some problem with the output of the chip being
garbled. But setting the ports to 2400 baud and a change of cable and
I am getting the message back from the program so there is nothing
wrong with the processor.
Is there some way I can stop this processor? Halt and rescue dont
work. The ATN diagnostic shows ~0 volt on high and variable but minus
voltage on low. I have a ftdi usb to serial cable hooked up now and I
can see (from the leds on the cable) that the halt pulses from the
development environment are reaching the development board. But the
processor wont halt.
Any ideas greatly appreciated.
________________________________________________________________________
Email and AIM finally together. You've gotta check out free AOL Mail! -
http://mail.aol.com
[Non-text portions of this message have been removed]

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: What did I do? - found it - billballbx24 - Sep 16 17:02:47 2007
Thanks a lot for the suggestions. Although I tried this stuff before
they indirectly led me to the answer. In case anyone is interested,
here it is. It's not pretty :)
Trying to find the problem I started testing each connection with my
multimeter. Interestingly the serial cable is delivering about 5.8
volts to the board and the FTDI cable about 9 volts. I wonder if that
will be a problem later? At any rate while examining the board closely
I realized that I had scratched the traces from the serial cable
connector. I had created a separate power supply for the row of +/-
pins on the board since I will use a lot of sensors that would draw
too much power from the chip. To make sure I kept that power bus
separate from the chip I removed the J1 jumper. I not only pulled the
jumper, I desoldered and removed the pins. In the process I somehow
scratched the traces enough to expose a bit of copper. I guess the
receive trace worked briefly then failed. I very carefully dropped a
bit of solder on the exposed copper and now everything is working.

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )