Hi Daniel,
Thank you for your response.
My English is poor and I did not explain very well what we need.
Let me give an example:
A driver starts a new shift.
The approved part needs the driver id, but how driver enters the id is part of non approved part.In this case it is a keyboard.
Now the client asks for a new way, for example through RFID. We are free to change the firmware in order to support RFID, but for firmware update the seal must break.
A possible solution:
The approved part makes a request to non approved part asking for the driver id and passes a pointer where the non approved part will place the driver id.
// approved part
if (device.state == START_NEW_SHIFT)
Get_Driver_ID(&DriverID); // call to non approved part.
// The non approved part returns the driver id
// non approved part
void Get_Driver_ID(char *buff)
{
...
...
...
}
So the big question is:
Is there a way to isolate the non approved part from approved part, so we be able to perform partial firmware update (only the non approved)?
We can implement with or without rtos.
I will appreciate any help.
Thank you