Loading user compiled modules
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-12-29 11:09 AM
Posted on December 29, 2012 at 20:09
I am looking for a way to have a simple system that runs a multi-thread main program on the processors memory and then has the ability to read a SD card and load user compiled modules into different threads and run them.
Can anyone point me in the basic direction on how to accomplish this? I know that I need a fatfs and base program with threading, but the part that I don't know about is loading / running compiled modules ( I guess like a DLL ? ) Any help would be appreciated. Dave
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-12-29 8:19 PM
Posted on December 30, 2012 at 05:19
Most ARM compilers generate relocatable object files in ELF, if your not predisposed to creating your own format this perhaps would be a good starting point. Other hex and binary formats output by the linker typically have a fixed base address, which might be too inflexible for your purpose.
Creating a simple ELF loader shouldn't be particularly hard, and the format is well documented.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
