All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Atmega328p Uploads via ISP but not bootloader

I'm trying to upload a bootloader to my atmega328p on a custom pcb containing external oscillator at 16MHz. It is possible to upload program via ICSP pins using Arduino as ISP (Official Arduino Uno) ...
0
votes
0answers
32 views

How to burn a bootloader to non-bootloaded(clean crystal) ATMEGA328P-PU with USBASP programmer via Avrdudess?

I'm trying to burn bootloader to my clean crystals, atmega328p-pu.For this I use the 16MHZ crystal with two ceramic capacitors and USBASP programmer, on Windows 10 Pro. As program for burning I tried: ...
0
votes
1answer
59 views

Can't use Arduino nano as ISP because it can't read the Device signature

I programmed the 8mhz internal oscillator Bootloader to a new Arduino Nano with another Arduino nano running the ISP Sketch, wich worked fine the first time(Arduino as ISP selected as programmer). (I ...
0
votes
1answer
93 views

Programming the ATMega328P without Arduino board always returns the error: avrdude: stk500_recv(): programmer is not responding

I have a microcontroller: ATMega328P. I don't have any Arduino Uno board. I want to program the ATMega328P using my FTDI programmer. But when I try to program the ATMega328P without Arduino board I ...
1
vote
1answer
167 views

Errors trying to set fuses on bare Atmega328p

I have an Atmega328p on a board that I want to program using an Arduino programmer. I've got the programmer working to program other Arduino's over ICSP header, but when trying to use the same ...
0
votes
0answers
86 views

Bootloader fails when two Arduinos are connected over serial port

I’d like to connect two Arduinos over serial port so that they can communicate with each other. Initially, I put all necessary code onto one device and now connected another via serial port. As soon ...
1
vote
2answers
563 views

Error when trying flash bootloader into Arduino Pro Mini 328P 8MHz 3.3V

I tried flash bootloader into Arduino Pro Mini 328P 8MHz/3.3V clone, but got error. First I did test: ~$ avrdude -c usbasp -p m328p avrdude: AVR device initialized and ready to accept instructions ...
0
votes
2answers
402 views

Arduino pro mini not compiling after changing fuse to 128khz

I used Arduino UNO as ISP to change the fuse setting of Arduino Pro Mini. Using avrdude cmd, I successfully changed it to 8MHz setting. Due to curiosity, I decided to try changing it to 128kHz. But ...
0
votes
1answer
486 views

I bought ATmega328p with bootloader and I can't erase it

I bought an online deal which had 10x ATmega328p with bootloader installed. I thought I can erase the bootloader once I got the order (I want to write custom task without a bootloader) but my ...
2
votes
1answer
89 views

Issues graduating to AVR-C [closed]

I'm trying to make the transition from coding in the Arduino language to AVR-C, but I'm having some issues with my microcontrollers. I don't have an ISP, so I'm using one of my Arduino UNOs with the ...
-1
votes
1answer
247 views

Atmega328P and Arduino Studio and Pololu AVR - not working

I have standalone ATMega328p and I'm using external 16MHz oscillator, I hooked up and I triple checked my connections for Pololu AVR programmer and I make sure that I select a proper programmer \ ...
-1
votes
1answer
165 views

My Arduino UNO turns LED ON forever when I connect it to my Laptop

My Arduino UNO Board keeps the LED light turned on forever whenever I connect it to my PC. And, when I try to upload even a sample sketch, it says avrdude: stk500_recv(): programmer is not responding. ...
0
votes
2answers
7k views

Using Arduino UNO to retrieve ATMega328P-PU chip signature

Good day. I have successfully built and tested an Arduino-on-breadboard about 2 days ago. The device is rather straight forward, I have added a voltage divider and an LED to indicate power. The ...
5
votes
2answers
130 views

Trouble with Timer 0

I'm taking my first wobbly steps outside the Arduino IDE and I'm not having much success with timers / interrupts. I can set a pin to output and light an LED with registers fine but I cannot for the ...
0
votes
1answer
9k views

How to flash the “atmega328” with AVRDUDE?

I have an external device using an ATmega328, not a ATmega328-P as used by the Arduino Uno. Now I want to use AVRDUDE and an Arduino Uno to flash a hex file on this chip. Therefore I removed the ...
0
votes
3answers
175 views

Why atmega168/328p starts to reset?

First we set fuse bits: avrdude -c usbasp -p atmega328p -U lfuse:w:0xFF:m -U hfuse:w:0xDF:m -U efuse:w:0x07:m # same for atmega168 In the following examples we use the following commands to compile ...
0
votes
1answer
227 views

Running Arduino code for Bluefruit LE on bare ATMega328

I need to hook up Bluefruit LE Breakout (nRF8001-based) to ATMega328 chip (to use it as wireless UART), and it seems like the library provided is for Arduino. What I have is just bare ATMega328 (note ...
0
votes
1answer
16k views

Cannot bootload again after changing the board?

We are so tired and would like to get help with this. We are trying to bootload using the arduino Uno. We have an atmega 328p smd , that we are trying to bootload. We have connected all the right ...
2
votes
1answer
7k views

How to modify Arduino boards.txt to support new MCUs

In this post, it was mentioned that to get the Arduino IDE to support an ATmega328 (only the ATmega328P is supported): I should mention the Arduino way of doing this, is to create a new boards....
3
votes
1answer
3k views

Reset fuses on atmega328p using Arduino

I bought a few atmega328p chips but unfortunately they came with the Arduino bootloader and they are set to use the external clock. I want to reset their fuses using avrdude so I can use the internal ...