Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

PROM PROGRAM.

1772 views
12 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    June 2011
  • 16 posts
PROM PROGRAM.
Posted by TRAIN123 on Sunday, February 15, 2015 4:35 PM

Where can I have a prom memory chip programmed? What kind of programming form is filled out?

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Sunday, February 15, 2015 5:14 PM

considering your previous post, Microcontroller Programming (http://cs.trains.com/mrr/f/744/t/219323.aspx) why don't you purchase a programmer (~$20) and program it yourself?

what do you mean by form (i.e. paper)?  You would provide the data as an electronic file.

greg - Philadelphia & Reading / Reading

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Sunday, February 15, 2015 6:13 PM

 Perhaps some more detail? What are you trying to accomplish here, with what sort of equipment?

            --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    June 2011
  • 16 posts
Posted by TRAIN123 on Sunday, February 15, 2015 7:55 PM

Want to program a prom chip 64Kx8, not a microcontroller. Is the data put on paper or into a program file?

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Sunday, February 15, 2015 8:10 PM

 Data goes into a program file which is fed to your PROM programmer. You need a PROM programmer to be able to program them.

                       --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    June 2011
  • 16 posts
Posted by TRAIN123 on Sunday, February 15, 2015 9:15 PM

Randy, Where can I get a program file?

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Monday, February 16, 2015 6:29 AM

you want the PROM programmed to your specifications, either a program for a specific processor or possibly just data.  You would generate the file read by the PROM programmer that is compatible with the programmer.

If you were writing code, the compiler would generate a binary file to be run from memory.   That file could be translated into a format for a PROM programmer.

greg - Philadelphia & Reading / Reading

  • Member since
    December 2011
  • From: Northern Minnesota
  • 2,774 posts
Posted by NP2626 on Monday, February 16, 2015 6:37 AM

My Prom was so long ago (1968) I can't even remember if there was a program!Laugh

NP 2626 "Northern Pacific, really terrific"

Northern Pacific Railway Historical Association:  http://www.nprha.org/

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Monday, February 16, 2015 7:13 AM

 If this is just something you are doing - the PROM programmer will accept what are essentially text files with the data in hex You need to write the program you want to burn into the PROM, or if you are using something that already exists, download it in a format suitable for the PROM programmer you are using.

 Also if this is an existing chip with something already burned into it, you can't reuse is, unless it is an EPROM or EEPROM. The first is erasable with UV light (which is why they often have a piece of tape over the clear window - sunlight will do it, but it takes years), the second is electrically erasable, the appropriate programmer will be able to erase the existing contents before applying a new file.

 Most of the time when people talk about PROMs here they mean the EPROM in the NCE PowerPro, which has had several updates, or the main chip on the QSI decoders.

                        --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    June 2011
  • 16 posts
Posted by TRAIN123 on Monday, February 16, 2015 10:22 AM

The memory chip would be a prom, not an eprom. I have written the code-the truth table and need to have it programmed into the prom. I have never done this and would like to know what kind of program to use and how to enter the code. Is there companies that offer programming service?

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Monday, February 16, 2015 11:55 AM

i wish you would describe what you're trying to do.  I'm curious.

One reason for making devices re-programmable (EEPROM) is because developers rarely get things correct the first time.   And because of this, it's important that the process of erasing, regenerating the program information, reprogramming a device and being able to retest it can all be done in a reasonable amount of time.

How confident are you that what you've coded is correct?

This is why it makes sense to have your own programmer and erasable devices or use a device that can be reflashed in circuit (e.g. PIC processors).

greg - Philadelphia & Reading / Reading

  • Member since
    June 2011
  • 16 posts
Posted by TRAIN123 on Monday, February 16, 2015 12:20 PM

Greg, i am connecting a counter circuit to the prom and depending on the count the counter inputs to the prom the output of the prom will have a cetain value. Im am confident of the code but if not the memory chips do not cost that much. It can be a prom or a eeprom. How much are programmers for memory chips? Are there companies who offer the service and how much?

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Monday, February 16, 2015 12:51 PM

 

it looks like a universal programmer can be found on ebay for ~$50.

a quick google search turned up Advin which I think is what your're asking for.

again, curious, what is the ROM output?   numeric display, lights, triggers for other devices?

greg - Philadelphia & Reading / Reading

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!