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
1
vote
1 answer

Using LUFA as CDC for String Transmission

I'm trying to use my AT90USB162 (Minimus USB board) as a CDC for sending a constant string to an hyperterminal connected to a comport. So I got the demo code Demos/Device/ClassDriver/VirtualSerial and made some changes: In makefile: MCU =…
Rego
  • 1,118
  • 1
  • 18
  • 40
1
vote
3 answers

Atmel processor is reset, but there is no reset source indicated in MCUSR

The short story: What are those reset conditions, which will not set a bit in MCUSR of an ATmega processor, but still cause a reset? The long story: I use brown-out detection in an ATmega168 and have a place in my code to handle it. If my system…
vsz
  • 4,811
  • 7
  • 41
  • 78
1
vote
1 answer

Standard COM port commands for Atmel's microchips CDCs

I'm trying to use an AT90USB162 Atmel chip as a Communication Device Class (CDC) for communicating some external sensors to some Windows applications. In Atmel Application Notes site for this chip I found the application note AVR296: AVRUSBRF01 USB…
Rego
  • 1,118
  • 1
  • 18
  • 40
1
vote
1 answer

What is the serial number?

I am trying to connect a JTAG ICE Mk II Emulator from ATMEL to my USB drive. and do some development on a 32 bit ATMEL STK 1000 board. I am using AVR32 Studio and I can't seem to get it fully configured. While the JTAG is recognised by Windows, I…
Eugen
  • 1,537
  • 7
  • 29
  • 57
1
vote
0 answers

LLVM ERROR: Expected a constant shift amount

I'm trying to build Rust for an Arduino UNO. The spec sheet of the device can be found here: https://docs.arduino.cc/resources/datasheets/A000066-datasheet.pdf I'm trying to compile a simple program at: https://github.com/avr-rust/blink I run the…
Saki Osive
  • 1,437
  • 1
  • 10
  • 21
1
vote
0 answers

Simulate or script line / char key-press input with data from a file when simulating in Atmel Studio?

Is it possible in ATMEL STudio 7 (or better ATS 6 ) to create a / interrupt / anything (what ever) that can emulate a KEYPRESS function (eventually get a char from a file ) ? My problem is: I have to enter 15 - 30 80 chars lines (2400 chars at…
Kristian Sander
  • 191
  • 1
  • 10
1
vote
0 answers

Atmel Studio does not start debugging

I select my device in the debugger, as shown in the attached screenshot. When I click on 'Start debugging', the debugging does not start. Using the simulator as a debugger, the debugging starts even without adding breakpoints. What is the…
1
vote
0 answers

ATTiny 1626 pullup input does not trigger falling edge ISR, is there something wrong with my setup?

I have an ATTiny 1626 on a PCB which I program by using SerialUPDI. I want to increase the value of a variable in an interrupt service routine, triggered by a button press. The problem is, that the ISR does not get called at all. My Setup My Code…
Felix Mark
  • 11
  • 3
1
vote
1 answer

Adding two 9-bit numbers with carry in AVR Assembler

I need to add two 9 bit numbers using the instructions ADD and ADC. The numbers are stored in R21:R20 and R23:R22 (MSB: LSB) pairs of registers. The registers should not be overwritten. The micro-controller I am using is an AtMega16A which has a max…
Anna M
  • 11
  • 1
1
vote
1 answer

Building Atmel START project to load with UF2 bootloader

I'm trying to build an Atmel START project using GCC such that it will load with the Adafruit UF2 bootloader on a SAMD21 chip. From prior research I've learned that I need to have the text section start at offset 0x2000, and I need to specify the…
Xavier Denis
  • 406
  • 3
  • 14
1
vote
1 answer

Trouble Changing Fuse Bits Using Atmel Studio 7 CLI?

Edit: Probably solved I can successfully change the fuse bits in the GUI. I know this because I can read the values of the fuse bits of the chip. I can change them, then read them later, and they are the same as when I wrote them I know the…
Zeno
  • 105
  • 1
  • 2
  • 8
1
vote
2 answers

Why can't I use a global bool variable whose value depends on interrupt flags?

I'm trying to wait for an interrupt to continue with the execution of the code, something like this: bool flag = false; void interrupt_handler (uintptr_t context) { flag = true; } void main() { CallbackRegister(event,…
1
vote
0 answers

ARM AT91SAM - Simple USB Read with callback question

I have a very simple question about USB reads with call backs. I want to set up a read to a buffer then wait until the transfer is complete before using the data in the buffer. The framework for the chip is set up so that you start the USB transfer…
a.grealish
  • 11
  • 2
1
vote
1 answer

sbrk.c not seeing linker variable end

I am developing on SAM3X8E, I am using the GCC C++ compiler and atmel studio 7. I am trying to include the stdio library and I keep getting the error: "undefined reference to end" in sbrk following this…
FourierFlux
  • 439
  • 5
  • 13
1
vote
0 answers

How do you add the Atmel ASF to VSCode?

I'm trying to add the Atmel ASF libraries to VSCode to program SAMD microcontrollers, but I can't figure out how. I've tried adding the ASF path to a c_cpp_properties.json file but it's not working. I've also tried adding it to the settings.json in…
Mugen
  • 21
  • 5