Quote:
What you're suggesting is to just get rid of the selections menu for the Atom types and have Studio query the COM port to get the part to ID itself.
I thought i was clear when i said i DONT want this, because it could take upwards of a minute on some computers.
Especially one with many comports, hardware, usb or emulated.
"I wouldn't want it to auto detect the MCU prior to programming, simply as it's time consuming, up to 1minute in some cases."What i want, is the ability to insert an OPTIONAL command into the code, top line, that could change the selection prior to building/programming.
Possibly a code that would extend to selecting the com port.
EXAMPLE
If i'm making a program for my Atom Nano 18. The very first line of my code would be
setatom nano18,com3Then when ever i would build or program the nano, it will automatically set at the top, nano 18 on com3.
Then if i were to switch tabs to my atom pro, it would have
setatom pro28,com1Then it would auto select the atom pro 28 from the list, and use com port 1.
This does not replace the drop down list, or make the drop down list redundant. I'm sure a lot of people, especially new users like the drop down list. I do.
I'd just also like for my code to be able to auto correct my forgetfulness of switching ports and micro controllers.
The auto query is fine for PROGRAMMING it could "double check". but i don't have my micro controllers connected or powered while simply writing the code, and i build hundreds of times, just for error checking. I wouldn't want it to query my micro controller every time i build the thing, but i do want it to build for the right micro controller. As you get errors in the nano, that you wouldn't see on the atom pro, hservo for example.
So a simple command that could change those settings would be very helpful. It's the simple mistakes that i get caught up on the most. When an error pops up, i assume it's with my code, maybe i did something wrong.. I'm a bit pessimistic in that sense.
Think of it this way. The Check Engine light comes on in your car, you spend hours of your own time, checking the engine, and find nothing wrong, you take it to a mechanic, he finds nothing wrong. The problem... The Check Engine light controls are malfunctioning.
Edit:
setatom
chip,com#atom24
pro28
arc32
nano28
etc.
the com label is pretty self explanatory.
For my main PC including the 2 junk com ports BlueSoleil adds, + the 1 actual comport i use for bluetooth, my main PC has 6 com ports.
I cant remove the 2 junk com ports, or change their numbers.
The PC i do most of my programming on, 3-4.. It'll have even more once i get a newer version of bluesoleil for my other usb bluetooth dongle.
So i'll be looking at 6-7. It's ridiculous.