how to insert MAC address, s/n at factory
Posted: Thu Oct 25, 2018 10:43 pm
Hi, all -
In large part due to the help I've received from this forum, our ESP32 based product is nearing completion. It's time I gave some attention to incorporating it into our manufacturing process. The current challenge is how to "provision" the boards; that is, insert a unique MAC address and serial number into them when we first program the devices.
This is the first FreeRTOS based product we've built (everything else has been Linux or bare-metal). On the other platforms, the procedure is to allocate a known location within the binary for these items, and to run a program that edits the binary, putting the correct information into this known location, and recalculating the checksum. I have absolutely no idea whether this is even feasible for FreeRTOS binaries. I'm not even sure how I'd go about this, unless there's a way to set aside a data partition for this purpose.
I could go into more detail, but really I'd like to hear how other people handle this issue. Thanks for any ideas or suggestions...
In large part due to the help I've received from this forum, our ESP32 based product is nearing completion. It's time I gave some attention to incorporating it into our manufacturing process. The current challenge is how to "provision" the boards; that is, insert a unique MAC address and serial number into them when we first program the devices.
This is the first FreeRTOS based product we've built (everything else has been Linux or bare-metal). On the other platforms, the procedure is to allocate a known location within the binary for these items, and to run a program that edits the binary, putting the correct information into this known location, and recalculating the checksum. I have absolutely no idea whether this is even feasible for FreeRTOS binaries. I'm not even sure how I'd go about this, unless there's a way to set aside a data partition for this purpose.
I could go into more detail, but really I'd like to hear how other people handle this issue. Thanks for any ideas or suggestions...