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

Setting up interrupts to watch for pin change

I am new to using this micro-controller and am having trouble setting up the interrupts. I am going to have a pump connected to a pin and when the pump encounters an error the pump will close and ground the switch connected to the micro-controller.…
brian
  • 43
  • 1
  • 7
2
votes
1 answer

arm-none-eabi-gcc: -march option v/s -mcpu option

I have been following j lynch tutorial from atmel for developing small programms for at91sam7s256 (microcontroller). I have done a bit tinkering and used arm-none-eabi instead of arm-elf (old one). By default i found that gcc compiles assuming…
arka7304
  • 25
  • 1
  • 5
2
votes
3 answers

Atmel Studio 6, C++ issues with unknown type "class"

I'm working with Atmel Studio 6 and am having an issue with the C++ implementation. I defined a new project, selected the C++ option and added a new class which created the class files (.cpp and .h) as expected, but when I open the .h file the…
Tim
  • 41
  • 1
  • 4
2
votes
1 answer

Multiple Definition error caused by Atmel Studio 6 linker

I am having an issue with Atmel Studio 6.1 where I can not compile due to multiple definition errors, this seems to be caused by the linker duplication "Libraries/lib_mcu/can/can_isp_protocol.o Libraries/lib_mcu/can/can_isp_protocol.o" Does anyone…
user2387494
  • 23
  • 1
  • 4
2
votes
3 answers

atmel sensor using printf

I have an atmel UC3-L0 and compass sensor. Now I install AtmelStudio and download some demo code into the board. But I have no idea where the function printf in demo code will appear the data. How should I do to get the data?
aaa SA
  • 321
  • 1
  • 8
  • 16
2
votes
1 answer

Functions used in ASF instead of IODIR, IOSET, PORTD

I have programmed microcontroller before and used instructions like IODIR, IOSET, PORTD, DDRD and etc. I am now using Arduino Due which have the ATSAM3X8E Cortex M3 microcontroller. Iam programming the Arduino Due using Atmel Studio 6. I have…
EM10
  • 795
  • 7
  • 12
  • 24
2
votes
3 answers

System calls not working in Atmel AVR Studio (with ASF)

I am not getting answers on the AVR Freaks forum and wonder if someone here could help me. The answer might lie in this SO question, but I am not sure why it would be necessary. Basically, I have my fist ever Atmel project (AVR studio 6, UC3…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
2
votes
1 answer

AT91SAM7X512 reset type issue

I am using an AT91SAM7X512 for my application. I perform a software reset after certain action. The processor resets. But upon reading the RSTC_RSR status register I get an invalid register value for the reset type: RSTC_RSR = 0x700 which translates…
Aditya
  • 53
  • 7
2
votes
1 answer

Cross g++ compiler linker error

I am using Eclipse to cross compile a g++ project for an ARM processor. I am using the yagarto toolchain in a Windows environment. I have no issues with C projects, but with C++ I keep receiving the errors: libc.a(lib_a-abort.o): In function…
Sam
  • 238
  • 3
  • 14
2
votes
2 answers

How to add header files in Atmel Studio 6

I'm trying to go with Atmel Atudio 6. But i'm not sure how to add .h files to my project. Is that something allowed? if so, how can i add them?
Anubis
  • 6,995
  • 14
  • 56
  • 87
2
votes
1 answer

Enabling code completition in Atmel Studio 6

I'm looking for autocomplete feature in Atmel's IDE Atmel Studio 6. As it is based on Visual Studio, there should be IntelliSense, but I can only find the menu entry "Intellisense" under "Edit", which has no effect at all. I'm programming in C. Is…
pafodie
  • 87
  • 1
  • 10
2
votes
2 answers

Perl system() EXE Permissions?

I'm kinda new to running Perl on windows, and I'm having some problems with the system command while trying to run avrdude.exe to upload a HEX file to a Atmel Microcontroller. These are the Perl commands I am using to execute the command: $AVR_CMD…
SuperTron
  • 4,203
  • 6
  • 35
  • 62
2
votes
1 answer

How to include lwIP original source code into my project?

I am currently implementing a simple tcp/ip server using an Atmel AT91SAM9260 evaluation board (ARM based micro-controller with several peripherals). Some examples, given by Atmel include a uIP based web server but uIP cannot handle the throughput…
Jonas
  • 1,365
  • 3
  • 21
  • 39
1
vote
3 answers

C Undefined reference

I have the following code: main.c #include "checksum.h" void main() { char *Buf ="GPGGA204502.005106.9813N11402.2921W1090.91065.02M-16.27M"; checksum(Buf); } checksum.c #include #include checksum(char *Buff) { int…
StianL
  • 45
  • 1
  • 5
1
vote
1 answer

Missing File Exceptions.h

I have just recently started using Atmel Studio 6 to program an SAM3S4A that I recently bought. When compiling, it states from inside the file "pio_handler.c" that the file "exceptions.h" is missing. There seem to be many copies of this same file…
Nexxuss
  • 50
  • 6