Google
Web forums.dsstester.com

View Full Version : Eeprom question


waxman328
10-19-2004, 08:33 PM
Hello folks,

I hope this question isn't too simple to be in this section of the forums. I'm fooling around trying to learn how to write pfgs for Atmega. Don't want to use Mikenet or any of them pfg makers. I've read the readme that comes with jEEPers and understand that the [EEP] topic should contain the eeprom. I have looked at a few pfgs and there's nothing under [EEP], there is [EEPROM IMAGE] however, which I think is what I'm looking for. I'd like to convert this section from hex to bin, but can't figure out which part to convert. The lines read:
// [EEPROM IMAGE] --
SetImageString(EEP, 000,FF0B52AAEB540021FFFFFFFFFFFFFFFF, 10)
SetImageString(EEP, 010,00000000000000000000000000000000, 10)
SetImageString(EEP, 020,00112233445566778899AABBCCDDEEFF, 10)
and so on....
In the case of the first line, would I just need to convert the FF0B52AAEB540021FFFFFFFFFFFFFFFF portion of it? My understanding is that once converted I should be able to look at it using Nagraedit. Sorry for the lengthy post, just trying to understand. Thanks.

Ctech
10-19-2004, 08:49 PM
I will try to explain this best I can open the pfg file your working on
and scroll down to the eprom section highlite all the eprom section
and copy that and open notepad and paste the eprom info
now save and call that play.hex are something now open jeepers an click on utilities then hex to bin a window will pop up you need to find your play.hex
that will convert it to a bin that you can open an edit with nagra Hope that helps you should be able to just reverse the steps to make the bin back to a hex to paste back into your pfg file :wacko:

waxman328
10-19-2004, 09:05 PM
Great! So what you're saying is highlight everything below [EEPROM IMAGE] including the "SetImageString". So I was correct in thinking this was the eeprom?

waxman328
10-19-2004, 09:32 PM
Finally got it figured out using jEEPers. Thanks for your time. This is a cut and paste in case anyone's interested.

Not all .pfg's have the Rom3 image included within the [EEP] section... Some have the image incorporated within SetImageString Statements of the .pfg ... For those types of .pfg's you can analyze the .pfg by having jeepers Options -> Script Diagnostics -> Write images to File Selected.
Then have jeepers Actions -> Write EEPROM

Ctech
10-20-2004, 06:09 PM
Thats good bro I'm sure this wil help others :yes:
thanks for posting your findings

rural
10-21-2004, 07:58 PM
Ah, I wondered about that, thanks. :beer: :beer:

Finally got it figured out using jEEPers. Thanks for your time. This is a cut and paste in case anyone's interested.

Not all .pfg's have the Rom3 image included within the [EEP] section... Some have the image incorporated within SetImageString Statements of the .pfg ... For those types of .pfg's you can analyze the .pfg by having jeepers Options -> Script Diagnostics -> Write images to File Selected.
Then have jeepers Actions -> Write EEPROM