??? 01/19/09 22:44 Read: times |
#161622 - Yeah you´re (sometimes) right Responding to: ???'s previous message |
Hello again :-)
I´m happy, that the 8052 community seems to be very active and helpful to new member. This looks to me like a situation that should, under any circumstances, be handled in ASM and not in 'C' - Of course, we could use assembler code, but if our project will be finished in the future, everybody should use our core with C-code. Furthermore it is a wish of our prof too. Why go through all this pain? Can't you simply map your CAN controller into the SFR space? There's plenty of room. - Yeah this is possible and i think we will take this opportunity now. First we tryed to connect the CAN over the XRAM lines, because we just wanted to see if we could implement it without having big problems. But, as we have seen, our knowledge isn´t big enough yet. But that is why, we have asked you guys, to learn more and more, step by step ;-) (the other periphery is already implemented in SFR´s) So why would you burden the users of this system with such an overhead with no reason? - As I said it before. We don´t use external RAM so far. So it was just an idea, nothing more. (Not one of our best ideas, but it was an idea. We just wanted to try something different ;-) ) I suspect that the reason they're considering external-memory-mapped interface to their CAN controller is that they don't know the 805x architecture and don't know the details of the T51 core, and perhaps not even the HDL in which it's written. - We´re not so dumb as it seems ;-) No, we´re working really hard to learn more and more every day, but like in my first post, we´re still at the beginning and no pros ;-) Mapping their peripheral into SFR-space should be dirt-simple. Mapping it into external memory should, too. - Maybe in one or two weeks, we will agree, but not yet. Still things we have to consider and are not so easy for everybody at the beginning :-) The O/P has "gone away" long ago, probably because he was "corrected" by a faculty advisor, who pointe out the error of his ways. The information he initially provided was entirely inadequate. I suspect he and his colleagues have modified their approach and now have discovered answers to their questions. - No, i´m still here :-) We really want to learn. It is no one-day project and we are really interestes in microcontroller. Yes, but my point was that the O/P apparently hadn't even taken a serious look at the T51 source code, nor had he learned the T51 (805x) architecture and instruction set, else he'd not have wondered how to enable external RAM.
The O/P needed to go back to first-year practices and read the spec's. That would have taken at least half a day of sit-down study, which he hadn't yet done. As such, he had no business tampering with the T51 core. - Hmm here you are wrong. We know something ;-) Maybe i didn´t describe my problem so well, so i apologize for that :-) |