Hello all, I am having issues when trying to upload my sketch to an Arduino Pro Mini 3.3v
I used to use my Arduino Mega to do this, by sending his reset to GND, and then connecting tx, rx, 3.3 and gnd to the pro mini, but I decided it was too cumbersome, so I bought one of these FT232RL. The one I bought is not from this site, but it looks exactly the same Buy Buy FT232RL USB TO TTL Adapter Module For Arduino Uno R3 And Esp 8266 Modules And Beaglebone Black Development Boards. Online In India. Hyderabad
These pins already soldered, match exactly the same as the holes in the pro mini, and I've seen videos in YouTube of people programming their pro mini by just inserting the pins, and that being it...
I connect both PCB, I choose in Arduino IDE, the "Pro or Pro Mini" board, then I choose the 3.3v, 8MHz version, and I choose the proper port (In my case it is /dev/ttyUSB0 and /dev/ttyUSB1).
When I try to upload a sketch, I get some LEDs blinking in the FT232RL, but the arduino IDE would just show
avrdude: stk500_recv(): programmer is not responding
After a while, it will show this and fail
avrdude: verification error, first mismatch at byte 0x0280
0xff != 0x0e
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch
After enabling verbose output I see this
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/frapell/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/frapell/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB1
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type 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 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "/tmp/arduino_build_834996/GettingStarted_CallResponse.ino.hex"
avrdude: writing flash (4624 bytes):
Writing | ################################################
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x21
## | 100% 3.53s
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
.... Suppressed over 4000 lines of the same out of sync error ...
avrdude: stk500_cmd(): programmer is out of sync
avrdude: 4624 bytes of flash written
avrdude: verifying flash memory against /tmp/arduino_build_834996/GettingStarted_CallResponse.ino.hex:
avrdude: load data flash data from input file /tmp/arduino_build_834996/GettingStarted_CallResponse.ino.hex:
avrdude: input file /tmp/arduino_build_834996/GettingStarted_CallResponse.ino.hex contains 4624 bytes
avrdude: reading on-chip flash data:
Reading | avrdude: stk500_loadaddr(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0x00
#avrdude: stk500_cmd(): programmer is out of sync
avr_read(): error reading address 0x0000
read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
avrdude done. Thank you.
The weird thing is, that if I program the pro mini, using the old method by going through the Mega, I can then use the FT232RL to read the Serial monitor output...
Any suggestion?