|   |
![]() |
|||
Home |
Program development for stand-alone microprocessor systems can be done in many different ways. This project is intended for processors with external program memory. Modern processors with internal Flash memory will not benefit from this project and must be programmed in a totally different way. Some of us prefer buying integrated development tools for a specific processor. They usually feature a processor emulation device, programming languages and software simulation tools. To my opinion this approach has two major disadvantages:
You can also use a development system with a monitor program which takes care of downloading the program under construction. These systems usually feature some debugging functions like setting break points and single step program execution. Typical disadvantages of this system are:
An other approach could be using one of the freely available software simulation programs to develop the software in a very early stage. I don't like this approach very much either. Again I can think of some disadvantages to this approach:
And then there is the trial and error technique. That's more like it! Main advantages of this technique are:
But there's also a main disadvantage to this approach: You'll have to program an EPROM for every try, then you'll have to swap this EPROM with the previous one in the target system. And if you have only a limited number of EPROMs available you'll have to spend quite some time erasing the used ones. This last disadvantage can be eliminated by using an EEPROM device during development for those devices don't have to be erased by exposing them to ultra violet light. I have created many projects using this technique for many years until I developed an EPROM simulator. An EPROM simulator replaces the normal EPROM in the target system during development. The software is then simply downloaded from the host PC to the simulator and after download the program is immediately started. Once the program is finished it can be programmed into a normal EPROM without changes, which then replaces the EPROM simulator in the target system.
The EPROM simulator that I've finished in 1994 can simulate many different EPROM sizes and has some other nifty features.
Unfortunately that device is a little difficult to copy because of the number of components that are used.
Like most of my projects the Tiny EPROM Simulator can be controlled by the SB-Bus.
Simply send the WRITE command, followed by the Intel HEX file to the COM port and the target processor is held in RESET until the upload is completed.
Then the RESET to the target processor is automatically released and the new program is started to be evaluated.
|