ESP-AT factory_param_data.csv file format

esp32_tm
Posts: 4
Joined: Sat Jan 04, 2020 8:54 pm

ESP-AT factory_param_data.csv file format

Postby esp32_tm » Tue Feb 24, 2026 11:02 pm

Hello.
I'm trying to change some pin definitions to a ESP32 shield that has Nano headers but don't seem to match the functions that I need. Looking at the stock config for the latest ESP-AT install with IDF v5.4, the factory_param_data.csv that's in place doesn't match others that I've downloaded in an effort to make this file work. Just a little recap, this file controls some parameters for several ESP32 and any associated modules to configure for ESP-AT. The file is a comma separated file, a .csv, and can be edited in a calc program. The columns have headers and the rows have module versions. I don't know how the IDF reads the file, by header, by counting columns or what, exactly? If you view the factory_param_data.csv that's installed with a clean installation of the ESP-IDF and ESP-AT, the rows and columns don't make sense and have cryptic entries. I've tried to modify the pin definitions according to the column headings and it doens't work, or compile. There are 5 columns at the end of the labelled columns that have no column headers but the numbers match the GPIO numbers that I would like to change. Changing the numbers in these unmarke, no header, columns works, but again, the format of this file doesn't make sense and is different from formats I've been able to find online. They're all different and I find no definitive file format for this file. There are a couple more ways to modify the pin assignment using menuconfig or an idf.py tools but I haven't been able to get those to work.

File format for factory_param_data.csv is the main issue and why is the latest version installed with IDF v5.4 and ESP-AT lacking column headers and odd numbers in there?

Any suggestions welcome.

Thanks,
TM

esp-at
Espressif staff
Espressif staff
Posts: 335
Joined: Mon May 09, 2022 3:00 am

Re: ESP-AT factory_param_data.csv file format

Postby esp-at » Wed Mar 04, 2026 6:47 am

Hi @esp32_tm ,
In general,
  • components/customized_partitions/raw_data/factory_param/factory_param_type.csv defines the data type
  • components/customized_partitions/raw_data/factory_param/factory_param_data.csv defines the data content
  • components/customized_partitions/generation_tools/mfg_nvs.py will parse the type and content and generate the final binary mfg_nvs.bin. and build/customized_partitions/mfg_nvs.csv is a readble format for the final binary

Who is online

Users browsing this forum: No registered users and 1 guest