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
5
votes
1 answer

SQLite on Embedded System

I am trying to configure SQLite to run on an embedded system (ARM® Cortex®-M7). I have downloaded the amalgamation from the SQLite website, imported it into the project, and added the following symbols: SQLITE_THREADSAFE=0, SQLITE_OS_OTHER=1,…
Steve
  • 51
  • 4
5
votes
3 answers

uint64_t variable with & operations

I have a function which is searching for series of nine "1" in 64-bits variable(RFID tag number) and if found, moves them to the MSB. I have a huge problem with understanding why it does not work properly. This is my variable uint64_t volatile…
Adam Flis
  • 51
  • 4
5
votes
2 answers

Is there a way to handle heap memory fragmentation in AVR/Arduino microcontrollers?

I've been searching for a few days now without any luck. Heap memory fragmentation is a result of using malloc() and free() heavily in microcontrollers/Arduino. If using them is unavoidable, how can I defragment the heap every now and then to make…
Islam Mustafa
  • 211
  • 2
  • 11
5
votes
2 answers

How to make a delay in assembly for avr microcontrollers?

I am having a problem in calculating delays. I want to make a delay for 1 sec when I am using 1MHz clock speed for my atmega128 microcontroller. I use proteus for simulation and avr studio for coding in assembly for atmel microcontroller. For…
UmeRonaldo
  • 619
  • 2
  • 7
  • 19
4
votes
1 answer

Must AVR programs always start with a relative jump instruction?

All example AVR programs I've ever seen start with code such as the following: .org $0000 rjmp Reset ; ... Reset: ; Start of program If I'm not making use of any interrupts can I do without the rjmp and start the program at $0000?
Matthew Murdoch
  • 30,874
  • 30
  • 96
  • 127
4
votes
1 answer

What CPUs are supported with Arduino?

Is there a table summarizing the differences of CPUs supported by Arduino? What's the lowest power Atmel processor that can be used with an Arduino?
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
4
votes
1 answer

Using autocomplete feature in AVR Studio for coding C with avr-gcc

How can I enable or disable the autocomplete feature for the IDE AVR-Studio 5 or AVR-Studio 4? Do I have to edit some installation files to do this? In the video AVR Studio 5: How to use the Editor, the man uses a supposed autocomplete feature…
Rego
  • 1,118
  • 1
  • 18
  • 40
4
votes
1 answer

LUFA Coding an Example for AT90USB162

I'm with an open-source USB library for the USB-enabled AVR microcontrollers, LUFA (2011-10-09), and I am trying to code the CDC (a bootloader) example to my AT90USB162 chip. The sample code is in folder /Bootloads/CDC and comes prepared for…
Rego
  • 1,118
  • 1
  • 18
  • 40
4
votes
2 answers

CDC Demo COM Port Code on AT90USB162 (Minimus AVR)

I intend to use my AT90USB162 (integrated as Minumus AVR USB board) as a Communication Device Class with COMPORT. In Minimus AVR home site, it gives an code for building a COMPORT hex to my chip, in AVR-USB-162-CDC.zip (this project uses WinAVR 4,…
Rego
  • 1,118
  • 1
  • 18
  • 40
4
votes
1 answer

Atmel SAM D21 set fuses via ELF file

AVR processors can have their fuses programmed via the ELF file (see http://www.nongnu.org/avr-libc/user-manual/group__avr__fuse.html). Is there a way to do the same for the SAM D21 ARM-based controller in AtmelStudio 6.2?
Alexander Foken
  • 219
  • 1
  • 2
  • 8
4
votes
1 answer

Avr Atmel AR32UV3A0512 EEPROM emulation over SPI

How to set AVR to emulate EEPROM over SPI? I would like to boot my TI's Piccolo from Atmel AVR AR32UV3A0512 via SPI port. Piccolo has a feature that allows it to boot through SPI connected EEPROM. TI documentation specifies that if the SPI is…
VladP
  • 529
  • 3
  • 15
4
votes
1 answer

Atmel SAM3X dual bank switching not working

I'm currently working with an Atmel SAM3X8 ARM microcontroller that features a dual banked 2 x 256KB flash memory. I'm trying to implement a firmware update feature, that puts the new firmware into the currently unused flash bank, and when done…
PsyPhy
  • 43
  • 4
4
votes
4 answers

Atmel Studio 7 doesn't show any debugging tools

I just installed Atmel Studio 7 on my Windows 10 HP laptop. This is my first time working w/ a C compiler since high school, and my first time working with a microcontroller. I loaded one of their example projects and built it without any errors.…
DankMasterDan
  • 1,900
  • 4
  • 23
  • 35
4
votes
3 answers

Writing array to specific flash location in the .hex file

For my embedded application on Atmel SAM4E16C i need to place an array with firmware information at the end of the .hex file. I'm using Atmel Studio 7 with GCC. I've already done this for Atmega168PB but somehow it doesn't work for this project.…
Maku
  • 199
  • 2
  • 15
4
votes
1 answer

Atmel SAMD21 DMA Abort issue

Due to some design requirement, I need to change DMA descriptor at runtime. To achieve this, I am following below steps: Abort DMA channel. DMA hardware will then save currently executing descriptor at write_back RAM location of same DMA…
GOKU
  • 221
  • 2
  • 6
1
2
3
41 42