Questions tagged [atmel]

DO NOT USE THIS TAG. Instead use the relevant product tag, such as AVR, SAM etc tags. Besides, Atmel merged into Microchip in 2016, so still referring to your parts as "Atmel" is not very meaningful. Atmel Corporation (Nasdaq: ATML) was a leader in the design and manufacture of microcontrollers, capacitive touch solutions, advanced logic, mixed-signal, nonvolatile memory and radio frequency (RF) components.

DO NOT USE THIS TAG. Instead use the relevant product tag, such as AVR, SAM etc tags. Besides, Atmel merged into Microchip in 2016, so still referring to your parts as "Atmel" is not very meaningful.

Atmel Corporation (Nasdaq: ATML) was a leader in the design and manufacture of microcontrollers, capacitive touch solutions, advanced logic, mixed-signal, nonvolatile memory and radio frequency (RF) components. Atmel was acquired by Microchip Technology Inc. (Nasdaq: MCHP) in 2016.

621 questions
33
votes
7 answers

"The visual Studio component cache is out of date, please restart Visual Studio."

I'm on windows 7, using Atmel studio 7.0. When I opened up my project in Atmel Studio, it failed to load and gave this error: The Visual Studio component cache is out of date please restart visual studio. When I closed and reopened Atmel Studio,…
DJMcMayhem
  • 7,285
  • 4
  • 41
  • 61
28
votes
13 answers

GUI-Library for microcontroller

I want to create a GUI driven application for a micro-controller (Atmel XMEGA) that is connected to a 128x64 dots graphics LCD (EA DOGL128-6) and 4 buttons for navigation. Controlling the display itself (e.g. drawing pixels and characters) is no…
Martin
  • 10,738
  • 14
  • 59
  • 67
16
votes
8 answers

Atmel AVR Disassembler

Can somebody suggest me any disassembler for Atmel AVR 8-bit microcontrollers? There are opensource projects for this? Thanx.
Eugene Burtsev
  • 1,465
  • 4
  • 24
  • 45
11
votes
2 answers

More detail about new AVR instructions LAC, LAS, LAT and XCH

Looking at the AVR instruction set there are four instructions added in 2010 LAC load and clear LAS load and set LAT load and toggle XCH load and exchange Does anyone know what chips have these instructions What tools support these…
old_timer
  • 69,149
  • 8
  • 89
  • 168
9
votes
7 answers

Control a USB light via software

I have a little USB-powered light. I'd like to be able to turn it on and off with software. I'll be attaching it to a Linux computer. I have an Atmel ATtiny2313 from a previous project, but I'd rather do this with a simple hack than repurpose my…
Justin Force
  • 6,203
  • 5
  • 29
  • 39
9
votes
4 answers

How to achieve zero duty cycle PWM in AVR without glitches?

I'm trying to use hardware PWM on ATmega2560, using TC0 (an 8-bit timer), in Fast PWM mode. I need to dynamically adjust the duty cycle, and this includes zero duty cycle. However, this does not appear to be easy or even possible. Quoting the…
Ambroz Bizjak
  • 7,809
  • 1
  • 38
  • 49
9
votes
1 answer

Atmel Studio Dummy_Handler

Occasionally I will get an unexpected interrupt, and my code will hang inside Dummy_Handler() in exceptions.c of the Atmel Studio Framework (ASF). I am using the ATSAM3X8E microcontroller of the Arduino Due. void Dummy_Handler(void) { while(1)…
Bob Stein
  • 16,271
  • 10
  • 88
  • 101
9
votes
1 answer

Arduino Nano Timers

I want to know more about Arduino Nano timers. What timers are there? Do they produce interrupts? What code would attach an interrupt handler to them? How is delay() and delayMicroseconds() implemented... Do they use timer interrupts? (If so, how…
Jodes
  • 14,118
  • 26
  • 97
  • 156
8
votes
2 answers

Preserving sreg in AVR interrupts

What is the mechanism used to preserve the status register, sreg, in an AVR microcontroller? RETI implies that these bits are not on the stack. Is one of the general purpose registers also the sreg or something like that?
old_timer
  • 69,149
  • 8
  • 89
  • 168
8
votes
2 answers

Running unit tests from Atmel Studio 6

I am currently developing an embedded c++ project in Atmel Studio 6. This project has a fairly significant embedded portion and also a significant business logic portion. Ideally I would like to run some unit testing for the business logic code.…
shuttle87
  • 15,466
  • 11
  • 77
  • 106
7
votes
2 answers

snprintf not working as expected with avr-gcc

During a debugging session, I found out that snprintf is not working as expected when compiling the code with avr-gcc. The example code should simply convert the floating point value 3999.9f into its character representation. Here is a minimal test…
orbitcowboy
  • 1,438
  • 13
  • 25
6
votes
1 answer

Atmel Studio 7.0 and its installer throw error: "Cannot find one or more components. Please reinstall the application."

When I try to run Atmel Studio 7.0, it throws an error, Cannot find one or more components. Please reinstall the application This error also appears multiple times when I install Atmel Studio. How can I fix it? To fix this problem, I tried: I…
user11655900
  • 420
  • 7
  • 15
6
votes
6 answers

Advantages of atmega32

What are the advantages of using ATmega32 than other microcontrollers? Is it better than PIC, ARM, and 8051?
Komal
  • 85
  • 1
  • 2
  • 7
6
votes
2 answers

How do I change the avr32-gcc C compiler for the C++ in Atmel Studio 6 without having to create a new project?

I have been migrating an IAR project to Atmel Studio 6. It took me some time to create all the folders and getting the right structure as it is in the IAR project. Then I realized that I created a C project when actually I have C++ code too. So the…
Snake Sanders
  • 2,641
  • 2
  • 31
  • 42
5
votes
1 answer

Atmel UC3 - how to get the serial number?

Each Atmel UC3 apparently has a unique serial number. Does anyone know how I retrieve it in software?
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
1
2 3
41 42