Problem with Atom Pro 28 in BotBoard 2

yes this is true.

i would prob agree that the chip is defective. :frowning:

have you connecting up a serial cable!

the chip should stop sending data to the board if its receiving data from your IDE! you could try turning it on and program the chip!

this being said, you shouldnt really have to do this, as its a new chip so it should be clean! :confused:

open up the IDE and type:

 clear

and send this command to the chip.

if the chip has data on it, this will clear it.

just a thought.

i am looking into it…

have you tried pressing the reset button!!!

Personally I can not tell from your description if you have a problem or not. It is always possible that they preloaded some hello world type program on your chip.

I have not seen any mention of you trying to hook this up to the IDE. Have you installed the IDE and hooked up a serial cable to the BB2. Have you tried running the IDE and configure the serial port. For example go to the tools menu and select the Prefferences menu item. In this dialog click on the Find AtomPro button. Does it find your chip on the serial port connected to the BB2? If it does find your BAP, can you now download a program?

I hope it works out.

Kurt

Yes, i tried to connect with the IDE but without any success.
But i only had a USB to RS232 converter.

Right now i am at work but later i will try again using a standard serial cable…
If the connections works i will try to clear the chip.
Otherwise i guess i have to contact the retailer.

Thanks for your hints, i will update the thread after trying again :slight_smile:

Yes the Atom has a program installed from the factory. The program’s job is to cycle all of the I/O pins on and off. The chip is dutifully following the instructions in the program it was tested with. :wink:

You will need to program the chip with a useful program to make your robot work. 8)

My chip does the same thing, the problem though is that i can’t get any of the IDE to recognize the AtomPro. My basic chip works fine but when i install the AtomPro into the bot board it just starts the speakers clicking.

Ive tried just about everything so i ordered another AtomPro and i’m going to test and see if its something on my end or if the chip is really faulty

More information…

PC make and model.
Operating system.
USB to serial make and model.
Atom module and IDE used.

When you say I’ve tried just about everything…

Did you ensure the read and write buffers were equal in the USB driver?

Did you alter the reset hold time in the IDE?

Have you made sure the USB port doesn’t require a powered hub?

Hi,

my PC is a self-made one running Windows XP SP3 (Quad Core Intel, 4 GB RAM).
The problem is that there is no Com Port.
The Mainboard has one com port but i do not have a connector for it.

Thats why i use a USB to serial adapter.
Mine is made by Logilink, based on the Prolific 2303 chip.

According to the vendor it does not need a powered hub.

I tried to connect the BB2 via the USB adapter and was not able to communicate using the IDE.
I downloaded the actual 8.0.1.7.

After testing the connection my PC does not recognize the USB adapter anymore!!!
When i insert it windows only says that there is a new “unknown device”.
Tried to re-install the driver, also tried to use the adapter on different operating system (same pc) and it also did not work.

Seems that the BB2 destroyed my adapter.
Very strange…

The argument about the factory testing program sounds good and i will of course test it again with a “real” com port, using a “real” serial cable.
But i dont know yet on what computer. Probably i will get a laptop from work to test it…

Will update here after trying, wish me luck!

regards,

kultakala

Well there’s your problem… :wink:

What logic do you apply to come to this conclusion? It could just as easily be a Windows driver issue, or a damaged usb cable due to static discharge. I’m not saying the Bot Board didn’t damage the cable, I’m just saying I don’t follow the logic that it did. I’m not sure how it could though. It only has 3 connections. Ground, TX, and RX. The PC on the other hand talks to the IC on the cable to know what it is and how to deal with it. It’s the PC that isn’t recognizing the cable.

Good luck with it!

Hi Jim, it was not meant this way…
I am not shure about anything anymore…

Its just that i used the usb adapter several times during the last months without any problem… and after connecting it to the botboard it brokes down… so, the suggestion was not far…

Meanwhile i tested the adapter on my tablet pc, which unfortunately also has no com port… and the usb adapter is not working.
It was never connected there before and it was a fresh driver installation.

I can not explain why it does not work anymore and i agree that the board could not damage it by logic, but… hmmm… i hopefully manage to get a laptop with com port tomorrow for testing, then i will know :slight_smile:

Greetings from germany!

kultakala

My PC is a Gateway GT5628 running Windows Vista Home Premium.

I’m not sure about the USB to serial but its the one that lynxmotion sells

I have an Atom28 and my new AtomPro28 is the one i am having trouble with.

I’m using Atompro IDE ver 8.0.1.7 for the atompro and Atom IDE 5.3.1.0 for the Atom 28.

I’m not having any problems with my old Atom, its just the new one i recieved. When i try and get the IDE to recognize it the series of clicks the speaker emits is restared, like the microcontroller is being reset, but thats as far as i’ve gotten with it.

Um, what? Please post a link this on the lynxmotion website, I was unaware Lynxmotion was stocking a USB-to-RS-232 serial adapter.

Sorry, wrong item, its the DB9 cable lynxmotion sells. I don’t think thats the problem though since its the same cable i use for my old atom 28 running on the botboard II works fine… Im out of ideas

Have you tried increasing the reset hold time in the Pro IDE?

i haven’t tried that yet, i’m at class right now but ill give it a shot when i get back to the house and ill post my results.

I adjusted the hold time starting from zero raising it in increments of 5 till i reached the default of 25 then i continued up to 100 in increments of 10 but the IDE still didn’t recognize the atompro…

Ok you have a desktop pc with true serial port. The Atom works but the Atom Pro does not. The Pro does make the click sounds so we know it is functional.

The Atom Pro is faster and therefore puts more of a strain on the serial system. In other words if there is anything preventing the serial system from operating in a high speed way you will notice it with the Pro before the Atom.

Check these posts for more info.

lynxmotion.net/viewtopic.php?t=3484
lynxmotion.net/viewtopic.php?t=4581

Also try a new fresh 9vdc battery on the Bot Board just to rule it out.

Other items of interest. It is generally not possible to have more than one program that uses the serial port open at the same time. Usually the first one open will not release it until the program is closed. Not sure if this applies to you, but I needed to mention it.

You said you got a new Atom Pro. Have you tried it yet?

I am assuming you are opening an *.bas program and clicking program. Can you tell me specifically what you mean by “not recognize the Atom”? HTH

I am a bit farther now…

Okay, i power the botboard with atompro 28 on and it starts clicking the speaker…

With my laptop, serial cable connected to com1 i am able to press “find atompro” and it works! :slight_smile:

When i open a terminal window i can change all the speed settings, etc. but i never got any reply…
When i hit the “connect” button the clicking sound stops for 2 seconds and starts again… seems like the atompro resets !?

I altered all settings of the com port (tried for example 115,2 k or 57,6 k, 8N1, no flow control)… and i also changed the settings of the buffers (both to 4, both to 14, default).

Does not matter which settings i use… nothing happens.

So, i have one question… because i did not use any microcontroller yet.
What should happen ?
Gives the atompro some kind of message in the terminal windows while starting ?

Hmmm… think i have to read all the guides again… sigh

Thanks anyway so far! :slight_smile:

The thing is working exactly as it should. The terminal window is only used when you write in your program to send data to the terminal. You are clicking connect to a terminal that is not being sent any information.

For example if you put this into your program…

my_input var Word loop: ADIN P0, my_input serout s_out,i57600,[dec my_input,13] pause 20 goto loop

The program would read the analog input and throw the value onto the terminal screen for you to look at it in awe and basically be amazed.

What you need to do is load up your basic program and click PROGRAM and get on with it. 8)

Well i charged my battery nd still nothing, but then i double checked the reset hold time and I had returned that to the default settings. After adjusting those I got the IDE to recognize the microcontroller and program it successfully. Thanks for yourt help everyone