Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/02/08 11:02
Modified:
  06/02/08 11:05

Read: times


 
#155382 - Fundamentals
Responding to: ???'s previous message
Firstly, the concept of a DLL does not need an operating system! It is a 'dynamically linked library' which means the linkage to the functions is done at run time. You can do this with a 8051, but whether it is wise to do so is questionable.

how can this getadcval(ch) be referenced between the dead listings ?
What do you mean by 'dead listings'? Your use of english is indeed obscure!

From what I gather, you want a fixed library of routines and a loadable section for your application. May I say that an 8051 is probably not the best architecture for this kind of application. Maybe an ARM would be a wiser choice. Nevertheless, there's no reason why you can't have a library of routines and have a fixed jump table to access them (much like a DLL). You would then declare these routines as external and inform the linker of their locations in the jump table. Then your application can just #include the header file where the routines are declared and all being equal, it should work as expected with only a slight overhead of an intermediate jump.

Interrupts? Why would interrupts assist in this???


You could do what you originally asked between different compilers - it's called SOAP. Methinks the overhead is a little too high for a little micro. Basically each function call gets converted into a XML database, a dispatcher called, then the other side upravels the XML database, figures out if the function is available, calls the function and packs the response up into a XML database and back again.

List of 31 messages in thread
TopicAuthorDate
Info exchange between different compilers            01/01/70 00:00      
   cumbersome, but possibly possible            01/01/70 00:00      
   This is how others would do it in days gone by            01/01/70 00:00      
      all well and good            01/01/70 00:00      
   Common Method...            01/01/70 00:00      
      I totally agree            01/01/70 00:00      
      Ok lets leave aside the issue of different compile            01/01/70 00:00      
         Fundamentals            01/01/70 00:00      
            You use a Linker............            01/01/70 00:00      
         Lots of issues here            01/01/70 00:00      
            +            01/01/70 00:00      
               For user code you would...            01/01/70 00:00      
                  Also consider....            01/01/70 00:00      
                     Also consider.... yes            01/01/70 00:00      
                        Ah Ha....Save an MCU at what cost?            01/01/70 00:00      
                           Save an MCU at what cost? - too high            01/01/70 00:00      
                  For user code you would.............            01/01/70 00:00      
                     WHY??            01/01/70 00:00      
                        Maybe...            01/01/70 00:00      
                           now we are going to OS and \'loaded application\'            01/01/70 00:00      
                              More "Horse Power" ?            01/01/70 00:00      
                                 HW or OS            01/01/70 00:00      
                                    How would you rate this ...            01/01/70 00:00      
                                       OK            01/01/70 00:00      
                                    No Bees Left            01/01/70 00:00      
                                 Not the MHz it is the core            01/01/70 00:00      
                                    Ap, I'm waiting ....            01/01/70 00:00      
                                       It wasn't asked in relevance to any Mcu            01/01/70 00:00      
                                          so what is it doing here???            01/01/70 00:00      
                                             You tell me that .            01/01/70 00:00      
                                                I AM sorry, but I lost my crystal ball.            01/01/70 00:00      

Back to Subject List