Additional Parameters

Hardware questions and issues with the FV-1

Moderator: frank

Post Reply
bdoan
Posts: 15
Joined: Sun Nov 10, 2013 9:13 pm

Additional Parameters

Post by bdoan »

Is it possible to modify specific locations in external EEPROM to adjust additional parameters (ie: notch filter center frequency)?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post 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.
Frank Thomson
Experimental Noize
mohandes
Posts: 10
Joined: Thu May 22, 2014 2:40 am

Post 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?
bdoan
Posts: 15
Joined: Sun Nov 10, 2013 9:13 pm

modify specific EEPROM locations

Post 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)
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post 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.
Frank Thomson
Experimental Noize
Post Reply