From: avr f. <avr...@gm...> - 2008-06-22 22:15:39
|
Ok. First. Thanks for your reply. On Sun, Jun 22, 2008 at 10:31 PM, Matthias Trute <mt...@we...> wrote: > btw: do you have a more usual name? Mat > > 1. Why is my Arduino losing memory after turning it off. > Well, RAM contents is usually lost when the power goes off ;=) ok, What I was trying to say was. It does not answer my usb-serial connection after some disconnects and reconnects. :> It always works after a fresh upload. > > It could also be > > that the internal state is damage. > What do you mean with "internal state"? There are a few candidates > for this label. After power it off and on, 4-5 times strange things happens. After a while. Some garbage character appear. Then some more characters. Usually after a power cycle, trying to bring it back to known state. Then I lose it totally. So my coding session always ends with uploading amforth again. Which is a pain. My wish was to never have to upload amforth again. I can replicate this problem. It always appear when I connect and disconnect with minicom ~4-5 times. The garbage characters reminds me of the garbage I saw when I first had the wrong baud rate. > > When I try to connect second time. It's not answering or garbage appear in > > the terminal. I'm using default fuses. With baudrate 9600. > What default fuses? Atmel factory defaults or arduino default? This is working acceptable, but breaks after reconnecting with mincom (or ZTerm) ~ 4-5. Like described. LFUSE=0x5f HFUSE=0xdf EFUSE=0xf9 > If Atmel default, try setting the fuses to maximize the frequency > since 1MHz with the internal oszillator is usually non-working > setup. If arduino defaults please let us know what they are. I'm trying atmel defaults. I lost my arduino defaults. (What does "Start up time PWRDN/RESET 64K CK/ 14 CK + 4,1 ms" mean? This is kind of cryptic to me.) > > My Atmega168 works fine, but is not part of an arduino ... > > br > Matthias Are you using usb? I'm starting to think it is the usb-serial driver I installed initially. I hope everyone have patience with my knowledge level.(*noob*) =/ /Mat |