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/07 00:19
Read: times


 
#131069 - Well, there are ways ...
Responding to: ???'s previous message
As I mentioned previously, PAULMON, a relatively popular monitor for the 805x, will program flash memory, and, I think, it is actually targeted at that device. A look at the doc's and source code will shed light.

If, by "programmer" you mean a 28F256DC-25 programmer, then I think it's easily solved, and really doesn't require the parallel port, but that's only one way.

I can also make some suggestions about how to build the interface between your PC parallel port and the flash memory so that you can program it or drive it in any other way you want, from the PC parallel port. I can even help you with making it work in EPP mode, which is about 10x as fast as in SPP mode.

If I understand your demands correctly, you want to run the 805x "system" as though it were a standalone setup, and, in fact, as a standalone setup if you choose not to hook up to the parallel port. Further, you want to be able to plug it into the parallel port in order to program the FLASH memory. Do you also want to operate on the SRAM CY7C185 from the parallel port as well?

Why are you using only an 8kbyte SRAM? (just curious)

Were you aware that the 80C51BH has no mode in which its ports are tri-state? When the thing is reset, it drives its pins high with a weak pullup, as it is entirely in input mode. That might serve, actually, but you're going to play HELL synchronizing a PC parallel port with the carefully timed FLASH writes. I'd suggest you consider some other alternatives, e.g. downloading the FLASH content into SRAM and then using firmware in the downloaded portion to do the programming. That requires some thought, but it can be managed, and, will be entirely transparent to the user once it's done.

I have some doubts about the business of using the MCU as the counters, but it is possible. If you examine the code in the PAULMON source, you'll see that you can program the FLASH in portions (sectors) so you can download using your relatively small SRAM. In fact, you could download the code to the MCU using the serial port, having it store the data to be programmed in the external SRAM, and then put it in the appropriate sector of the FLASH. That would take the parallel port out of the equation and really simplify things. The parallel port approach will work, though. It just takes more hardware and more effort.

Stealing cycles from the MCU is a bit trickier with these MCU's than with, say, the Motorola 68HC05's and the like. MOT parts are essentially a PCB on a chip, with a tristate bus and everything. These don't tristate anything except for brief transient intervals between phases. If you spend a few hours with a 'scope/logic-analyzer on the data and address lines you'll see what I mean.

It's doable. There are many ways to skin a cat. You've chosen one that may not be the easiest but which is inherently doable.

RE


List of 77 messages in thread
TopicAuthorDate
I need some help with an 8051 design            01/01/70 00:00      
   Have you looked at new parts?            01/01/70 00:00      
      ROM, EPROM            01/01/70 00:00      
   Wheel Re-invention            01/01/70 00:00      
   Perhaps you\'d like to do some essential work first            01/01/70 00:00      
   Stopping XTAL?            01/01/70 00:00      
      If you know what you need ...            01/01/70 00:00      
      from the "outside" point of view...            01/01/70 00:00      
         that won't do it!            01/01/70 00:00      
   to Mike            01/01/70 00:00      
      I know my objective. I need help meeting it.            01/01/70 00:00      
         Anachronism!            01/01/70 00:00      
            not quite so...            01/01/70 00:00      
               Unfortunate            01/01/70 00:00      
               Don't blame poor MS ...            01/01/70 00:00      
                  advantages???            01/01/70 00:00      
                     I feel your pain, some of it.            01/01/70 00:00      
                  the blame game            01/01/70 00:00      
            so what?            01/01/70 00:00      
               But you said...            01/01/70 00:00      
               An attitude to learn.....            01/01/70 00:00      
               Before you get all "wrapped around the axle"            01/01/70 00:00      
                  USB as well            01/01/70 00:00      
               if you don't want to be "too" modern...            01/01/70 00:00      
                  Since you haven\'t mentioned requirements yet ...            01/01/70 00:00      
                     Even better            01/01/70 00:00      
               Hold the Reset            01/01/70 00:00      
               Mike I don't understand            01/01/70 00:00      
         you can get better than this...            01/01/70 00:00      
   One crystal            01/01/70 00:00      
      at least some people arre trying to help.            01/01/70 00:00      
         Not as simple as you think            01/01/70 00:00      
            ...            01/01/70 00:00      
               Not to beat on the data sheet            01/01/70 00:00      
               've got any schematics?            01/01/70 00:00      
         Why send NOP?            01/01/70 00:00      
            for programming/program downloading into RAM/EEPRO            01/01/70 00:00      
               ?synconisation            01/01/70 00:00      
               yes            01/01/70 00:00      
                  emulate xtal when programming            01/01/70 00:00      
                  no            01/01/70 00:00      
                     This guy has special requirements ...            01/01/70 00:00      
         WHY -WHY - WHY ON EARTH fiddle with            01/01/70 00:00      
   What!! No 8255? :)            01/01/70 00:00      
      No ... the O/P doesn't have his %$#@! together            01/01/70 00:00      
         If it is what he wants            01/01/70 00:00      
            I'm not so sure that will work ...            01/01/70 00:00      
               Comments            01/01/70 00:00      
                  He says he has an 80C51BH            01/01/70 00:00      
                     And More            01/01/70 00:00      
                     Wrong goal?            01/01/70 00:00      
                        That's true ... but ...            01/01/70 00:00      
   let's talk about this schematics            01/01/70 00:00      
      thats it            01/01/70 00:00      
         Less '245s?            01/01/70 00:00      
         Mike, why not make a list ...            01/01/70 00:00      
            I don't think this IS critical...            01/01/70 00:00      
               It\'s still not clear what he really requires            01/01/70 00:00      
                  the chips            01/01/70 00:00      
                     you are describing an ISP chip            01/01/70 00:00      
                     Well, there are ways ...            01/01/70 00:00      
         where does 12V come from?            01/01/70 00:00      
            Illegitimi non carborundum!            01/01/70 00:00      
               Au contraire            01/01/70 00:00      
                  Don't help someone's grandma across the street ...            01/01/70 00:00      
                  Moving right along!!!            01/01/70 00:00      
                     waitaminute ... it's an EEPROM ... but he's got it            01/01/70 00:00      
                        I think....            01/01/70 00:00      
                           the best laid plans of mice and men            01/01/70 00:00      
                              for a professional, EVERYTHING is an option            01/01/70 00:00      
                              It's HIS choice ...            01/01/70 00:00      
                                 yes and I gavce him two            01/01/70 00:00      
                                    Yes, I agree, one of the choices is a struggle            01/01/70 00:00      
                           thanks for your help guys            01/01/70 00:00      
                              I don't know if this            01/01/70 00:00      
                              be carefull , Mike            01/01/70 00:00      
                                 software is not good            01/01/70 00:00      

Back to Subject List