arduino pro mini

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

User avatar
mikn
Posts: 209
Joined: Mon Mar 03, 2014 10:11 pm
Has thanked: 54 times
Been thanked: 41 times
Contact:

arduino pro mini

Postby mikn » Sun Apr 03, 2016 12:15 am

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?
fcerror.png
(64.42 KiB) Downloaded 871 times
FC 6.1.3.2 (18.02.2016)

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4079 times
Contact:

Re: arduino pro mini

Postby Benj » Wed Apr 06, 2016 2:56 pm

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.
These users thanked the author Benj for the post:
mikn (Wed Apr 06, 2016 5:00 pm)
Rating: 5.56%
 

User avatar
mikn
Posts: 209
Joined: Mon Mar 03, 2014 10:11 pm
Has thanked: 54 times
Been thanked: 41 times
Contact:

Re: arduino pro mini

Postby mikn » Wed Apr 06, 2016 4:05 pm

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]
FC 6.1.3.2 (18.02.2016)

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4079 times
Contact:

Re: arduino pro mini

Postby Benj » Wed Apr 06, 2016 5:21 pm

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.

Arduino Pro 328 5V.fcdx
(13.68 KiB) Downloaded 154 times


Copy the file to your "Flowcode 6/FCD/AVR" directory and restart Flowcode and then hopefully it should work correctly.
These users thanked the author Benj for the post:
mikn (Wed Apr 06, 2016 6:11 pm)
Rating: 5.56%
 

User avatar
mikn
Posts: 209
Joined: Mon Mar 03, 2014 10:11 pm
Has thanked: 54 times
Been thanked: 41 times
Contact:

Re: arduino pro mini

Postby mikn » Wed Apr 06, 2016 6:11 pm

Yeah, it works now. Thank you very much for quick response!
FC 6.1.3.2 (18.02.2016)