Page 1 of 1
arduino pro mini
Posted: Sun Apr 03, 2016 12:15 am
by mikn
Hello,
I have arduino pro mini 5v and it's based on atmega 328
However when I create a project and select pro mini 5v, it sets atmega 168 into general options.
this also makes programmer connection to 19200 instead of 57600 and I can't program arduino from flowcode at all (but I could load hex via xloader and it works ok).
how to fix this?
Re: arduino pro mini
Posted: Wed Apr 06, 2016 2:56 pm
by Benj
Hello Mikn,
If you select the "Arduino Pro 328 5V" as your target then the settings should be correct for your device. ATMega328 + 57600 Baud.
Re: arduino pro mini
Posted: Wed Apr 06, 2016 4:05 pm
by mikn
Here's what I get
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude.exe: Device signature = 0x1e950f
avrdude.exe: Expected signature for ATmega328 is 1E 95 14
Double check chip, or use -F to override this check.
avrdude.exe done. Thank you.
Error returned from [avrdude]
Re: arduino pro mini
Posted: Wed Apr 06, 2016 5:21 pm
by Benj
This topic seems to be demonstrating a similar issue.
http://www.avrfreaks.net/forum/device-s ... 0f-arduino
Seems the bootloader your using is lying and saying the device is a 328P.
I've slightly modified this definition file to tell the programmer to expect a 328p and hopefully this should solve the problem.
Copy the file to your "Flowcode 6/FCD/AVR" directory and restart Flowcode and then hopefully it should work correctly.
Re: arduino pro mini
Posted: Wed Apr 06, 2016 6:11 pm
by mikn
Yeah, it works now. Thank you very much for quick response!