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 12:26
Modified:
  06/13/08 12:27

Read: times


 
#155848 - stack might mean many things
Responding to: ???'s previous message
Alex Cos said:
I meant the main stack, the stack of the operating system (of the main function). I dont mean the extra thread stacks (pthread_create).


I have no idea what are you talking about. However, there are many notions of "stack", for example, most "big processor" *compilers* use stack for local/auto variables and parameter passing, this is not the case with the "small 8-bitters" *compilers*.

Alex Cos said:
Can the main stack be placed on external RAM?

No; this is the most stringent limitation of the '51 architecture. Except the ADuC8xx and the DS80C400 family I know of no '51 derivative which can go beyond the 256-byte internal RAM limit (of which maybe 3/4 can be used for stack usually).

Alex Cos said:
Yes, multithreaded is heavy on 8 bits but that makes part of the project.

Not really; it's the "resource rich" thinking which makes it heavy. In fact, you might not need to have a multithreaded OS at all for TCP/IP. An another example, the already mentioned DS80C4x0 have implemented a TCP/IP stack plus a multithreading OS plus a couple of other stuff, (with a JAVA runtime environment called TINI available), all in internal 64kB ROM. You might want to check it out here.

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