We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I would like to create a firmware and an application running on the same device.
The application needs to call some functions of the firmware. The application can be updated whereas the firmware is still the same.
Therefore, i want to have 2 projects: one for the firmware (C coded) and one for the application (C coded).
I have seen that it's possible to forbid idata, xdata and code area in order to prevent the application to overwrite the firmware and its variables, but I have no clues on how to give my firmware prototype to my application. Of course parameters and functions' addresses must map with the firmware mapping.
Does anyone have an idea how I can do this?
Thanks for your help! Damien.
You started with "want to" and ended with "need to".
If you only "want to" let the firmware control the hardware, then you only "want to" implement an interface for the two to interact.
It is only when you have a hard requirement to control the hardware from your boot loader/monitor/bios that you "need" the interaction part.
Why do I mention this? It is absolutely vital to never mix up "want" and "need" in a development process. Such a tiny little error may multiply the development and/or product cost by a very high factor!
Yes, you're right, and I thank you for the correction (english is not my native language).
=> I want interaction between my firmware and my application :)
Damien.