BasicMicro - Forums

www.basicmicro.com
It is currently Mon May 21, 2012 1:06 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Atompro One, failure to launch
PostPosted: Tue Jun 22, 2010 7:54 pm 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
Hey, new user here. I have tried to hook up my atompro One using several different methods. Wired both with serial using RTS to pin 7, as stated in your hookup guide. It seems I am getting conflicting information from your manual; it shows two different ways to hook up-I tried both with the same issue and error (could not find processor).

I also attempted a connection using sparkfun's Breakout Board for CP2102 USB to Serial, a marvelousouly priced unit. But with the same results using both RTS and DTR.

I changed connection speed, reset hold time, bit count, etc for about 5 hours today with a complete nogo. :(

Been extremely frustrated. My previous experience with the atom pro 28 was not like this at all.

Is there any more documentation on the AtomPro ONE besides the single document? Everywhere I look, there seems to be a disclaimer that this information is for AtomPro 28, 24, 40,...etc but rairly does it list the ONE...Is there something I am missing?

I already hit and corrected the runtime errors in studio, I run debuggers in the background that are not catching the exceptions that they were before...so I assume that is correct. Now it is hooked up directly to my serial port using 4 wires still with nothing. The unit powers through to leds, is there any other way of testing this thing before I lose any more hair?

...Any more feedback or suggestions? Thanks everyone!


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Wed Jun 23, 2010 12:05 am 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 798
Location: CA bay Area
It's simply GOT to be raging coincidence that I created a Pro modules' pinout chart this AM.
I include it here. The Pro One is leftmost. Pin 7 is P0, not anything to do with finding or programming the module.
SIN (pin 3 of Pro One) is TxD
SOUT (pin 4) is RxD
ATN (pin 6) is DTR or RTS.
Have a nice project.
Attachment:
Pro Modules Pinouts.png
Pro Modules Pinouts.png [ 92.49 KiB | Viewed 630 times ]

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Wed Jun 23, 2010 9:51 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
Let me know if you are still having trouble after looking at Kens pinouts. Also can you give mte the link to the hookup guide you are talking about? Do you mean the manual? also which version of the manual are you using. The beta manual is available in the Manual section of the forums. We are basically rewriting the entire thing from scratch which is taking siome time but the information in the beta manual should be spot on.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Thu Jun 24, 2010 3:01 am 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 798
Location: CA bay Area
Funny, I don't feel stupid... :mrgreen:
By pin 7 you no doubt mean the RTS on the serial DB9 connector. That SHOULD work, but the wiring diagram in the One's data sheet shows it connected to DTR, pin 4 of the DB9. Give us a diagram of how you actually have it wired at the moment. Get a logic probe and/or an oscilloscope and see what the levels look like on the One's ATN pin when quiescent and after you start a programming session. You should see a quick "blip" in ATN's level after starting the programming. This is Studio getting the attention of the module's bootloader.
BTW, which version of Studio are you using?
Later.

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Thu Jun 24, 2010 9:52 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
In BasicMicroStudio by default you can use RTS or DTR for the ATN pin of the modules. If you go into the Preferences General tab you will see you can enable or disable one or the other(but not both) or have both enabled.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Sun Jun 27, 2010 8:37 pm 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
Thank you for the diagram and the help. I am sorry to leave such a frustrated post then disappear-I had to go walk a friend down the aisle in vegas... :twisted:

The manual from the micro ONE page shows the pin out using DTR, but the serial cable pin out shows a connection using RTS. I did try both settings and switched the setting several times for each configuration. I currently have the connector wired to RTS using a serial cable.

And by saying wiring RTS to pin 7...... I really meant, RTS was currently connected to pin 6 (ATN) on the atomONE....what, I wasn't clear or something? ;) (sorry)

I am using the most recent version of studio, however I did load the legacy version and it didn't help..so really I tried both that you have listed at your downloads page. hmm..I hope to go look again tomorrow night. I will post a wire diagram and some pics?

Thanks for the help, sorry about the mood in my previous post. i was a tad grumpy...


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Sun Jun 27, 2010 8:56 pm 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
kenjj wrote:
Funny, I don't feel stupid... :mrgreen:
By pin 7 you no doubt mean the RTS on the serial DB9 connector. That SHOULD work, but the wiring diagram in the One's data sheet shows it connected to DTR, pin 4 of the DB9. Give us a diagram of how you actually have it wired at the moment. Get a logic probe and/or an oscilloscope and see what the levels look like on the One's ATN pin when quiescent and after you start a programming session. You should see a quick "blip" in ATN's level after starting the programming. This is Studio getting the attention of the module's bootloader.
BTW, which version of Studio are you using?
Later.


Going to go grab a logic probe tomorrow I think, been a long time since I have found mine. And there are two sections in the manual with wiring pin information. One is a diagram and the other is a table further down in the data sheet.

I am using the version in the table that has RTS sent to ATN, RTS is pin 7 on the serial connector...hence why my so clear post before didn't make sense, it was all getting jumbled.

I realize that I can use both DTR and RTS, however perhaps this could be added to your data sheet/manual in the first place? I discovered the answer clearly written for another similar product while researching what the RTS and DTR were. And since you have both listed as proper pinout for interfacing serially it could be quite confusing for the new user (I recommend these to high school clubs, middle school clubs, and the UAV club at IIT which is using PRO 28's right now for basic navigation for next years Marine Corp UAV targeting challenge)

I am currently researching whether these little guys have the power for real time high def multizone video pattern recognition. I am going to try to run several of these in parallel and build some kind of chip to chip control classes for restructuring their computational tiers to focus from wide to narrow view modes , distributed computation, and reclass when needed ....but first I still need to get blink to work! :-) I actually love research, just some days it doesn't love me...


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Sun Jun 27, 2010 9:03 pm 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
Acidtech wrote:
Let me know if you are still having trouble after looking at Kens pinouts. Also can you give mte the link to the hookup guide you are talking about? Do you mean the manual? also which version of the manual are you using. The beta manual is available in the Manual section of the forums. We are basically rewriting the entire thing from scratch which is taking siome time but the information in the beta manual should be spot on.


My pinouts from the atom matches kens image above (thanks again, seriously. good way to lay out that info for cross referencing chip to chip).

I am using the chip diagram from page 4 of this data sheet http://www.basicmicro.com/Basic-ATOM-Pro-One-M_p_64.html

But instead of DTR which is pin 4 of the DB9 cable I believe, I am going to RTS on pin 7 of the DB9 cable/plug.

I think I am repeating my posts here, so tomorrow I will throw up some images. night all...


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Mon Jun 28, 2010 8:16 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
Are you connecting directly to the AtomPro ONE or are you using a max232 to connect to the ATN/SIN and SOUT pins.

If you are using a max232, you shouldn't be. The AtomPro ONE module has builtin singal inverters and will accept the standard +-12v RS-232 signalling from a PC serial port.

If you use a CP2101 you must invert the signals somehow. because the output from a CP2101 is the that from a MAX232(TTL non-inverted).

If you use an FTDI chip you can program the FTDI using their MPROG program to invert all the signal lines which is what we do on our USB devboards for modules.

I bet the problem lies somewhere in the inverting of the signals. Its easy to do it wrong or misunderstand. Even I forget sometimes. All the modules are designed so you can plug them straight into a PC serial port with no extra chips/circuit along with 6v+ to Vin and a gnd.

So when you start wiring one up to USB chips you have to remember that most USB chips(all that I know of) output a signal like it's going through a MAX232 before getting to the device your are attaching to it.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Tue Jun 29, 2010 12:53 pm 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
Acidtech wrote:
All the modules are designed so you can plug them straight into a PC serial port with no extra chips/circuit along with 6v+ to Vin and a gnd.


Uh oh..there is one problem. After trying the USB board, I gave up and connected directly to serial port on PC.....sans Vin..

A moment of silence for my pride please...

ok done, I will go home and throw my 9v across Vin and the shared gnd, then plug into serial port again....please correct me if I am wrong before I go fry something... for some reason that shared ground is worrisome to me. I used bot boards before, so the power/grounding scheme was obscured.

I did try to the USB BOB with the 9v in and that did not work...I thought it was a miswiring of the power source, which is why I ended up plugging directly into the serial port...but I was lost in the trees at that point and didn't connect a power to the board.

now there is no 6v power source from the atx power supply built into my computer. If I put a resistor between +12V in my atx power supply and the Atom to lower the voltage, will that cause a problem? It would be nice to have a shared ground with my motherboard in case of another 3 am slipup, opto-isolation would be cool too...

Thanks Acid.


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Tue Jun 29, 2010 9:48 pm 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
I didnt hook up basic yet this evening, I did schedule some hours in the morning for lab work.

Acidtech wrote:
If you use a CP2101 you must invert the signals somehow. because the output from a CP2101 is the that from a MAX232(TTL non-inverted).


However, to this point here. All I would need is a TTL inverter then? Is there a class of inverter I would need to keep a high baud rate for tx/rx. And I am assuming a single inverter in and a single inverter out, and itshould work with the CP2101/CP2102? The reason I would have to use one, is because the atom chips have an onboard inverter to facilitate direct communication to a serial port, correct? Do you sell the inverters you use so I can "double ought" the in.out?

I would think that would be useful to improve sales of atom units...maybe I can throw a schematic together


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Wed Jun 30, 2010 11:00 am 
Offline
Citizen

Joined: Tue Jun 22, 2010 7:41 pm
Posts: 9
Ok works, thank you for the gentle nudge.

I hate being the noob who calls tech support because it is "not plugged in".

Lesson learned... direct serial with 9v power and everything worked first try.


Top
 Profile  
 
 Post subject: Re: Atompro One, failure to launch
PostPosted: Thu Jul 01, 2010 8:17 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
OK. Just for posterity then this was the fix?

1. Straight serial connection(not using USB).
2. 9v on Vin and common ground to everything.

Did you try going back to the USB adapter yet?

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO