- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some firmware in a PSoC4 that runs and communicates to the I2C bus. I would like to be able to load "drivers" for various I2C devices into the unit at run time. I do not want to have to maintain N versions of the whole firmware for N sensors as this would be unmanageable. I need to only load the portion that actually interacts with the sensor.
What I had hoped was that I could compile and manage the drivers separately and load them at run time depending on which sensor was plugged in. (I already have a method for detecting which sensor is plugged in - hot swap).
I put up a question for this before, but it seems that I was not clear enough on what I was trying to do as it got marked answered and was locked before I was able to respond to a question.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The previous post was this:
I do not want to bootload per se. Certainly do not want to load a whole new firmware. I am already familiar with bootloading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume your query is on a method to load various drivers to the same portion of memory in runtime. Without bootloading approach, unfortunately the answer to your query would be no. If memory consumption is the bottleneck, you can use external memory to store various driver versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have plenty of memory. My question is really how to make the PSoC Creator linker locate the object code to the right memory address in order to be able to execute the code once I load it. My goal is to compile and link a hex file that I can load into extra ram that I have reserved and then call it from my main firmware..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much. I looked and looked and somehow did not find this!