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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/16/06 17:26
Read: times


 
#126521 - I'm not from Missouri, but "SHOW ME"
Responding to: ???'s previous message
Erik Malund said:

... The 8255 can NOT be "be made to work" with many (most?) newer derivatives without slowing them down.


I challenge you, Erik, to show me even ONE of the current-generation 805x's that has at least the old-standard 40 pins and the usual four I/O ports but is unable to interface to an 8255 of the oldest, slowest variety using the second approach I illustrated on my user page.

The only difference between a 1979 i8051 implementation and a 2006 <you pick it> with the same port pins, is the firmware timing parameters used for controlling the duration of the reset, address, and control bits. That will not slow down any operation of the MCU that's not associated directly with the operation of the 8255's. Now, perhaps you mean you want it to work without any time consumed for the driver firmware ...

Erik Malund said:

You keep suggesting that a novice get a hold of a steam-driven variant of the '51, attach all kind of external memory and peripherals and see this ancient setup do something. That, in my opinion, is not a 101 item. If you want to include it in 103 from a historical perspective, that may be OK, but to start out with a very complex setup, when a simple one is availabe, is not the way to get someone going.


I don't believe I've ever said that a novice should obtain an antique, not that it shouldn't work, but, rather, I've suggested that a novice should use what's readily available to him, particularly if he's already got it. I've never advocated he attach "all kinds" of anything, though, with the trouble people seem to be having with programming internal memory, I'd say it's probably easier to hook up an address latch and a couple of external memory IC's, which ALWAYS works, rather than trying to figure out how to solve the problems with programming cables that are a perennial issue. BTW, I disagree, in that I think it IS a '101' type of problem generating a working development environment. Hardware and firmware are BOTH important to the process. I understand that you are mostly focused on the firmware, since your favorite parts don't allow the use of external memory, but that's really not the general case.

Erik Malund said:

the issue is that 'I/O expansion' is RARELY necessary when you do not live in the past and thus do not have internal memory and, for that reason, if you have a need for I/O expansion, the right answer is "forget it, ues a chip with sufficient internal resources and get all the pins for I/O". If a novice need more than 32 I/O pins, 8K of RAM and 64k of code memory, he is, most likely, way beyond what a novice should attempt. If a seasoned developer meed more than 32 pins, I doubt he would even consider the 8255.


If I/O expansion didn't come up frequently, would we be having this discussion semster after semester? It certainly comes up in the context of new learners' school projects. You're right, of course, in that a seasoned developer would not have an 8255 come under consideration right away if he had to expand the I/O on an 805x. However, that's the question that keeps coming up. How to do it is the question, and not whether to do it, or why not.

Erik Malund said:

There is no reason whatsoever for a novice to use external memory, it is not needed for any novice project.


With all the trouble people have indicated they have with programming internal FLASH memory, I'd say it is a BIG problem, and a ready solution is the use of external memory, since that's only a wiring issue.

Erik Malund said:

There has been a plethora of posts (DO NOT ask me to find them, you, yourself state the inabilities of the search), "why does the 8255 not work with my '51?" which have been related to speed. This, typically has bee from downloading some code from the net, not realizing that what works at 8MHz/12 may not work at 20MHz/6.


That's because, previously, no one has been willing to address the question of how to attach the problem and make it work. It's a trivial thing to do, but some decisions have to be made along the way.

Once again, you mention that 8 MHz 12-clocker. Where did you get that notion? The very first 805x I ever saw, not to mention the first datasheet, was for a 12 MHz part.

Erik Malund said:

Sure, you can put a mule in front of a Porsche, and, indeed, the Porsche will move, - if you can make the mule move :) - but is that taking advantage of the Porsches abilities?


Yes, and, mule or no mule, the Porsche isn't suitable for taking your family on a road trip. Keep in mind, too, that you've long advocated using parts, the full capability of which you don't need or intend to exploit.

Erik Malund said:

Now, for the argument "internal memory chips are difficult to obtain where I live" GET WITH IT "difficult" does not mean "impossible" and if you can not handle things being "difficult" sometimes, stay away from microcontrollers.

Erik


Erik, you don't get that complaint from me, but you do get it from people throughout Africa, South America, and Asia, and you get it often. Not only are they a problem to get, but they're a problem to program.

So, you're advocating that new learners be encouraged to solve their problems by buying rather than by thinking, is that it? Remember, many of them will never be called upon to design a production circuit. They may only be called upon, time after time, to solve a problem placed before them with a one-of-a-kind circuit, by Friday using parts already in stock or available locally.

Our role is to answer the question, not to tell the asker how foolish a question it is.

RE



List of 174 messages in thread
TopicAuthorDate
How to extend the ports of 8051?            01/01/70 00:00      
   I2C, SPI, 1-Wire, CPLD            01/01/70 00:00      
      Why "avoid 8259"?            01/01/70 00:00      
         Why "avoid 8259"?            01/01/70 00:00      
            Hi            01/01/70 00:00      
         Hi            01/01/70 00:00      
      Examples            01/01/70 00:00      
   Choose an 8051 w. sufficient IO in the 1st place!            01/01/70 00:00      
      all 8051\'s have the same amount of I/O            01/01/70 00:00      
         list please            01/01/70 00:00      
            typo ... sorry ...            01/01/70 00:00      
         OK then, "derivative"            01/01/70 00:00      
         huh?            01/01/70 00:00      
            I think he means...            01/01/70 00:00      
               you're right, and that's the point, actually            01/01/70 00:00      
                  cause and effect            01/01/70 00:00      
   Clarification please            01/01/70 00:00      
      Clarification            01/01/70 00:00      
         Hi            01/01/70 00:00      
            Specifics ?            01/01/70 00:00      
      Hi            01/01/70 00:00      
   8255            01/01/70 00:00      
      Avoid 8255!            01/01/70 00:00      
         8255 Is Available in India            01/01/70 00:00      
            I learned the 8085 and 8255 in college            01/01/70 00:00      
               more number blindness?            01/01/70 00:00      
                  Yes            01/01/70 00:00      
                     Actually, it IS possible ... but you\'re right            01/01/70 00:00      
                        why?            01/01/70 00:00      
                        who said useless?            01/01/70 00:00      
            so the blind should lead the deaf?            01/01/70 00:00      
               somebody's got to do it!            01/01/70 00:00      
         What do you mean by "cumbersome?"            01/01/70 00:00      
      which antique store do you shop at?            01/01/70 00:00      
   FAQ            01/01/70 00:00      
      now THAT would be helpful to many!            01/01/70 00:00      
         nobody said so            01/01/70 00:00      
            too slow?            01/01/70 00:00      
               if you want a FAQ ...            01/01/70 00:00      
                  Input or Output            01/01/70 00:00      
                     Well ... the Motorola parts did that ... bitwise            01/01/70 00:00      
                        Port C            01/01/70 00:00      
   Hi Everyboody!            01/01/70 00:00      
   Port I/O of 8051            01/01/70 00:00      
      Serial and parallel I/O            01/01/70 00:00      
         As many as two?!            01/01/70 00:00      
            port expansion            01/01/70 00:00      
               Oops - you've been in that museum again!            01/01/70 00:00      
                  that I know but            01/01/70 00:00      
                     sure            01/01/70 00:00      
                        i have not and I can't            01/01/70 00:00      
                           sorry...            01/01/70 00:00      
                     WSI; Waferscale; ST; PSM; PSD            01/01/70 00:00      
               wotizit?            01/01/70 00:00      
                  wired or line            01/01/70 00:00      
                     I'd not call it a "pin extension"...            01/01/70 00:00      
                        I would            01/01/70 00:00      
      Requirements            01/01/70 00:00      
      FAQ            01/01/70 00:00      
         a good start, but woefully incomplete            01/01/70 00:00      
            Triscend - now Zylogic            01/01/70 00:00      
            "woefully incomplete", eh?            01/01/70 00:00      
               response            01/01/70 00:00      
                  there are some \"gotchas\"            01/01/70 00:00      
                     I used them before they became flash parts            01/01/70 00:00      
                        So, where's the link to the ST software?            01/01/70 00:00      
                           let a WSI user find that out            01/01/70 00:00      
                              There are no more WSI users ... there's no WSI            01/01/70 00:00      
                                 WSI usres-PSD usres OK            01/01/70 00:00      
                           Richard... What P/N you looking at?            01/01/70 00:00      
                              I just skimmed over the four most prominent ones            01/01/70 00:00      
                           Is this it?            01/01/70 00:00      
                     PSD/uPSD            01/01/70 00:00      
   A couple of Articles on embedded I/O            01/01/70 00:00      
      broken libks            01/01/70 00:00      
         fixed            01/01/70 00:00      
      informative article(s) but ...            01/01/70 00:00      
         CPLDs and FPGAs            01/01/70 00:00      
            differences            01/01/70 00:00      
               that's not really the issue...            01/01/70 00:00      
            They\'re available at no cost            01/01/70 00:00      
               the invasion of ther windows "programmers"            01/01/70 00:00      
            re: CPLDs and FPGAs            01/01/70 00:00      
               Andy PLEASE            01/01/70 00:00      
            I only promote stuff            01/01/70 00:00      
         FPGA/CPLD drawbacks            01/01/70 00:00      
            please make complete statements            01/01/70 00:00      
               @Erik: please read complete:            01/01/70 00:00      
                  giving examples does not exclude            01/01/70 00:00      
            well, that's a big maybe ...            01/01/70 00:00      
               an example            01/01/70 00:00      
                  voltage is not my choice            01/01/70 00:00      
                     where is the beef?            01/01/70 00:00      
                        it depends            01/01/70 00:00      
                           costs less, too.            01/01/70 00:00      
   consider this ...            01/01/70 00:00      
      but why skin a cat that is rotted? the fur will no            01/01/70 00:00      
         You keep saying that, but WHY?            01/01/70 00:00      
            NO WAY            01/01/70 00:00      
               I'm not from Missouri, but "SHOW ME"            01/01/70 00:00      
                  you have now visited Missouri            01/01/70 00:00      
                     waitaminute Erik...            01/01/70 00:00      
                        and my argument is            01/01/70 00:00      
                           your argument is fallacious            01/01/70 00:00      
                              once more mixing I/O mapped and MMIO            01/01/70 00:00      
                              OFF TOPIC but...            01/01/70 00:00      
                                 it\'s the disparity between rural and urban areas            01/01/70 00:00      
                                    I do not, BUT            01/01/70 00:00      
                           pins, lost&found            01/01/70 00:00      
                              a rephrase, a question and a subject issue            01/01/70 00:00      
                                 technically            01/01/70 00:00      
                                    mixing once more            01/01/70 00:00      
                                 You're being either crazy or stupid, Erik            01/01/70 00:00      
                                    I think the crazy one is you, Richard            01/01/70 00:00      
                                       I'm a seasoned man ...            01/01/70 00:00      
                                          Same back at ya            01/01/70 00:00      
                                             Now we're into semantics            01/01/70 00:00      
                                                Now you are completely off the rocker. Who, more            01/01/70 00:00      
                                                   Wake up!            01/01/70 00:00      
                                                      that is a BLATANT LIE            01/01/70 00:00      
                                                         Good grief, Erik! It's not personal ...            01/01/70 00:00      
                                                            YES, YES and YES. I even had to code it in assemb            01/01/70 00:00      
                                                         you could state that explicitly....            01/01/70 00:00      
                                             I've tried to be diplomatic            01/01/70 00:00      
                                                I'll try it, too            01/01/70 00:00      
                                                   the IIC as an alternative            01/01/70 00:00      
                                                      As an alternative, but only sometimes            01/01/70 00:00      
                                                         two viewpoints            01/01/70 00:00      
                                                         SATA            01/01/70 00:00      
                                                            I\'d like to meet...            01/01/70 00:00      
                                                               My point            01/01/70 00:00      
                                                               Parallel works off-board as well            01/01/70 00:00      
                                                            very true, but it doesn\'t apply            01/01/70 00:00      
                                                         try THAT with the 8255            01/01/70 00:00      
                                                            Erik, it might surprise you to learn ...            01/01/70 00:00      
                                                               WHAT            01/01/70 00:00      
                                                                  Erik, in response to WHAT            01/01/70 00:00      
                                                               that implies serial, in which case the 8255            01/01/70 00:00      
                                                                  I said is was parallel-interfaced ...            01/01/70 00:00      
                                                                     Please find the word 'parallel', I may be going bl            01/01/70 00:00      
                                                                        You're right, I left it out ...            01/01/70 00:00      
                                                                           The title of nthe thread is "How to extend the por            01/01/70 00:00      
                                                                              Yes, it's HOW TO and not HOW NOT TO ...            01/01/70 00:00      
                                                                                 attaching an old ratteling caboose to a high speed            01/01/70 00:00      
                                                         not that slow - especially compared to the 8255            01/01/70 00:00      
                                                            Erik, look at the datasheet ...            01/01/70 00:00      
                                                               how do you propose to \"get it in\" at that speed            01/01/70 00:00      
                                                                  Yes, this needs clarification            01/01/70 00:00      
                                                                     no, you don't            01/01/70 00:00      
                                                                        Erik, Once again, you've brought too much to            01/01/70 00:00      
                                                                           nope, there are plenty of boards with (sorry, I kn            01/01/70 00:00      
                                                                              Well, show me ... it\'s proven untrue so far.            01/01/70 00:00      
                                                                                 I am really curious what you are making where a            01/01/70 00:00      
                                                                                    Been there, done that ...            01/01/70 00:00      
                                                                                       now you lose me            01/01/70 00:00      
                                                                                          I don\'t like \'em.            01/01/70 00:00      
                        Jan ... DIGIKEY's not always the cheapest            01/01/70 00:00      
                           of course, if you can sell the sh eh stuff            01/01/70 00:00      
                     the datasheet says ...            01/01/70 00:00      
                        are you mixing cement in a futile attempt to cast            01/01/70 00:00      
                           go back to school, Erik!            01/01/70 00:00      
                           go back to school, Erik!            01/01/70 00:00      
                              I say, you say            01/01/70 00:00      
                                 Erik, go back and read the whole thing            01/01/70 00:00      
                                    had Peter IlyitchTscaikowsky lived ...            01/01/70 00:00      
                                       one more... :-)            01/01/70 00:00      
                                          hve you see any post stating that?            01/01/70 00:00      
                                             yes. Richard's... :-)            01/01/70 00:00      
                                                and that was because ...            01/01/70 00:00      
   Why is this so endlessly fascinating?            01/01/70 00:00      
      to Jez            01/01/70 00:00      
         i dunno            01/01/70 00:00      
   "Extending Input/output"            01/01/70 00:00      
      "Extending Input/output"            01/01/70 00:00      

Back to Subject List