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 am new to 8051 family programming and I have a question. I would like to know if there is anyway, somehow, to put another software in a memory and load it from 8051 to run on it. It would work similar to plugins :)
Speaking in C language, it would be like a function inside the memory that do something. That function receives a pointer to a structure that has many other functions that the main software inside the microcontroller has, like display things on a screen. Well, is very similar to plugins :)
Is this possible? With other microcontroller maybe?
If I said something wrong or confuse please, let me know! Thank you!
One of the possibilities to do this is to have separate regions in flash that are dedicated to a certain functionality, and will be programmed by separate targets of a uv3/4 project or a separate project. so, the main program will reside starting at the well know entry point to flash, and when necessary it will jump to and execute code residing somewhere else. you can distinguish between these zones with a scatter file or have a separate such file per "plugin". do note that you would have to introduce a mechanism that would prevent the chip going astray if no "plugin" is really installed...
HI.
yes it is posibble and quiet easy. it can be like the bios of a pc runnning apps. but you will probebly have to wright it all.
look at the upsd from st. you can map different flash blocks to one adress. so good.
but do not look for the scatter file in 8051 from Tapeer. he an arm man and does not know the 8051 uvision projects do not have scatter files.
Always yo're freind.
Zeusti.
look at the upsd from st. you can map different flash blocks to one adress. so good. the upsd's are to be discontinued, if I recall, last shipments in may.
Erik
ERIK.
<quote.
the upsd's are to be discontinued, if I recall, last shipments in may.
</quote>
i did not know it. that is baaaaaaaaaaad news for me :(
they were very good. except for the bad iic impelementation.