I flashed an Arduino Nano compatible with ftdi_eeprom and the following config:
vendor_id=0x0403 # Vendor ID product_id=0x6001 # Product ID max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true. ########### # Strings # ########### manufacturer="FTDI" # Manufacturer product="Arduino Nano" # Product serial="arduino_1" # Serial ########### # Options # ########### self_powered=false # Turn this off for bus powered remote_wakeup=false # Turn this on for remote wakeup feature use_serial=true # Use the serial number string # Normally out don't have to change one of these flags BM_type_chip=true # Newer chips are all BM type in_is_isochronous=false # In Endpoint is Isochronous out_is_isochronous=false # Out Endpoint is Isochronous suspend_pull_downs=false # Enable suspend pull downs for lower power change_usb_version=false # Change USB Version usb_version=0x0200 # Only used when change_usb_version is enabled ######## # Misc # ######## filename="eeprom.new" # Filename, leave empty to skip file writing
My corresponfing udev
rules work and I get /dev/arduino_1
after connecting.
However. After the flash, everything seems to work, But: The TX-LED is constantly on. Even, when the device is not sending. Why?
Update & solution
First, I removed this line, because it threw warning messages (outdated)
# BM_type_chip=true # Newer chips are all BM type
Then I studied the schematics of the Nano and figured out, that RX
and TX
LEDs are indeed connected to CBUS0
and CBUS1
. So, I added two lines to my config
cbus0=RXLED
cbus1=TXLED
Which had the effect, that now both RX
and TX
where constantly on. So, I finally read the manual which says on page 11, that the commands in question need a trailing #
. I updated my config again:
cbus0=RXLED#
cbus1=TXLED#
Extra:
Indeed, I had to install ftdi_eeprom
to get the job done
apt-get remove ftdi-eeprom apt-get install swig libusb-1.0-0-dev libconfuse-dev doxygen git clone https://github.com/legege/libftdi.git cd libftdi.git cmake . make make install ftdi_eeprom/ftdi_eeprom --flash-eeprom myconfig.conf