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

Back to Subject List

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


 
#126008 - 10 points Russ
Responding to: ???'s previous message

Amen Russ, I couldn't have put it better myself. Whilst we share the same name, I think we also speak the same language.

Erik, take this on board - everything is not so black and white. One could say that to avoid an accident, jump on your brakes. That may work fine in many cases, but what if you have a truck right behind you? You might want to adopt a different strategy in this instance. The same with pre-emptive RTOSes on 8051 architectures - I'm sure there are some instances where it would be a good choice, but overall one would suggest it be avoided due to the various compelling reasons. To say it is 'stupid' is plain false, more correctly, in some circumstances we could say that a 'more optimum solution can be found'. I . like you would avoid using a pre-emptive RTOS on a 8051, but as I've said before, I've seen product that do and the programmer knew exactly what he was doing and it would have been difficult to have it work using co-operative means. The programmer in this instance would copy the stack to/from xram on a 12 clock part. He knew how long it would take and it was real-time enough for what he wanted to do.

I think what Attila is trying to achive is something like Code Architect - you tick the boxes and it spits out the code module. The 'program' has its own file with the various bits of code and depending on what the user has asked for, it picks out what is required and puts it into an output file. Thus, the PC side of things does all the thinking. So, to cope with the differences between 8051 compilers, the PC code asks the user what compiler and can take of of the required changes.

List of 32 messages in thread
TopicAuthorDate
Uncalled segments problem with library            01/01/70 00:00      
   Work with the tools!            01/01/70 00:00      
      I didn't know that is the standard way...            01/01/70 00:00      
         Not a 'C' language issue.            01/01/70 00:00      
         Not True            01/01/70 00:00      
   abstraction my butt            01/01/70 00:00      
      Abstraction HAS a meaning in embedded            01/01/70 00:00      
         yes sure            01/01/70 00:00      
         so why do you do these things            01/01/70 00:00      
            Maybe I don't know what abstraction is...            01/01/70 00:00      
               Hardware knowledge            01/01/70 00:00      
      Abstraction: NOT Always Bad            01/01/70 00:00      
         10 points Russ            01/01/70 00:00      
            shades of grey            01/01/70 00:00      
               Maybe abstraction is not the issue            01/01/70 00:00      
                  Useful?            01/01/70 00:00      
                     Pascal            01/01/70 00:00      
                     etc, etc            01/01/70 00:00      
                  is a libray function an "abstraction"?            01/01/70 00:00      
                     Is a library function an abstraction?            01/01/70 00:00      
                  I rest my case, m'lud            01/01/70 00:00      
                     Attila! Where are you?            01/01/70 00:00      
                  CodeArchitect?            01/01/70 00:00      
                     CodeArchitect?            01/01/70 00:00      
                     it generates source code; however            01/01/70 00:00      
         about abstraction ...            01/01/70 00:00      
            By Jove, I think you've got it!            01/01/70 00:00      
         Some more info why I wan't to use an API            01/01/70 00:00      
            a TOTALLY different story            01/01/70 00:00      
               Provide the source code...            01/01/70 00:00      
            Some more info why I wan't to use an hard disk            01/01/70 00:00      
               two mistakes            01/01/70 00:00      

Back to Subject List