Use esp tool to pass a value to firmware?
Posted: Wed Sep 13, 2023 7:46 pm
Is there a way to inject data for the firmware's use with esp tool?
Two scenarios:
1. uploading the firmware, and at the same time I want to upload some data that the firmware can use on next reboot
2. firmware is already running, and I want to use esptool to inject some data for the firmware to use
The first one could be data that is written to flash or non-volatile RAM, or somewhere else in flash.
The second one, I'm not sure if you can have esptool uploading or making changes while the firmware is running at the same time.
Either possible?
Two scenarios:
1. uploading the firmware, and at the same time I want to upload some data that the firmware can use on next reboot
2. firmware is already running, and I want to use esptool to inject some data for the firmware to use
The first one could be data that is written to flash or non-volatile RAM, or somewhere else in flash.
The second one, I'm not sure if you can have esptool uploading or making changes while the firmware is running at the same time.
Either possible?