>>Good luck and let us know how you get on.

Just some feedback on this Atmel ICE and Atmel Studio 7.
I loaded it up today and connected it to a Arduino Uno Clone ($10 off 
Amazon).

Atmel Studio 7 is really nice!

I followed the example in the link here:
http://blog.solutions-cubed.com/debugging-arduino-sketches-with-atmel-studio-7/

Atmel Studio 7 can open an existing Arduino sketch and import it into 
Atmel studio and at the same time it exposes all of the overhead 
software in the Arduino.

I opened a Sketch I already had, set a few break points and watched it 
run.   The software stopped at the break points and and I could 
interrogate variables via the command window.   I had previously altered 
the sketch to output some text messages to the Arduino IDE serial 
window, so I fired up the Arduino IDE and opened the serial window and I 
could see the text messages there and watch for breakpoints in Atmel 
Studio at the same time.

With the ICE, I can now pause and resume the program execution at 
anytime, and when paused, interrogate the program for variable values 
just as I could after a breakpoint was met.   I believe I can also set 
them.   The commands available in the Atmel Studio command window is 
extensive.

I'm only scratching the surface of this Atmel IDE but it is a huge 
improvement over just having the Arduino IDE.

For $90 including tax and shipping, this is a no-brainer for debugging 
difficult programs.  This will be a big time saver.

Dave


On 2/25/2017 11:49 AM, Dave Cole wrote:
> That's really interesting.   Thanks for the link.
> I read some things before about the Arduino overhead impacting user 
> code.   That is a glaring example.
> I'm trying to stay as generic as possible..  if I need to dip into the 
> hardware specifics because of the overhead in the Arduino I will, but 
> it sure would be nice to try and keep the code generic as possible 
> since Arduino has both AVR and  ARM boards.  And I certainly don't 
> want to toss all of the established device libraries for the Arduino 
> out the window.
>
> I guess it may be human nature to try and keep things cheap, but if a 
> project is not going to result in hundreds or thousands of devices 
> being made, the cost difference between a AVR or ARM seem to be almost 
> irrelevant compared to the labor/time involved. Hopefully by trying to 
> keep things fairly generic I can move between the two as it makes sense.
>
> Regarding the Atmel ICE and Microchip;  I ordered the ICE late one 
> night, the following day Microchip shipped it out and I had it the 
> next day.    They shipped it overnight even though I didn't ask for 
> overnight shipping.   So far, Microchip has me impressed. I'll let you 
> know what I find regarding the ICE.
>
> Thanks,
>
> Dave
>
> On 2/23/2017 10:09 PM, Martin Dobbins wrote:
>> Hi Dave,
>>
>>
>> Being able to step through your program might not be the only 
>> advantage according to this guy:
>>
>>
>> https://www.youtube.com/watch?v=648Tx5N9Zoc
>>
>>
>> Good luck and let us know how you get on.
>>
>>
>> Martin
>>
>>
>>
>> ________________________________
>> From: Dave Cole <linuxcncro...@gmail.com>
>> Sent: Thursday, February 23, 2017 9:02 PM
>> To: Enhanced Machine Controller (EMC)
>> Subject: Re: [Emc-users] OT - Arduino development - Atmel ICE useful ?
>>
>> Wow,
>>
>> Thanks guys...  lots of great info!
>>
>> I did end up buying the Atmel ICE.   It turned out to be $80 plus
>> shipping and tax after a $50 coupon which expires on 2/28.   I will feel
>> better having it available.
>>
>> This is the full Atmel ICE kit, not the basic kit.
>>
>> http://www.microchip.com/developmenttools/productdetails.aspx?partno=atatmel-ice
>>  
>>
>> Atmel-ICE - ATATMEL-ICE | Microchip Technology 
>> Inc.<http://www.microchip.com/developmenttools/productdetails.aspx?partno=atatmel-ice>
>> www.microchip.com
>> Atmel-ICE is a powerful development tool for debugging and 
>> programming ARM® Cortex®-M based SAM and AVR microcontrollers with 
>> on-chip debug capability.
>>
>>
>>
>>
>> Thanks
>> Dave
>>
>>
>>
>>
>>
>> On 2/23/2017 11:53 AM, Nicklas Karlsson wrote:
>>>> Search on ebay for STM32F103.  These are 72MHz ARM Cortex M3 (if I 
>>>> recall).
>>> I use STM32 and they are indeed very good, the others are similar so 
>>> if they are the best I do not know.
>>>
>>> ------------------------------------------------------------------------------
>>>  
>>>
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> Slashdot: News for nerds, stuff that matters<http://sdm.link/slashdot>
>> sdm.link
>> Slashdot: News for nerds, stuff that matters. Timely news source for 
>> technology related news with a heavy slant towards Linux and Open 
>> Source issues.
>>
>>
>>
>>> _______________________________________________
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> Emc-users Info Page - 
>> SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-users>
>> lists.sourceforge.net
>> This list is for users of the Enhanced Machine Controller (EMC). 
>> Topics include how to obtain, install, configure, and use EMC, as 
>> well as other general EMC related ...
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> Slashdot: News for nerds, stuff that matters<http://sdm.link/slashdot>
>> sdm.link
>> Slashdot: News for nerds, stuff that matters. Timely news source for 
>> technology related news with a heavy slant towards Linux and Open 
>> Source issues.
>>
>>
>>
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> Emc-users Info Page - 
>> SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-users>
>> lists.sourceforge.net
>> This list is for users of the Enhanced Machine Controller (EMC). 
>> Topics include how to obtain, install, configure, and use EMC, as 
>> well as other general EMC related ...
>>
>>
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to