hiya, ive been trying to upload code to my rev 3 uno using arduino ide, this has proved unsuccessful as it states i have a clock frequency that isnt suitable for it. i try running the following command to do it manually and face a whole new issue.
if you re-read through the post, i have attempted to do so with the command i have been entering, when i change it, it doesnt have much of a effect, i get the same error whether its 50kHz or 125kHz. This is why i am unsure as to how to get around this issue
im trying to upload to my arduino so subsiquently i will need to solve all the errors it would seem for this to work. I did try using the Arduino IDE application but it didnt work from pressing the upload button so i switched to terminal to attempt to manually upload the code with arduino as the programmer
I recommend focusing on solving that problem. It is unlikely that you will have any more luck uploading via the command line if you aren't able to do so from Arduino IDE, and you introduce a lot of additional complexity into the situation by using the command line. We can be confident that Arduino IDE will generate a 100% valid AVRDUDE command every time.
I'm going to ask you to post the full verbose output from an upload attempt using Arduino IDE.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compilation in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the "OK" button.
The "Preferences" dialog will close.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the error output from the upload into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Sketch uses 16258 bytes (50%) of program storage space. Maximum is 32256 bytes.
Global variables use 1312 bytes (64%) of dynamic memory, leaving 736 bytes for local variables. Maximum is 2048 bytes.
/usr/bin/avrdude -C/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyACM0 -b115200 -D -Uflash:w:/tmp/arduino_build_431942/rev3.ino.hex:i
System wide configuration file is /etc/avrdude.conf
User configuration file is /home/owen/.avrduderc
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : possible i/o
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 1 0 4500 4500 0x00 0x00
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino for bootloader using STK500 v1 protocol
Hardware Version: 3
Firmware Version: 4.4
avrdude stk500_recv() error: programmer is not responding
avrdude main() error: initialization failed, rc=-1
- double check the connections and try again
- use -B to set lower ISP clock frequency, e.g. -B 125kHz
- use -F to override this check
athe selected serial port a does not exist or your board is not connected
vrdude stk500_recv() error: programmer is not responding
avrdude done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.