Page 1 of 1

Additional Parameters

Posted: Sat Jan 03, 2015 6:22 pm
by bdoan
Is it possible to modify specific locations in external EEPROM to adjust additional parameters (ie: notch filter center frequency)?

Posted: Sat Jan 03, 2015 9:05 pm
by frank
In theory, you would need to have a micro change the code in the EEPROM then have the FV-1 reload the program, program is not directly run from the EEPROM, it is loaded into the FV-1 and run.

Posted: Sun Jan 04, 2015 2:44 am
by mohandes
is it possible to use an "avr mcu" like atmega8 instead eep?
it usees i2c protocol via "sda and sck".
have you got any code on C?

modify specific EEPROM locations

Posted: Mon Jan 05, 2015 10:31 am
by bdoan
I am fine with having the FV1 reload (under MPU direction)

Is there a way to disassemble the EEPROM code or otherwise know what location contains the value of any specific parameter (ie: delay time)

Posted: Mon Jan 05, 2015 11:05 am
by frank
You basically have to calculate the offset into the EEPROM. First, after assembling a program and running a program you can look at the assembled code in SpinAsm by pressing the "m:" icon next to the "A" assemble and load icon. It will open a window showing the instruction number, assembled code and source instruction. Programs are loaded into the EEPROM sequentially starting at address 0 so program 0 is at address 0, etc. You would have to calculate the address of the instruction by considering which program it is in, which instruction it is and which bits in the byte to change.