programmer

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I want to make an avr board with atmega88 like the one in avrbeginners... But I want to program it in my laptop, so my parallel port programmer is out of the question...

Can I use the FTDI part of arduino: http://arduino.cc/en/uploads/Main/Arduino-Diecimila-schematic.pdf

And connect X3 to ICSP like this: http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html

It would be like that dev atmega88 board but with usb rather than rs232.

Thanks for any help that might come :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm already interested...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Looks like no one knows? :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The question like posted is a bit of a puzzle that members, willing to help, have to solve first.
You will get more responses if you put some more effort in where you need more help.
And for the record: an Arduino can be programmed to work as an ISP-programmer.

Plons

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tessa and Tina, You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry...

I will try to explain better...

A want to program my avr through usb using the ftdi lines: CTS,DSR,DCD, and RI. And those would be:
miso = 3; # CTS X3(1)
sck = 5; # DSR X3(2)
mosi = 6; # DCD X3(3)
reset = 7; # RI X3(4)
I think this is called: FT232RL BitBang Mode.

The questions are: will it work just by using usb port and connect it to an ftdi? how good is it, bad for usb port?
Have any suggestion like just buy one? I will give it serious consideration if it is a good choice(€).

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That helps :)

My recommendation: don't.
Why ? In theory it is a feasible way of creating a programmer. But since bit-banging is used, every change of the controllines CTS, DSR, DCD and RI will take 1 ms. Because at that rate the USB is serviced. As a result the programmingspeed will be very low.

Quote:
how good is it, bad for usb port?
It will not harm the USB-port unless you power the target-AVR from USB-power and overload or short that power.

What other options ar there ? You can build one using an Arduino. In the Tutorial section there is an extensive thread on programmers.

And then as general recommendation: if AVR's are new to you, and electronics a bit of magic, do yourself the favour of buying a programmer like Atmel's AVRISP mk 2.

Nard

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tessa and Tina, You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips