avrdude -c usbasp -p m328p -C ../etc/avrdude.conf -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0x05:m
I had exactly the same issue when I programmed my first 328! You can work out the fuse settings you need at http://www.engbedded.com/fusecalc.PS - If you just want the same ones as used in a standard Arduino, you can find them in the boards.txt file:uno.bootloader.low_fuses=0xffuno.bootloader.high_fuses=0xdeuno.bootloader.extended_fuses=0x05
I've tried alsorts but am a bit stuck:
Hi dc42.I am getting similar issues as this with a 328p-au..I've tried alsorts but am a bit stuck:http://arduino.cc/forum/index.php/topic,129740.0.htmlAny ideas?Thanks in advance.
Quote from: clivemist on Oct 29, 2012, 08:00 pmHi dc42.I am getting similar issues as this with a 328p-au..I've tried alsorts but am a bit stuck:http://arduino.cc/forum/index.php/topic,129740.0.htmlAny ideas?Thanks in advance.Looking at your post #7 in that thread, you are setting the baud rate to 300 on the mcu but then you have to set the PC to 2400 to communicate with it. So the UART in the mcu is running 8x faster than it should be. This isn't a problem with the CLKSEL fuse bit, that would cause the mcu to run 8x slower instead.Are you sure that you have F_CPU set correctly in the boards.txt file you are using? Do you also find that delay and delayMicroseconds calls also execute 8x faster than they should?
So do delay() calls in sketches you upload delay for the correct amount of time or not?
Quote from: dc42 on Nov 06, 2012, 12:00 amSo do delay() calls in sketches you upload delay for the correct amount of time or not?If you mean in a main body of code, they are not, also my baud is mismatching again..
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16