Hello,
I have already bootloaded atmega328p u chip and i want to program it with (rees) FTDI ft232r.
but while uploading sketch from arduino ide-1.8.12 it gives me an error:
Arduino: 1.8.12 (Linux), Board: "ATmega328, ATmega328P, 8 MHz (internal), B.O.D. Disabled"
.
.
.
.
/opt/arduino-1.8.12/hardware/tools/avr/bin/avrdude -C/opt/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cft232r_mod {program.extra_params} -Uflash:w:/tmp/arduino_build_814761/sketch_jun04a.ino.hex:i
An error occurred while uploading the sketch
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 "/opt/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf"**
** User configuration file is "/home/kali-root/.avrduderc"**
** User configuration file does not exist or is not a regular file, skipping**
** Using Port : usb**
** Using Programmer : ft232r_mod**
avrdude: error: no libftdi or libusb support. Install libftdi1/libusb-1.0 or libftdi/libusb and run configure/make again.
avrdude done. Thank you.
I tried so many thing:
- First time when i try to upload sketch it gives me an error: (something stk500) then i check on google then i modified
avrdude.conf file to add ftdi ft232r programmer:
programmer
id = "ft232r_mod";
desc = "FT232R Synchronous BitBang";
type = "ftdi_syncbb";
connection_type = usb;
miso = 1; # RxD
sck = 0; # RTS
mosi = 2; # TxD
reset = 3; # DTR
;