Page 1 of 1

lightning detector Help

Posted: Sat Dec 18, 2010 2:34 pm
by marcio21
I bought HV Rescue Shield 2 and I have an ATMEGA8-16pu which has codes in it. What do I need to do so I can see what are the codes inside the ATMEGA8-16pu? I am new for the Arduino Duemilanove and the HV Rescue Shield 2 and I would really appreciate your help.
Thanks

Re: lightning detector Help

Posted: Sat Dec 18, 2010 2:39 pm
by mightyohm
Which codes are you looking for? The fuse bytes or the contents of flash and EEPROM?

At present, the Rescue Shield is only capable of reading the contents of the LFUSE, HFUSE, and EFUSE configuration fuses. It does not support reading data stored in the target's flash, EEPROM, or other storage locations.

Re: lightning detector Help

Posted: Sun Dec 19, 2010 1:35 am
by marcio21
I don't know what are this flash and EEPROM, LFUSE. :(

The job if this circuit board is when it see a lightning storm it will send a signal to my camera and automatically it will trigger and take the photo

I Have One circuit board that Works and made a copy of this circuit board and when i remove the atmega8-16pu from the other board and put it on my circuit board it will Work so the atmega8-16pu is programed and i need to see this program or codes whatever they call them. I bought HV Rescue Shield 2 from you cos I thought I will see this codes but i hope you will help me so at least i didn't spend the money for nothing on the Rescue Shield + Arduino :cry:

Re: lightning detector Help

Posted: Sun Dec 19, 2010 11:33 am
by mightyohm
Do you have access to the source code for the program you are trying to copy? If it is an open source project, the code is probably available from the author.

Compiling from source and writing the code to the new ATmega8 would probably be easier than trying to copy the existing code from the ATmega8 you already have. In some cases, this can be done, but only if the "lock bits" are not set. The function of the lock bits is to protect the chip from being copied.