How to set the EEPROM values

Last week I had a touch time trying to set the proper throttle failsafe PWM value. The default is 975 and i wanted to set it to 1030 . I put

#define THROTTLE_FS_VALUE 1030

in the APM_config.h and uploaded the code, but in the Setup>Show i still saw the old 975 value.

 

I then checked the EEPROM ( through APM Planner ) and saw that there the value was set to 975. A

I was subsequently unable to find any way to edit the EEPROM Throttle FS value and even though i tried to reset the board, I was not able to clear the value in the EEPROM ( I could only view it, but not edit ) 

 

Then, i noticed that in the new release of APM Planner, they gave the ability to edit the value of this . I was able to do it and got things to work, however this raised 2 doubts : 

1. What if I want to edit other values in the EEPROM which are not editable in APM_Planner ? Or am I dependant upon the APM Planner to manage the EEPROM ? 

2. Does the EEPROM value always override the config ? 

 

Thanks much ! 

 

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Yes I did reset (Setup>Reset on CLI ). But doesnt it auto reset the board when you reload the code ?
  • Distributor
    Did you reset the board in the cli after you had changed the values In the config.h file?

    Regards

    Martin
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…