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

Issues with Timers in Assembly [ATmega8]

I've written a programm that Outputs 2 different sounds, taken from 2 Potientiometers. The issue with that is, that a sound is generated by turning the beeper on and off with a delay in it, which is basicly the value of the potentiometer. But the…
Lazy Senior
  • 171
  • 1
  • 8
4
votes
2 answers

How to add .c and .h files to Atmel Studio 6?

I know there are a lot of questions on this topic, and I've looked through a fair number of them. However I am still having problems. I started writing a test program for a prototype PCB, and now that it's grown to nearly 1000 lines I'm trying to…
SVFeingold
  • 67
  • 1
  • 1
  • 7
4
votes
0 answers

Android as a host to ATtiny85 Digispark

I've been working on developing an Android application that will act as a host to an Arduino based Digispark development board. One of the problems with the board is that it doesn't have a dedicated USB controller, instead it uses a software…
4
votes
2 answers

Issue with SPI (Serial Port Comm), stuck on ioctl()

I'm trying to access a SPI sensor using the SPIDEV driver but my code gets stuck on IOCTL. I'm running embedded Linux on the SAM9X5EK (mounting AT91SAM9G25). The device is connected to SPI0. I enabled CONFIG_SPI_SPIDEV and CONFIG_SPI_ATMEL in…
stef
  • 737
  • 4
  • 13
  • 31
4
votes
2 answers

Arm Rom.ld ,Ram.ld ,scatterfile ,startup.s ,what all these files do?

I have programmed avr microcontroller , but new to arm.I just looked a sample code for sam7s64 that comes with winarm.I am confused about these files rom.ld , ram.ld , scatter file , cstartup.s file. I never saw these kind of files when i programmed…
sanjay
  • 735
  • 1
  • 5
  • 23
3
votes
4 answers

ATmega128: Adding and subtracting 16-bit numbers (assembly)

I'm working with a ATmega128 microcontroller and supposedly need to add two 16-bit numbers. I'm using AVR Studio and this is what I got so far: .include "m128def.inc"; .equ ramstart = 0x100 .def temp = r16 .dseg .org ramstart number1: .byte…
Lasse A Karlsen
  • 801
  • 5
  • 14
  • 23
3
votes
0 answers

System Design Document template for firmware development on Atmel UC3 platfrom

Do any body have or know any site where I can get a template for System Design Document for my firmware develop project for Atmel UC3 platform?
Surjya Narayana Padhi
  • 7,741
  • 25
  • 81
  • 130
3
votes
1 answer

Error connecting DP: cannot read IDR-No connection could be made because target machine actively refused it

I could program and debug this project for the first time. But the problem is that I can't reprogram or debug it again. There is no bootloader on the chip. The only way to communicate with this chip is SWD. As a debugger, I am using Atmel ice. The…
Mary
  • 71
  • 1
  • 7
3
votes
2 answers

SPI initializing in Atmel studio

im trying to use my Micro OLED Sparkfun display (here is the datasheet enter link description here) but i have a problem about code. Maybe is the problem in code because im working first time with SPI in Atmel so if would be somebody so nice and…
user10400521
3
votes
1 answer

Clearing TPM without owner password

I want to use BeagleBone Black with TPM enabled through CryptoCape. I am following this tutorial in a way I can clear the TPM, because of its compliance mode. When I run tpm_clear -l debug I get a prompt to enter the owner password, which I do not…
Dalton Cézane
  • 3,672
  • 2
  • 35
  • 60
3
votes
1 answer

BouncyCastle ECDSA Signature Verification Failed Using prime256v1 and SHA256withECDSA Algorithm

I need to verify an ECDSA signature with Java using BouncyCastle crypto provider. So far BouncyCastle failed to verify the signature. The signature is created in Atmel AT88CK590 Crypto Authentication module and Public key can be obtained out from…
3
votes
3 answers

AtmelStudio 7 installation failed for avr8 device support package

I am trying to install AtmelStudio 7 on Windows 7, but the installation stopped after some time. The following error message is shown: An error occured AVR8 Device Support What i tried so far: I took also a quick look at Atmel-FAQ, but the…
orbitcowboy
  • 1,438
  • 13
  • 25
3
votes
0 answers

How to configure AtmelStudio 7 to add new lines at file end by default

Atmel Studio does not add a new line at the end of a file by default. Background When developing AVR assembly, there is a known issue with avrasm: AVRASM2 has some issues if the last line in a source file is missing a newline: Error messages may…
orbitcowboy
  • 1,438
  • 13
  • 25
3
votes
1 answer

Breaking a while loop and restarting code

I wanted to know if it is possible to break a while loop and restart the code from a particular position without the use of an external reset button on the MCU reset pin. Below is the while loop I would like to break when the "if" statement is true,…
LoneCoder
  • 45
  • 6
3
votes
1 answer

AVR-GCC: Error: garbage at end of line

I have problem with stack init lines because avr-gcc returns LED_Blink.asm:10: Error: garbage at end of line On lines: ldi r17, low(RAMEND) ldi r17, high(RAMEND) And I am confused. I have already defined RAMEND. I used avr-gcc with this…
Rišo Baláž
  • 75
  • 1
  • 4
1 2
3
41 42