I am facing a problem how to implement parameters management in an embedded software. Parameters management means that I have some subset of variables which values should be persistent but they will be changed time to time by user. These variables are for example compare levels for some protections, time constants of some digital filters or PI controller gains. My control board contains besides MCU also external eMMC memory. The problem is that I have no experiences how to work with the eMMC memory from software point of view. I have spent several hours with looking for some application notes but it wasn't successful. Please can anybody recommend me any resource where I can obtain some basic information how to work with eMMC in software. Thank you for any suggestions.
eMMC is basically an SD card packaged as a chip, so all SD card tutorials apply, however you can't use SPI, you need an SDIO controller in your MCU (or bit-banging). I would suggest to look at FatFS or FreeRTOS+FAT.
Keep in mind that (depending on the size of the settings) it may be much easier to just devote one-two flash sectors of the MCU to keep the settings.