Tag Archives: microcontrollers

Video: Debugging with Atmel-ICE

In the latest episode of Atmel Edge, Analog Aficionado Paul Rako discusses our newest debugger, the Atmel-ICE.

As Rako notes, the Atmel-ICE is a powerful development tool for debugging and programming Atmel ARM Cortex-M based Atmel SAM and AVR microcontrollers.

Key features include:

  • Support for JTAG, SWD, PDI, TPI, aWire, SPI and debugWIRE interfaces
  • Full source-level debugging in Atmel Studio
  • 
Support for all built-in hardware breakpoints in the target microcontroller (number depends on the OCD module in the target)
  • 
Up to 128 software breakpoints
  • 1.62 to 5.5V target operation
  • USB powered
  • Offers both ARM Cortex Debug Connector (10-pin) pin-out and AVR JTAG connector pin-out

atmel-ice

Atmel-ICE is currently available from the official Atmel store for $85 here.

Atmel looks back at Q1 2014 wins and launches

Yesterday, Atmel execs detailed the company’s Q1 2014 highlights. Key launches, collaborative projects and product wins spanned multiple markets, including:

Winning with maXTouch (smartphones) – LG’s G Pro 2, G2 Mini and L Series 3 L90; Verizon’s Lucid 3, Xiaomi’s RedRice 5.5″, Gionee’s Elife S5.5 and ZTE’s Grand S Lite.

Winning with maXTouch (Android and Windows 8 tablets) – Samsung’s Galaxy Tab 4 10.1,” Galaxy Tab 12.2,” Galaxy Note 12.2″ and HP’s EliteBook 1000 G2.

Collaborating with Corning – Developing ultra-thin, next-generation capacitive touchscreens using Gorilla Glass and XSense.

Working with Mentor GraphicsAccelerating development of next-gen IoT devices using Atmel’s ARM-based Cortex M3 and M4 based microcontrollers under the auspices of the Embedded Nucleus Innovate Program.

Launching maXTouch 1066T and 1068T – Extending product leadership in the large screen capacitive touch market with devices targeted at 7″ – 8.9″ high performance tablets.

Introducing the new automotive maXTouch S lineup – Targeting touchscreens up to 14″ in center consoles, navigation systems, radio interfaces and rear-seat entertainment systems.

Debuting the SmartConnect platform – Integrating Atmel’s ultra-low power microcontrollers (MCUs) and wireless connectivity solutions into turnkey solutions for the Internet of Things (IoT).

Introducing new low-power ARM Cortex M0+ microcontrollers (SAM D21, D10 and D11) – Offering Atmel’s peripheral event system, support for capacitive touch button, slider and wheel user interfaces, multiple serial communications modules, along with a full-speed USB interface, as well as additional pin and memory combinations.

Unveiling new $79 SAMA5D3 Xplained evaluation kit – Providing a low-cost, fast prototyping and evaluation platform for microprocessor-based design built around Atmel’s SAMA5D3 ARM Cortex-A5 processor-based MPU.

Xplaining 8-bit development– Offering a development board for Makers and engineers based on Atmel’s 8-bit AVR technology.

Launching the ATPL230A – Introducing a Power Line Communications (PLC) modem designed to implement the physical layer of the PRIME standard (Power Line Intelligent Metrology Evolution).

Rolling out Atmel Studio 6.2 – Upgrading the popular integrated development environment for Atmel AVR and ARM based microcontrollers.

Ramping up with LIN – Extending Atmel’s automotive in-vehicle networking leadership position with the launch of next-generation, low-power local interconnect networking (LIN) systems.

GridVortex talks Atmel on LinkedIn

Jonny Doin, the founder and CEO of GridVortex Systems, recently explained why and how his company uses Atmel microcontrollers (MCUs) in a series of LinkedIn posts.

First off, Doin said he was quite pleased with the support he’s received from global Atmel staff in various locations, including San Jose, France, Spain and Germany.

gridvortex

“We needed support for the crypto core details for the CPKCL and promptly [kicked-off] a teleconference with the crypto guys in France,” he wrote. “I now try to use Atmel parts in all my projects.”

In terms of specific silicon, Doin said:

“If you need a Cortex-M that does serious crypto operations, consider using an [ARM-powered] SAM4C16 from Atmel. It is a dual Cortex-M4 with 1MB/2MB Flash, 128K/256K RAM and very strong crypto support. The chip is targeted [at] Legal Metrology and offers secure hardware crypto to support TLS/SSL.

“It [also boasts] hardware support for ECC512, RSA1024, independent circuitry for AES and a subsystem that monitors memory areas and generates exception when the hash of the area changes. From what I saw, [this] is the fastest ECC512 engine in a microcontroller, [although it does not] tax the MCU cores. [Yes], you will need a crypto NDA to get access to the crypto hardware documentation, but the ECC crypto API is really complete. The timings are impressive and outperform [other microcontrollers].”

Doin also noted that he is currently testing an Energy Meter that includes an ARM-based SAM4C.

“Atmel has won almost all chips on my design. I am using the SAM4C, ATM90E25, AT86RF212B and the LED controllers from mSilica, MSL20xx. I try to use Atmel parts in all my projects. The IPv6 router for my mesh networking is being designed around the SAMA5D3. The intelligent nodes in the mesh are SAM4C16+AT86RF212B. My software defined LED power driver is being built around the SAMD10/MSL20xx and our intelligent smart vision cameras will also use Atmel processors.”

In addition, Doin confirmed that his company was in the process of designing its endpoint hardware with the SAM4C16.

“The documentation is really good, and so far we just got everything we needed directly from the datasheet,” he added. “Maybe we’ll [also] decide to use a SAM4C32 in one of our designs, so I am looking forward to the updated datasheet.”

Last, but certainly not least, Doin said he successfully designed a high-precision servo-DAC using delta demodulation and one of the center-aligned PWMs of the SAM4C16.

“Using just one digital output and one ADC input I achieved a very stable, precision DAC, at under 19cents of external discrete components. I [recently showcased] the DAC prototype at a recent meeting in Atmel San Jose. I plan to publish the design as an AppNote for the SAM4C16 (and also for the ATmega, which also has the same PWM) and present it as a lecture at the next Embedded Systems Conference,” he concluded.

Interested in learning more about Atmel’s portfolio for your next project? You can check out a detailed breakdown of our microcontrollers here.

The new Atmel-ICE debugger is here

I ordered the new Atmel ICE debugger as soon as it appeared on the company store. I see there is still stock so feel free to put in an order with us or your favorite distributor. Don’t get this new one confused with our JTAGICE3,  sometimes called JTAGICE markIII or mk3. It looks similar, but this new one has two debugging connectors. One is for the AVR microcontrollers, and one is for ARM MCU devices. There is a nice slide-show and explanation on our Norway site.

Atmel-ICE+JTAGICE3

The new Atmel-ICE is white and has two connectors for debugging. The old JTAGICE3 (inset) is silver and only has one connector, although you can upgrade the firmware so it can debug SAM D20 ARM-based MCUs.

Best yet, just like we lowered the priced between the JTAGICE2 and JTAGICE3, we lowered it again for the Atmel ICE. You can get the fancy high-zoot version for 85 bucks. It has the pretty box and all the cables. Then there is a stripper version with just one debug cable for $49. Finally, you can get a bare-board version with no case or cables for a measly $32. This is a great deal when you think that a JTAGICE2 was $399.

Atmel-ICE_angle1024

This new Atmel-ICE replaces both the Dragon and the JTAGICE3. The only other ARV debugger you might need is the AVRONE! debugger that has trace capability. It’s 600 bucks, but that is worth every penny if you are trying to figure out where your program went or how it entered a subroutine or interrupt vector.

For the “big iron” ARM MPU (microprocessor units) with external memory you can use the SAM ICE. The SAM-ICE is in our store for 100 dollars. This works with Atmel’s MPU chips like the ARM Cortex A5-based chips like the SAMA5D series, and the ARM9-based SAM9x parts.

I unboxed my new Atmel-ICE today, here are the pictures:

Atmel-ICE_overall

The box has a Norse warrior on it, as tribute to the brilliant Norwegian engineers that invented the AVR chip.

Atmel-ICE_inside-box

Open the box and you see the Atmel-ICE on the left, safely snuggles in anti-static foam, and a box on the right with the three cables and breakout PCB.

Atmel-ICE_connectors

Here is a close-up of the debug connectors. Identical, but the one on the right is for AVR and the one on the left is for ARM-based MCUs.

Atmel-ICE_USB

The Atmel ICE uses the micro USB connector. The two more expensive versions come with the cable, the bare PCB does not.

Atmel-ICE_small

To keep costs down we didn’t paint the logo on, you can see it is nicely inset, as are the “AVR” and “SAM” indicators to tell you which debug connector is which. Check out how nice and small the unit is. This is another improvement over the JTAGICE2, and a real benefit on a crowded desk or lab bench.

Atmel-ICE_cables

Here is the cables that come in the 85-dollar unit. You also get the USB cable. Note the one cable comes with that cool breakout board.

Atmel-ICE_breakout-PCB

The breakout board has a silkscreen on both sides to help you figure out what it plugs into.

Using Arduino PWM for constant-current drive

The always excellent Circuit Cellar Magazine has a nice article by Ed Nisley. Arduino PWM vs MOSFET Transconductance describes his characterization of Arduino PWM outputs for the constant-current drive of MOSFETs. His application is LED drive, but you could use the knowledge anywhere, including a programmable current sink. Now Circuit Cellar is a paid-subscription magazine, so I can’t link to free article, but maybe their lawyers will let me take a picture of a picture in the print magazine, to which I am a long-time subscriber.

Ed-Nisley_Arduino-PWM-vs-MOSFET-Transconductance_PCB

This photo of the board Ed Nisley used to develop his constant-current source tells you it is not some Spice simulation or a theoretical track. This is a sure tip-off that Ed knows what he is writing about.

Ed-Nisley_Arduino-PWM-vs-MOSFET-Transconductance_scope

This scope shot also reassures you that Ed is not venturing forth some opinion on how the hardware and firmware works, it is proof positive he built this stuff and that it really works. I scratched off the readouts to make sure this is fair use and not a violation of Circuit Cellar’s copyrights.

Analog Guru Paul Grohe taught me that you should always look for pictures of real hardware in articles, and that if the curves are ”too pretty” they are probably marketing BS instead of real data. That is the great thing about this article; it’s got both pictures and data that tell you that you can trust the content.

There is another interesting article in the March 2014 Circuit Cellar issue. It’s about an outfit called ImageCraft. They make a C compiler with an IDE (integrated development environment) for Atmel AVR and ARM Cortex-based MCUs. Now I am a fan of Atmel’s free Studio 6 IDE, but feel free to use whatever IDE you prefer to write the code for your projects.

Now I can’t show you these articles on-line, since Circuit Cellar is a subscription print magazine. You have to give them 50 bucks a year to get it. You can get it as a digital pdf if you want to save trees. Its $85 a year for the both print and digital versions. There are large discounts for two- or three-year subscriptions. Best of all, you can give them something like $225 and get every single issue in history on a thumb drive. Then with your combo subscription you can add your monthly pdf to the archive thumb drive, and still have the print edition to impress your friends and boss.

Infographic: Visualizing the IoT

The Internet of Things (IoT) refers to a future world where all types of electronic devices link to each other via the Internet. In 2009, there were 2.5 billion connected devices; most of these were mobile phones, PCs and tablets. By 2020, there will be over 30 billion connected devices of far greater variety.

Recently, the folks at BestComputerScienceDegrees put together a comprehensive infographic depicting the rapidly growing IoT.

Internet of Things
Source: BestComputerScienceDegrees.com

As Reza Kazerounian, Senior VP and GM of the Microcontroller Business Unit at Atmel notes, the IoT is a combination of multiple market segments, tens of thousands of OEMs and hundreds of thousands of products.

“It is seen by many as the next wave of dramatic market growth for semiconductors. If you look at the different estimates made by market analysts, the IoT market will be worth trillions of dollars to a variety of industries from the consumer to financial, industrial, white goods and other market segments,” he told EEWeb in February. 

“Companies that provide cloud-based services, service providers and semiconductor companies will also benefit from this market. The number of small or new companies that are showcasing connective devices has increased – there will be 50 billion connected devices by 2020. These nodes will have characteristics such as low-power embedded processing, a human-machine interface and connectivity.”

Reza also noted that Atmel views microcontrollers (MCUs) as an essential building block for every PC, consumer device, industrial machine, home connectivity device and automobile. To be sure, MCUs are playing an increasingly critical role in the lucrative space.

“As the semiconductor industry has transitioned from PCs to mobile, IoT will now rise to become the predominant market,” he explained. 

”This transition will favor ultra-low power and integration of microcontrollers, wireless connectivity, security, touch technologies and sensor management products. Atmel is uniquely positioned and fully committed to maintaining our leadership position in the microcontroller industry – and to do so requires winning in the IoT.”

Atmel’s Kaivan Karimi expressed similar sentiments during a recent a Tech on Tour (ToT) panel discussion in San Francisco’s SoMa neighborhood. More specifically, he focused on how rapidly the Internet of Things is evolving by integrating various connected capabilities in our daily lives that range from consumer and health to intelligent, autonomous Google cars.

“For the IoT to thrive, the industry must continue to consolidate standards across multiple connected segments. In addition, security and privacy can definitely make or break the IoT, at least from a mass market perspective,” he said. ”Of course there are always going to be people with evil intent. That isn’t the question. Rather, the challenge is how to best manage and protect the terabytes of valuable data generated by various IoT devices. I personally believe the need for comprehensive security and privacy policies are so pressing that it will prompt our legislators to take appropriate action.”

According to Karimi, future IoT models will likely see individuals opting in and out of specific data collection options, ranging from devices tasked with glucose monitoring to platforms like real time breathalyzers and wearables that measure physical responses to specific activities.

“In addition to wearables, cars are also going through a massive transformation, no less significant than the migration from analog to digital,” he added. “We are entering an age where drivers will not only step up their interaction with their vehicles, but cars will also start talking to each other to avoid fatalities, as well as monitor the weather in real time and even alert drivers to natural disasters such as tsunamis and flooded roads.”

Interested in learning more about Atmel and the IoT? You can check out our article archive on the subject here.

Atmel kicks off Simply AVR Design Contest (stage 2)

Back in September 2013, Atmel launched the first stage of its AVR Hero Maker Faire Contest, which challenged Makers, designers and engineers to develop new AVR-powered devices and platforms with commercial potential. 

Winners for the first stage of the contest included Sumit Grover and Rahul Kar (two runner up prizes) from India and Juan Luis Gonzalez from Mexico.

simplyavrinfographic1

The grand prize winner? Pamungkas Sumasta from Indonesia, who designed a slick Inertial Mobile Phone Unit.

Earlier this week, Atmel launched stage two of its Simply AVR Design Contest. Targeted at engineers, Makers and DIY hobbyists, the contest invites participants to create ground-breaking microcontroller-based designs using Atmel’s wildly popular AVR MCU lineup.

The Simply AVR winner (first prize) will receive $1,500 in cash as well as coverage on Atmel’s social media channels: Twitter, Facebook and Bits & Pieces. Each of the four runner ups will claim a $500 cash prize, along with coverage on Atmel’s various social media channels.

Interested in submitting your design or voting for others? Click here to sign up and vote.

Atmel’s Tech on Tour heads to Napa

After a successful Tech on Tour (ToT) stop in San Francisco’s SoMa neighborhood, the Atmel Mobile Training Center is heading to California’s sunny Napa Valley.


We’ll be at the Meritage Resort & Spa on 875 Bordeaux Way on March 23-24, 

showcasing a wide variety of tech across a number of spaces including touchsecuritymicrocontrollers (MCUs), wirelesslighting and automotive.

More specifically, you can check out:

In addition, Sander Arts, VP of Corporate Marketing at Atmel, will be hosting a session on easy-to-use, fully integrated solutions for University students at 12:30 pm on March 23 in the Carneros Ballroom.

“In this short session, students will see how Atmel provides a broad portfolio of hardware and software solutions that are easy-to-use and cost-effective for the classroom environment. Our boards and software development kits provide students hands-on training with some of the latest electronics for developing fun applications using Ardunio-based boards to Atmel’s own development solutions,” Arts told Bits & Pieces.

“They will also hear about Atmel’s revamped University Program and how we are using our latest social media channels, mobile trailer, challenges and competitions to engage with University students.”

Interested? You can register for the event here.

Webcast: Programming AVR Microcontrollers in C



Elliot Williams is a Ph.D. in Economics, a former government statistician and a lifelong hacker. He taught himself to program microcontrollers (MCUs) long before the wildly popular Atmel-based Arduino hit the streets.

Most recently, he is author of the Maker Media book “Make: AVR Programming, Learning to Write Software for Hardware,” which is packed with a plethora of MCU programming tidbits.

On Tuesday, March 18th, Williams will be presenting a free O’Reilly webcast titled “Beyond the Arduino: Programming AVR microcontrollers in C.” The 60 minute webcast – hosted in San Francisco – is slated to kick off at 10AM PT.

“In this webcast, we’ll dive straight into the deep end. I’ll show you what you need to get started programming the AVR ATMega (and tinyAVR) series microcontrollers, give you an overview of their built-in peripherals, and demonstrate most of the important functionality,” Williams explained.

“I can’t teach you C in a webcast, but if you’ve every programmed in any language before, you’ll be able to follow along with the code examples. If you are an experienced coder, I’ll give you some insight into what makes writing directly for hardware a bit different. If you’ve worked with an Arduino before, I’ll show you how to do everything you’re now doing faster, better, and cheaper.”

Interested in joining the free webcast hosted by Elliot Williams? You can sign up here.

Atmel’s Tech on Tour heads to SF



After successfully wrapping up SXSW 2014 in Austin, Atmel’s Tech on Tour (ToT) trailer is back on the road to the Bay Area – with a long-awaited San Francisco SoMa stop scheduled for March 18, 2014.

We’ll be at China Basin, Lot C @ 185 Berry Street (between 3rd and 4th) from 10AM-6PM, showcasing a wide variety of tech across a number of spaces including touchsecuritymicrocontrollers (MCUs), wirelesslighting and automotive.

More specifically, you can check out:

Atmel’s ToT will also be hosting an industry panel on the rapidly evolving Internet of Things (IoT) at 4:00PM.

Join industry experts from Atmel, ARM, Humavox and August for an interactive discussion on how the IoT, the hottest topic in the technology sphere, is impacting today’s market across multiple segments.

Interested? You can register for the event here. See you in SoMa!!!