The documentation is unclear on this, so I might ask here:
I'm developing a semi-protected FW for a product. I want to use at least the Secure Boot option to protect my binary.
However I'm also using the SPIFFs partition, for running JavaScript code from. The JavaScript apps will be developed by 3rd party devs,
I want to allow these devs to flash the SPIFFS partition with their JS code for testing, without touching the FW binaries.
I believe Secure Boot option enables this, and SPIFFs tools allow separate flashing of the partition, without disturbing the APP partition, but I'm unsure, if it causes any issue, or is actually allowed with Secure Boot. I also know that the Stage1 bootloader handles flashing in download mode, but it's not clear if reading the flash is possible from UART with SB mode enabled.
So question: Can this be done?
Thanks
Vader
Flash SPIFFS partition only with Secure Boot enabled
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Flash SPIFFS partition only with Secure Boot enabled
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Who is online
Users browsing this forum: Google [Bot] and 103 guests