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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/08 06:43
Read: times


 
#155794 - code memory limitations and OS
Responding to: ???'s previous message
Alex Cos said:
The project aim is to develop an entire software stack, from the scratch, on a resource poor chip. I specified (at the beginning of the project) that a resource poor chip is an ATMega128 or similar.


"Resource poor" is apparently a very relative term. In the 8-bit microcontroller world, the ATMega128 is a rather big shot...


Alex Cos said:
Till Now I have an operating system with preemptive threads support[...]
then it is relatively easy to use a segmented code memory with the 64kB limit applying to the sum of the OS core ("kernel") plus the biggest thread.

Note, that the ATMega's 128kB (64kword) code memory limit is ultimative (or, more precisely, the biggest existing AVR has 256kB code memory, so if you blow that limit with the code there are no more options); whereas there are several '51 derivatives available, where external *code* memory can be attached (even a "von-Neumanized" RAM for processor-like operation), which can go up to infinity in capacity, implementing some paging scheme (this does not apply for the SiLabs variety, though). I am mentioning this because your approach uses these chips as a processor, not as a controller.

This is not to say you should make your decisions based on this fact, just maybe a line or two to add to your thesis.

JW


List of 35 messages in thread
TopicAuthorDate
ATMega128 but new to 8052 (help)            01/01/70 00:00      
   general and specific            01/01/70 00:00      
      ATMega128 and 8051 (memory limit?!)            01/01/70 00:00      
         On memory sizes            01/01/70 00:00      
      ATMega128 and 8051 (memory limit?!) 2            01/01/70 00:00      
         Not a job for an 8051, then?            01/01/70 00:00      
   Heresy: Why not just use two AVRs?!            01/01/70 00:00      
      Reasons for not 2 ATMEL            01/01/70 00:00      
         This board            01/01/70 00:00      
            code and data space            01/01/70 00:00      
         Memory Measures            01/01/70 00:00      
         digikey, mouser            01/01/70 00:00      
         RE: the memory ammount I need ?!            01/01/70 00:00      
   128k flash + 4k SRAM + 4k eeprom            01/01/70 00:00      
      Memory and Chip            01/01/70 00:00      
         Memory Size            01/01/70 00:00      
            not free - but almost so            01/01/70 00:00      
         comparing the ATMega128 to the 8051f120            01/01/70 00:00      
         code memory limitations and OS            01/01/70 00:00      
            if it's just the internal RAM which is the concern...            01/01/70 00:00      
               NMIY-0031 link and more details....            01/01/70 00:00      
                  code memory limits            01/01/70 00:00      
   8052 stack in external RAM            01/01/70 00:00      
   8052 lacks of i2c?            01/01/70 00:00      
   8052 16 bit version?            01/01/70 00:00      
      two posts answered in one            01/01/70 00:00      
         f120            01/01/70 00:00      
            not much detail ???            01/01/70 00:00      
               8 bitter            01/01/70 00:00      
                  not the 'data short', the 'data sheet'            01/01/70 00:00      
                     Choosed! :-)            01/01/70 00:00      
                  stack might mean many things            01/01/70 00:00      
                     About stack            01/01/70 00:00      
                        there is a lot of magic in compilers            01/01/70 00:00      
                  The Hardware Stack            01/01/70 00:00      

Back to Subject List