I'm designing a system to use IPC among two or more copies of the same hardware running the same set of tasks. The intent is for each copy of the HW to determine its unique identity (processor number) from a database stored in a removable device, e.g. USB memory stick, prior to creating the IPC component. In other words, I want to use MQX services (USB host) to determine the processor number.
However...the processor number has to be supplied when MQX starts. So my question is, Is there a way to change the processor number after MQX starts (and before IPC is created)?
Thanks.
已解决! 转到解答。
For anyone who is interested, I think I can answer my own question now, and the answer appears to be 'no'. During startup MQX takes the processor number from the initialization structure and disperses it in several areas. I don't think there is any practical way to update what is done during startup with a new processor number.
For anyone who is interested, I think I can answer my own question now, and the answer appears to be 'no'. During startup MQX takes the processor number from the initialization structure and disperses it in several areas. I don't think there is any practical way to update what is done during startup with a new processor number.