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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/19/12 15:15
Read: times


 
#185566 - Are you serious?
Responding to: ???'s previous message
Erik Malund said:

Learning how to use the internet wisely is the important lesson.

cheap fatty sausage
whatever you get from the net is worthless un less you are able to code the routine(s) yourself. If you do not have the capability to fully understand the routine(s) you will be stuck with "the little fix" that always is required to use downloaded stuff

This seems a little conceited. I used printf() or ctime() well before I understood how they worked, or how to code them myself. Even now, I see little point in writing them myself. After all, there are fully working implementations out there.

I do see that it is 100% important to read and understand the documentation. And even more so, to follow the rules meticulously.
It is also wise to have an open mind, and write my own test routines to verify the documentation.

The punter who can almost code everything herself is more of a liability than she who makes wise use of prior knowledge.

You will seldom need to write ASM for most modern microcontrollers. However it is useful to be able to read ASM on occasions to understand the efficiency of a HLL compiler.
if you need to "understand the efficiency" you should not use C in the first place, Even more important is that you are able to "think ASM" since 'C' assumes that all I/O is taken care of (fopen - fread - ...) and I/O is so close to the hardware that "thinking C" will get you lost. I am NOT discussing what language to write it in, I am discussing the mindset.

I understand your point of view. I agree that it is sensible to think in your language of choice. If it is elegant in C it is generally fairly efficient.

At the same time reading a language is very different to writing. I will quite happily read ARM or MSP430 with no intention of ever writing in those assembly languages. However you only ever need to do this when you have some critical timing. 99.95% of application code area is not critical. Sometimes the remaining 0.05% of code space can use 50% of execution time.

using debugged library code
even 'debugged' (it often is not) you still, in most cases, need to adapt a bit, thus 'using' is crap, 'understanding' is correct.

Erik

Yes. Of course you need to adapt. e.g. from 93c46 specific code to a 93c66.

Anyone not prepared to read, understand, adapt has little prospect. We all had to start somewhere!

David.

List of 49 messages in thread
TopicAuthorDate
interfacing with 93c66            01/01/70 00:00      
   Interfacing AT93CXXX Serial EEPROMs with AT89LP MCUs            01/01/70 00:00      
      Direct Links            01/01/70 00:00      
   interfacing ith93c66            01/01/70 00:00      
      Better Learn Both            01/01/70 00:00      
      How about the 8051 code library?            01/01/70 00:00      
         interfacing with 93c66            01/01/70 00:00      
            An exercise for the reader            01/01/70 00:00      
               interfacing with 93c66            01/01/70 00:00      
      Then you need to learn...            01/01/70 00:00      
         I disgaree            01/01/70 00:00      
            cheap fatty sausage            01/01/70 00:00      
               Understanding the mapping important            01/01/70 00:00      
                  out of context            01/01/70 00:00      
                  So exactly what was the disagreement???            01/01/70 00:00      
                     I agree with you            01/01/70 00:00      
                        Don't simplify to believe it's about fastest speed            01/01/70 00:00      
                        again            01/01/70 00:00      
                     true            01/01/70 00:00      
               Are you serious?            01/01/70 00:00      
                  also out of context            01/01/70 00:00      
               Missing the point!            01/01/70 00:00      
                  the full monte            01/01/70 00:00      
   interfacing with 93c66            01/01/70 00:00      
      And your work            01/01/70 00:00      
      plz check it            01/01/70 00:00      
      ,sometimes you have to be VERY specific            01/01/70 00:00      
      wrong strategy and many errors            01/01/70 00:00      
   interfacing with 93c66            01/01/70 00:00      
      why do you resist using external ram?            01/01/70 00:00      
         interfacing with 93c66            01/01/70 00:00      
            Payed support not good enough?            01/01/70 00:00      
               interfacing with 93c66            01/01/70 00:00      
                  Any Specific Reason for using...            01/01/70 00:00      
                     interfacing with 93c66            01/01/70 00:00      
                        please explain            01/01/70 00:00      
                        It is advisable to use alternate available....            01/01/70 00:00      
                           interfacing with 93c66            01/01/70 00:00      
                              Can you elaborate it ?            01/01/70 00:00      
                                 interfacing with 93c66            01/01/70 00:00      
                                    You give me your email-id            01/01/70 00:00      
                                       email id            01/01/70 00:00      
                                          Ok            01/01/70 00:00      
                  Wrong - you are just not responding to on-topic questions            01/01/70 00:00      
                  you've got plenty of suggestions            01/01/70 00:00      
                     Off-topic but Siemens/seconds...            01/01/70 00:00      
                     funny result            01/01/70 00:00      
                        Output            01/01/70 00:00      
   still waiting            01/01/70 00:00      

Back to Subject List