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

A large string of 00-00 is showing up on my output when receving message from serial COM port?

I have an Atmel Atxmega128A1 microcontroller that is sending a message to the PC (c#) application through a serial COM port. Occasionally I start receiving a large string that looks like this (PcIocBus is a class): "PcIocBus: Invalid message RX: …
MB41
  • 552
  • 2
  • 8
  • 24
0
votes
1 answer

Flash a binary for Arduino Due board from Atmel studio

I am working on Arduino Due board. I need to interface a module to this board using SPI protocol. I have a source code which i build in Atmel studio project . Now i need to flash this binary (.hex/.srec) on Arduino Due board. For that i installed an…
yemans
  • 917
  • 3
  • 12
  • 17
0
votes
2 answers

C++ AVR append to const char *

In C# you'd have a string, to append to the string I'll do the following: //C# string str=""; str += "Hello"; str += " world!" //So str is now 'Hello world!' But in C++ for AVR I use a const char *. How could I append to it? const char *…
Stuyvenstein
  • 2,340
  • 1
  • 27
  • 33
0
votes
0 answers

what is the procedure to program bootloader HEX file to the Xmega256A3BU avr board?

I devolouped ATXMEGA256A3bu devoloupment board. Now i need to run this by progamming bootloader HEX file. am not getting how to make it work. i need to put loader with JTAG programmer or PDI or SPI. Can any one please help me out how to resolve…
gon
  • 57
  • 1
  • 11
0
votes
1 answer

How to port from Arduino to AVR?

How can I port an Arduino library to the ATTiny family of microcontrollers? I'm using avrdude if that helps. Thanks.
user2687781
  • 325
  • 2
  • 11
0
votes
2 answers

Atmel Button Debounce not working

I am trying to make a button debounce software by the help of an led toggle function that returns a different boolean each time which i got by asking the question before but that never worked : #include bool ledToggle(); int…
user3407319
  • 227
  • 2
  • 10
0
votes
1 answer

Build and link µIP library with no OS

I'm relitavely new to embedded development and I have a question, or more of a feedback, on building and linking the µIP library on an embedded device. For what it's worth, the following is using a FOX G20 V board with an ATMEL AT91SAM9G20 processor…
Adam
  • 2,384
  • 7
  • 29
  • 66
0
votes
0 answers

CONFIG_MMC_ATMELMCI...no devices detected

I'm trying to compile a kernel for a GESBC-9G20w from Glomation. The board is built around a AT91SAM9G20. My problem is that I can't detect an sd card with my kernel. The demo kernel they provide works, so I know the hardware's good, but I need a…
Kevin Garman
  • 395
  • 3
  • 10
0
votes
0 answers

Contiki-OS on MikroeMedia XMega - ATxmega128A1 microcontroller

Just looked into contiki OS and was wondering is it will work on MikroeMedia XMega - with microcontroller ATxmega128A1??
Jadeye
  • 3,551
  • 4
  • 47
  • 63
0
votes
1 answer

Converting binary to int

I apologize beforehand if this is a beginner's question; I'm new to C programming. I am working on an embedded design project that requires my ATmega128 reads in a 4-byte data from a sensor. The data contains two 14-bit measurements that I need to…
dabr david
  • 67
  • 4
  • 9
0
votes
2 answers

Can you only perform arithmetic in registers when programming in atmel studios?

I need to multiply two 4 byte numbers. I can store those values in the x,y,z registers but then how do I multiply them since I can only multiply 8x8 bits at a time? I know how to allocate memory in dseg but arithmetic functions can't be performed…
0
votes
1 answer

how to update only some portion or APIs of code in microcontrollers

I am using atxmega256a3bu microcontroller for my project, I want to make a program architecture like I have compiled and programmed the code and now only some APIs can be changed and reprogrammed into the board other portion of flash should not be…
shreyas_patel21
  • 317
  • 1
  • 4
  • 14
0
votes
1 answer

Error when compiling project in Avr Studio 6

I am getting the following error when buildign my project in AVR Studio 6: 400 Id returned 1 exit status collect2.exe And if I look at my output I have the following: Building target: main.elf Invoking: AVR/GNU Linker : 3.4.2 "C:\Program…
Zapnologica
  • 22,170
  • 44
  • 158
  • 253
0
votes
3 answers

Reading back ATmega328p program using FTDI Basic

I am trying to read the application I programmed to an ATMega328p atmel processor using the FDTI Basic small usb board, I am using Avrdude 6.0.1 and I am using the following command: avrdude.exe -p m328p -C avrdude.conf -c 2232HIO -U…
kelmahgoub
  • 1
  • 1
  • 1
0
votes
2 answers

Error in Atmel Studio 6.1 avr/io.h No such file or Directory

But it is giving error like avr/io.h No such file or Directo while (1) { //INIT USART UCSRB = 0x18; //reciever enable , transmitter enable UCSRC = 0x86; //8 bit , 1 stop bit , UBRRH = 0; UBRRL = xtal/16/baud-1; …
vijay patil
  • 51
  • 2
  • 8