??? 10/16/06 20:25 Read: times Msg Score: 0 -1 Offensive/Flame +1 Underrated |
#126533 - your argument is fallacious Responding to: ???'s previous message |
Erik,
Can you recall even one commercial/industrial circuit designer asking about how to expand I/O on an 805x? The problem we're supposed to be addressing is the new learner. He's got his textbook and his teacher. He's got his development board, which may, in fact, and the likelihood is good, have an 8055 or two on board. The guy who's got an 8255 on that board is the one who can't figure out how to make it work. The guy who asks how to expand the I/O on his 805x hasn't got the option of using a "modern" chip either. He's already got what he's wanting to use, probably on that evaluation board his instructor told him to buy. He's going to have to attach some circuitry of some sort. He lives in India or in VietNam, or in Mozambique, and has only a budget of $9 to feed himself for a month. He's willing to give up some of that in order to learn how to expand the I/O on an 805x so he can go somewhere and get a job. Nobody's helping him by telling him to buy rather than to think. Erik Malund said:
... Another important issue re "pulling by hand" is that you can not do that when you have external memory (you do not have enough pins) and THAT is when you need I/O expansion). Also if you do not have external memory what on earth to you need more than 32 (64) I/Os for? So the argument Re 8255 as I/O mapped I/O is ridiculous. It is trying to defend the 8255 used by necessity with external mamory and memory mapped I/O (next to no pins left) by 'proving' it can be used as I/O mapped I/O where it has no purpose because it is not needed. If you attach the 8255 as I've shown, the only pins you "lose" are the ones attached to the nCS pin(s) on the 8255(s). What you do with the remaining pins, including the 8 data pins and 5 of the 7 I've shown, is completely up to you. You can wiggle nWR up and down as much as you want, so long as neither of the shown 8255's is selected, and no evil will occur. Now how about YOU starting to think a little bit ... RE |