All Questions
106 questions
1
vote
2
answers
77
views
How to get an ATtiny24A MCU into sleep mode?
I am experiencing somewhat a peculiar phenomenon. I am trying to get an ATtiny24A into sleep mode. I had a working code before, but through revisions and testing of other parts of my program it seems ...
1
vote
1
answer
342
views
Problems setting up an AVR MCU programmer in Eclipse 2024-03
I installed Eclipse 2024-03 with the plugin to manage AVR MCUs. But when I try to indicate which MCU programmer I intend to use, using the Windows->Preference->AVR window, although I can see ...
0
votes
2
answers
1k
views
Is bool data type supported in embedded C? [closed]
The wrote the following code for avr MCU and I compiled and uploaded the code with Arduino IDE, I did not get any error and the code works but I remembered C program does not support bool data type. ...
0
votes
1
answer
261
views
Can't communicate with ATtiny13a after set 128kHz internat RC
After set command to avr dude
avrdude -c usbasp -p t13 -U lfuse:w:0x67:m -v
I can't communicate with mcu. I want to erase whole flash or change fuse bits to default
Here is my output:
avrdude -p t13 -...
0
votes
3
answers
4k
views
Where are avr-gcc libraries stored?
I'm trying to locate the .c files that are related to the #include header files in avr.
I want to have a look at some of the standard libraries that are defined in the avr-gcc library, particularly ...
0
votes
1
answer
137
views
Undefined Reference to suart_tunedDelay in AVR Firmware Project
I am getting an undefined reference error when trying to compile a c project for AVR.
When I compile this is the console output:
12:05:18 **** Incremental Build of configuration Release for project ...
-1
votes
1
answer
600
views
Having problem to install avrdude on macOS Terminal
First of all, I have trouble installing avrdude via Homebrew because of some network problems. So I download it manually from its website.
However, after I unarchive the avrdude-7.0.tar.gz file I just ...
0
votes
0
answers
45
views
ATmega16A SMD Package Stop Working after afew hours
نتایج ترجمه
Hello
I wrote a program for ATmega16A microcontroller, 6 of the pins are defined as input and 6 of the pins are defined as output.
UART communication and a timer are also defined in the ...
1
vote
1
answer
1k
views
Failing to access AVR ATTiny13A with very slow clock (128kHz/128 or 128kHz/256) (avrdude: error: program enable: target doesn't answer)
I am trying to program an AVR ATTiny13A using a USBasp adapter (guloprog) and avrdude. Uploading the program and running it works fine the first time for a fresh ATTiny13A device, but re-uploading ...
0
votes
1
answer
387
views
ATMEGA328p interrupt not working when using avrdude
I'm trying to use light a led placed in PB0, when detecting the INT1 interrupt on an atmega328p without an external ocilator. I'm using avrdude to upload the code to the micro. This is the code:
#...
-1
votes
2
answers
200
views
Cannot see Arduino port up after uploading AVR program
I'm trying to learn how to do AVR programming with my Arduino using AVR libraries. I was able to successfully upload this blink program to my Arduino Micro using the Arduino IDE:
#include <avr/io.h&...
0
votes
2
answers
88
views
How to get program's version number through 10-pin ISP-connector with avrdude?
I'm making a printed circuit board and within the board there is a 10-pin ISP connector attached to the AVR microcontroller. So I can flash new code to the AVR.
I have several of these same boards, ...
-1
votes
1
answer
633
views
AVRDUDE slow upload on atmega32
I'm using eclipse software and when I want to upload my code to the MCU(atmega32) with a clock of 16MHZ the avrdude takes longer than it should, however the program runs as it should but the only ...
0
votes
1
answer
7k
views
Error: avrdude: stk500_getsync() attempt X of 10: not in sync: resp=
I am using an Arduino Uno and every time I upload the code I get this error:
Error: avrdude: stk500_getsync() attempt X of 10: not in sync: resp=
I have lookad at every single possible option; first ...
1
vote
2
answers
182
views
My Interrupt is not updating my value to my main, how should i set up my Interrupt?
Im trying to build a program that has a scannerlight with at least 5 leds and one button connected to an external interrupt pin. A single button press (and release) to start the scanner light. ...