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

Is Atmel processor or AT91Boot dll crashing my USB ports

I am adapting some test software that is used to upload a .bin file to one of our products via USB. The product has a Atmel AT91SAM7X256 processor. The software is all written in c# and is running on a windows XP machine. The previous programmer (no…
Gaz83
  • 2,293
  • 4
  • 32
  • 57
0
votes
1 answer

ADIE bit in AVR ADC in Free running mode

I have been writing my own "library" to handle different inits on an AVR chip. However, I am stuck on the action of the ADIE bit in the ADCSRA register (p.261 in the datasheet). The datasheet doesn't really explain how ADIE works. However, I haven't…
MechaPrime
  • 47
  • 2
  • 6
0
votes
1 answer

How to compile a sketch using Arduino

I have a custom board that uses ATmega168PV, and I have a bin file that when I use Atmel Studio 6.0, I can program it to my board. I have the source code for the binary (in the format of sketch), and I want to change/compile the code and program the…
mans
  • 17,104
  • 45
  • 172
  • 321
0
votes
3 answers

How to define a timer in avr-gcc

I am learning to use avr-gcc, but I have no idea, how to solve the following task: The 8 bits from Port B should alternately set from 0 to 1 with an interval of 500 mili seconds. I appreciate your help.
Daniel Zemljic
  • 443
  • 1
  • 4
  • 8
0
votes
1 answer

Status register description in document

Reading AVR assembler instruction set documentation. What those red highlighted registers means? In some cases they are inverted.
Pablo
  • 28,133
  • 34
  • 125
  • 215
0
votes
1 answer

Interrupt timer stuck when run parallel with while(1)

first code: //------------------------------------------------------------------------------ /// Interrupt handlers for TC interrupts. Toggles the state of LEDs //------------------------------------------------------------------------------ char…
cnd
  • 32,616
  • 62
  • 183
  • 313
0
votes
1 answer

Error: cannot find World!.map: No such file or directory. Using Atmel studio 6 and CEENBot API

So I am making my Hello world program, and it is like this: #include "lib-includes/capi324v221.h" void CBOT_main(void) { LCD_open(); if (!LCD_OPEN) { while (true); // loop forever } else { …
scrat101
  • 89
  • 1
  • 2
  • 8
0
votes
1 answer

Burning a program using WILLAR on AT89C2051

When I burn a program on AT89C2051 using WILLAR, for example: #include #define port P3 void delay(unsigned int); void main(void) { for(;;) { port = 0x0; delay(1000); port = 0x0ff; delay(1000); …
PradeepBhati
  • 63
  • 1
  • 3
  • 11
0
votes
1 answer

Issue with getting started with Arduino mega

I've just got my first brand new Arduino mega 2560 board. I've downloaded Arduino 1.0.1 software. When I first plugged in the board, it failed to detect the device. So I opened device manager and pointed to the "...\arduino-1.0.1\drivers" folder…
Anubis
  • 6,995
  • 14
  • 56
  • 87
0
votes
1 answer

What can cause the LPM instruction to always fail?

I have a self-modifying program which writes to the program flash area (it does not break the program flow because I write to another flash sector than the one my program is running in - it runs in the protected bootloader section). The complicated…
vsz
  • 4,811
  • 7
  • 41
  • 78
0
votes
2 answers

Is it possible to save some data parmanently in AVR Microcontroller?

Well, the question says it all. What I would like to do is that, every time I power up the micro-controller, it should take some data from the saved data and use it. It should not use any external flash chip. If possible, please give some…
ponir
  • 447
  • 7
  • 20
0
votes
2 answers

Setting up AVR Studio with Arduino

I have tried setting up AVR studio 5.1 and 6 to use my Arduino libraries. The instructions I have followed are here: http://www.engblaze.com/tutorial-using-avr-studio-5-with-arduino-projects/ My project includes the necessary libraries and they are…
Spectrem
  • 682
  • 1
  • 11
  • 37
0
votes
1 answer

Vehicle GPS tracking for Atmel AVR

I have made the circuitry for Vehicle tracking device now I'm stuck in the code of Atmel AVRmega2561, which is supporting with flash memory. Please advise from where should I start.
0
votes
1 answer

arm9 bootloader IAR

I am looking for a bootloader for Atmel Arm9. Atmel has a "Safe and secure boot loader" but that is for a ARM7 and is quite old (does not build using the latest IAR toolchain) I am assuming that this has to be done before and don't want to reinvent…
OneGuyInDc
  • 1,557
  • 2
  • 19
  • 50
0
votes
1 answer

How to repair : struct _reent r = {0, (FILE *) 0 }? Is struct _reent a part of any toolchain?

When compiling Atmel example with arm cross-compiler getting : ../at91lib/utility/stdio.c:64:8: error: variable 'r' has initializer but incomplete type the code is : struct _reent r = {0, (FILE *) 0, (FILE *) 1, (FILE *) 0}; I don't know what can I…
cnd
  • 32,616
  • 62
  • 183
  • 313