I built an emonBase yesterday and loaded some test scripts, Nanode_RF_Init for example and everything appeared ok, alternate red and green flashing LED's etc.
I have come to reprogram it today and all thats on is a solid RED Led, plus any upload I try fails with
avrdude: stk500_getsync(): not in sync: resp=0x00
Which I think means it cant communicate with the board anymore, I have just reprogramed an emonTX withour any difficulty so it's not the software etc.
Any idea's what a constant RED LED means ?
I have tried the usual reset button etc, but nothing appears to work.
Neil
Re: Having difficulty programing an emonBase
have you remembered to change over the board type? its different board for the nanoderf to the emontx board. Should then communicate.
Re: Having difficulty programing an emonBase
Hi Gary,
Yes, I have used the Arduino UNO and Duemilanove option which I am sure worked yesterday, although I have slept since then :-)
I am a bit worried about this constant RED Led, yesterday is was flashing, but now it's constant.
Neil
Re: Having difficulty programing an emonBase
Constant red LED on the NanodeRF means there is either an RF error (no data being received) or an Etherent error (no DHCP/DNS). The green LED on the NanodeRF should flash quickly once every 10's seconds to inidcate RF data being received from the emonTx.
Re: Having difficulty programing an emonBase
It's working with the Ethernet as I can see the IP address that my Router has assigned to it, I dont know how I can test if it's receiving a signal from my emonTX.
Is there a way of deleting the program from the NanodeRF and reprogramming from scratch ?
Re: Having difficulty programing an emonBase
My reply above refers to the opperation of the LED's once the NanodeRF firmware has been uploaded (https://github.com/openenergymonitor/NanodeRF). The NanodeRF come preloaded with 'blink' sketch, all this sketch does is blink the LED on and off to show the board is working.
To uploaded new code you will need an FTDI cable and Arduino IDE. You don't need to delete the old program just upload a new program, this will overide.
Re: Having difficulty programing an emonBase
anything you upload will overwrite the existing programme.
if you monitor the srial port it will first show its ip, then the dns , then after 10seconds? show the first recieved data from the tx.
you can see what the tx is putting out by changing the serial value in the sketch to allow monitoring.
Re: Having difficulty programing an emonBase
having the same problem with the nanode.
avrdude: stk500_getsync(): not in sync: resp=0x00
worked yesterday, but not today...
I can see its running, the serial monitor is showing whats happening, but i am not able to uploade.
So any help will be nice
Re: Having difficulty programing an emonBase
Have you fitted the 100nF capacitor behind the push switch. This should NOT be soldered in. It disables the auto reset. If you have soldered it in then cut it out and you should be able to upload. See: www.flickr.com/photos/68664612@N02/6365809859/
Re: Having difficulty programing an emonBase
Thx, was driving on autopilot, and soldered in the capacitor. Its out, and everything is working.