3

I'm trying ubuntu 12.10. I want to use Eclipse IDE + avrdude. The problem is, that I have a custom ft232rl programmer, which is not included in standard avrdude configuration. In windows I would add

#FTDI_Bitbang
programmer
  id    = "ftbb";
  desc  = "FT232R Synchronous BitBang";
  type  = ft245r;
  miso  = 3;  # CTS(11 PIN FT232R) 
  sck   = 5;  # DSR(9 PIN FT232R)
  mosi  = 6;  # DCD(10 PIN FT232R)
  reset = 7;  # RI (6 PIN FT232R)
;

this to avrdude.conf and it would work fine. But when I want to use it with AVR Eclipse Plugin it wouldn't show any available configuration in project-properties-avr-avrdude "new" button. I'm pressing the button and nothing happening. If I undo the changes in avrdude.conf it would show me list of available programmers and so on.

So how to use avrdude with custom programmer at least from terminal. And if it is possible, how to use it with eclipse?

4

1 に答える 1

1

/etc/avrdude.confUbuntuでこの構成を使用しています:

programmer
  id    = "ftdi";
  desc  = "SparkFun FTDI Basic Breakout";
  type  = ft232r;
  miso  = 1;  # RXD
  sck   = 3;  # CTS
  mosi  = 0;  # TXD
  reset = 4;  # DTR
;

同じファイルで構成を使用する必要があると思います。

注:AFAIK avrdudeは、パッチが適用されていないft232ベースのデバイスでのビットバンギングをサポートしていません。このチュートリアルに従ってソースから構築しました

于 2012-11-19T19:31:48.293 に答える