ftdi - Download program into AVR chip with FTDI4232 -


background info

  1. winavr: installed winavr, , use avrdude.exe comes winavr download program our board.
  2. adapter card: have adapter card ftdi4232 , avr m328p on it. pc connects ftdi4232 micro usb cable.
  3. schematic: sorry, cannot post pics. describe major part of schematic here. 2 wires from(data_p & data_n pins) out macro usb connector dp[pin8] , dm[pin7] on 4232. , 4 wires(sck, mosi, miso, ss_n) out 4232 m328p.
  4. how download program card before: via pocket programmer. cannot give 1 pocket programmer every engineer, try find out way download program m328p. coz have had ftdi4232 on board, seems best choice.

can download program via ftdi4232 on adapter card?

  1. i know there dedicated programmer based on 4232 chip, our own design, not sure can or not according above schematic.

what did

  1. run command: c:\winavr-20100110\bin\avrdude.exe -c 4232h -p m328p -u flash:w:\desktop\work\a_card\winavr\blink\blink.hex:i got following error: avrdude.exe: error: no libftdi or libusb support. install libftdi1/libusb-1.0 or libftdi/libusb , run configure/make again.
  2. then, download compiled libftdi package link: https://code.google.com/p/picusb/downloads/detail?name=libftdi1-1.0_devkit_mingw32_17feb2013.zip , , extract “compiled_libftdi”.
  3. there not info how use compiled package, found info online. (1) installed winusb driver first 2 ports of 4232 zadig. can choose 1 port in drop down menu, choose “winusb(v6.1,7600…)”, “install wcid driver”. (2) then, enter “compiled_libftdi” folder, run “find_all”, saw: number of ftdi devices found:1 checking device: 0 manufactureer: ftdi, description: usb <-> serial converter think means usb driver libftdi package installed successfully.
  4. run above download command again, still failed.
  5. i thought maybe because avrdude.exe out of date. download .exe here: http://download.savannah.gnu.org/releases/avrdude/avrdude-6.0.1-mingw32.zip , replace old 1 in winavr folder.
  6. still got error, got 1 line info: avrdude.exe: programmer operation not supported


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -