Hi,
I’m trying to see if my serial to usb cables works with my Atom PRO, which is almost new (and I’ll have to learn better how to program it)
The compiler seems to find the Atom PRO (in the preferences).
After setting up the jumpers to use the A LED (red) and connecting power through VL with the 9V battery cable provided (and remove the VS=VL jumper), I tried the following program:
[code]red con P4
main
low red
pause 500
end[/code]
The program builds fine, but when I press program, I get, at the end, a dialog box with the error:
connection lost to ATOM: ERASE BLOCK1
or:
connection lost to ATOM: WRITE ADDRESS LOW
Where is the problem?
The cable, the program, or the power applied (VL instead of VS)?
My Guess is that it is the USB cable or the configuration of it. You might try changing some of the advanced comm settings. For example try increasing the reset hold time.
Which USB to serial cable do you have? As you probably already know, there have been lots of theads on these. If you still don’t have any luck you might want to post additional information on the cable and driver settings.
I have the Startech cable, as recommended in this post
And I think it works, since the compiler finds it in the preferences, and (I think) the program is almost downloaded to the AtomPro because I can see the Progress bar ‘Loading…’ go up to 100% before the error pops up…
But is it sure that the LEDs work with the VL power source? Should I try a simple debug program? I’ll see what I get.
but what do these errors mean?
This time I got connection lost to ATOM: ERASE BLOCK3 instead of BLOCK1. Is this arbitrary?
And what could WRITE ADDRESS LOW mean?
I don’t think reset hold time is the problem. Those errors happen if something goes wrong while programming the chip. The ERASE BLOCK3 error happens if it could not erase it’s internal program memory(block 3), there are 5 blocks total iirc. The WRITE ADDRESS LOW error happens if the address sent to the chip to be programmed doesn’t acknowledge properly(eg the data was corrupted). Both of these could be caused by not having enough power. I’d recomend connecting to a wallwart type power supply to test because I think your 9volt battery is the problem. If the errors still happen it could be a bad module.
I just tried with my NiMH 6vdc battery from lynx and it did the same errors, but probably I should try again after charging it since I haven’t charged it for 2 weeks or so
This is a long shot, but you might want to carefully look over your atom pro and make sure all of the pins went in properly into the dip socket on the ABB and are makeing good contact.
Also if you have anything else plugged into the ABB. Start off with just the power and serial cable and see if you have any luck.
Maybe it’s not totally in the socket, but it’s quite hard and scarying to push it more… I’ll see what I can do, but I wouldn’t want to ‘break’ it, like what happened to linuxguy…
As a sanity check do you have access to a computer with a hardware serial port that you can load the software on to and determine whether the problem is with the module or the (USB) serial connection? If there was something wrong with the module you could spend a lot of time trouble shooting the connection and electrical connections before reaching the proper conclusion.
it works perfectly with my BOE bot’s BS2!
I only had a bad time taking off the BAP from the socket as well as the BS2 from the BOE’s socket… Bended some pins… hope the BAP will still work well…
I’m having some fun with the LEDs and pushbuttons!!
I actually got a data cable instead of a battery cable, so any ideas how I can send power from SSC-32 to ABB on the BRAT? I have now 2 data cables and no battery cable: is there a way to use a data cable as a battery one? (move one of the two cables?) or should I just find one around?
I have tried using the Parallax USB to RS-232 converter with the Atom 28 and, like you, did not have any success attempting to download a program to the Atom28 on the ABB.
The Parallax USB to RS-232 converter works fine on my BOE with any model of Basic Stamp.
Fortunately I have an older computer with several serial ports available and that is what I use to communicate with the Atom 28 on the ABB.
Since you got your USB to Serial converter to work with a BS2 on the ABB, it is obviously a problem with the Atom 28 and not the ABB.
It will be interesting to see if the the Parallax USB to RS-232 converter will work with the ABB with a BS2 installed! I will give it a try as soon as I receive another ABB to use with a BS2.