Hi All.
I am using an Arduino UNO and programming via Ubuntu 10.10 (I know there is a new version but it doesnt like my $300 video card !!)
Anyway, a strange thing "seems" to have a happend.
I upload my program via the Arduino IDE, and it works fine.
As soon as I unplug the USB cable then plug it in again, its like the program has gone as nothing happens. I send the program again and it starts working !
Is that possible? to lose the recently uploaded program?
It HAS been working ok, but this just seems to have happend.
However, let me just say, I HAVE had this all working fine as of Last Friday, where it was programmed then put into my car as I have done 15 or so times already.
That is to say, last Friday I took out out of my car in working order. I did some coding on Saturday to make the LCD screen "Prettier".
Since then is when its been acting up. I have put the original program back on, and still the issue happens where its like the programming is lost.
yes done that. I have also re-done the connections -3 times.
The screen fires up, so it has power, its just not receiving anything.
The thing to remember here is, IF I reprogram the chip, it all works. I unplug the USB cable - i dont move it from its location, then plug it in again....it doesnt work.
This is why i get the feeling the progam isnt staying "programmed"
John Wasser was on the money.
I power up he Uno, then press the reset (there was one on the shield I am using :P) and it works again.
I dont understand why that is. Is someone able to shed on light on it for me?
ventually I want to move this to standalone circuit and pressing reset everytime I fire it up doesnt ring me bell
just a little more to this.
I had a standalone circuit that I was going to use for another projects, so I reprogrammed the chip (ATMEGA328) and I got the same results as before using the UNO.
so I used a wire to rest the circuit, and hey presto, it started working.
Just wanted to add this bit in.
I finally resolved this.
I got to thinking; if I get the same results between 2 diff. setups, the UNO and my standalone unit, then it must be the sketch.
So I fiddled around and remembered the LCD I am using requires a 500ms delay after init-ing it....I DID read it...I just forgot it