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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/16/13 01:28
Read: times


 
#189180 - If you really want to use ds80c320
Responding to: ???'s previous message
James Brzycki said:
Just to add in that I do have a programmer for prom's, I work in pcb assembly and test and I knew that for those you need a special programmer.


If you really want to use ds80c320, and EEPROM, even after being told there are devices with inbuilt flash and Boot loaders for a couple of dollars, then these are the issues you will face.

What you ask can be done
a) ds80c320 has no ROM, so it always needs to be fed code externally.
b) EEPROM cannot supply opcodes whilst it is programming

Thus the solution is to use TWO EEPROMS, (these can be stacked, with a couple of pins separated) and use some means to select.
One chip (use read only or ROM) holds the Boot loader code, you first load this using your parallel programmer, with Boot code you find/modify.

The other chip is for your changing code.

You add a simple Mux (eg google 4 x 2:1 Multiplexer) to flip between Boot and run, via a switch, or using PC-uart handshake lines.

During PGM phase, DS80C320 fetches opcodes from your ROM EEPROM, and uses /RN and /WR to access the Other EEPROM (RUN).

Then for run, your MUX swaps RUN.OEN from /RD to PSEN, and the other ROM.OEN can disable, or swap conversely from PSEN to RD if you want to include tables, or fonts, or similar in the ROM chip.
A reset now starts from RUN.

ROM.WR is disabled, (pgm that in your programmer) and RUN.WR is either always connected (dangerous), or connected to uC.WRN only in Boor, and disabled in Run.






List of 40 messages in thread
TopicAuthorDate
Regarding Typical memory connection for a ds80c320            01/01/70 00:00      
   drop it!            01/01/70 00:00      
   same question - same answers            01/01/70 00:00      
   It won't work            01/01/70 00:00      
      Andy Neil's previous message            01/01/70 00:00      
         little feet stamping the floor            01/01/70 00:00      
            little feet stamping the floor            01/01/70 00:00      
               Erik doesn't like it when you don't do what he wants            01/01/70 00:00      
                  KISS            01/01/70 00:00      
                     Not exactly ...            01/01/70 00:00      
                        I find it odd that you            01/01/70 00:00      
                           just to add            01/01/70 00:00      
                              If you really want to use ds80c320            01/01/70 00:00      
                                 Not necessary ...            01/01/70 00:00      
                                    What about the other option?            01/01/70 00:00      
                                    Yes, but ..            01/01/70 00:00      
                              So your development cycle will be...            01/01/70 00:00      
                           What about that other post?            01/01/70 00:00      
                              reply to all            01/01/70 00:00      
                                 'something'            01/01/70 00:00      
                                    "something" reply            01/01/70 00:00      
                                 Some links to reduce work             01/01/70 00:00      
                                 I'm not surprised ...             01/01/70 00:00      
                                    down memory lane            01/01/70 00:00      
                                       Antique chips            01/01/70 00:00      
                                          in my opinion            01/01/70 00:00      
                                             Just where, under the hood, can you look?            01/01/70 00:00      
                                                this applies equally well            01/01/70 00:00      
                                                   Did he say he wants apples?            01/01/70 00:00      
                                          Highly integrated devices deprive one of valuable experience            01/01/70 00:00      
                                       the only difference ...             01/01/70 00:00      
                                          a monitor can not             01/01/70 00:00      
                                             I don't think anyone's that foolish ...             01/01/70 00:00      
                                                I do            01/01/70 00:00      
                                                   He doesn't have to apply external memory            01/01/70 00:00      
                                                      by your posts he does            01/01/70 00:00      
                                                         You have to consider ALL his posts            01/01/70 00:00      
            The bible links            01/01/70 00:00      
               you are right            01/01/70 00:00      
                  Thanks            01/01/70 00:00      

Back to Subject List