FBOOT problems

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

Hi everyone,

I always use FBOOT as my bootloader on my AtMegas.

I have just assembled one board which uses the Atmega32 Micro. This board has an option of using the Rs232 interface or a usb inteface via the FT232 Vcom port.

If i program the board via the usb interface there is no problem. However when i try to program the board via the RS232 interface i get the following error 90% of the time-

D:\avr\workshop\001BLI~1>fboot /c13 /prelay.hex
COM 1 at 115200 Baud: Connected (One wire)
Bootloader VFFFFFFFF.FF
Error, wrong device informations

What is this "One wire" ?

So far i have
1) checked all solders and continuties -fine
2) after the max232.. i have shorted rx & tx pins. data sent via a terminal bounces back.
3) in desperation replaced max232 with a fresh chip. same problem.

any ideas what i could be doing wrong?

rodney

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

@OP

I guess it's Peter Danegger's Fboot

https://www.avrfreaks.net/index.p...

This one has the ability to program the avr using just "One Wire" aka. 1 wire aka. 1 AVR-Pin

How you got it in this mode , i really don't know ... You have to see the source.

But afaik , if you use Peter's FBOOT.EXE program , you might get in trouble if you use a "high com-port" , meaning above 4 (in the old version).

I have had better success , lowering the speed to 56 Kbps.

Btw: What OS are you using ?

/Bingo

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

Thats a typo... im using com port 1.

Os is Windows Vista.

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

Quote:
2) after the max232.. i have shorted rx & tx pins. data sent via a terminal bounces back.

I never did it, but I think you have to short Rx with Tx on the AVR side, not MAX232. You need some resistor or diode involved, otherwise your micro will not be able to transmit since MAX232 will keep the pin high.