Chapter 8: Developing Your Application
67
8.3.1 Committing your application to the DSPpro-VME or
DSPpro-Serial
Follow these instructions to commit your program to flash memory on the DSPpro-VME or
DSPpro-Serial:
1. If you haven’t done so already, copy your application files to the
DSPpro Boot Disk
. Be
sure that you have a backup of the original
DSPpro Boot Disk
.
2. If necessary, create
AUTOEXEC.BAT
and
CONFIG.SYS
files for use on the DSPpro. You
may want your
AUTOEXEC.BAT
file to automatically invoke your application. Save these
files on the
DSPpro Boot Disk
.
3. Connect the console cable between the host computer (use either COM1 or COM2) and the
DSPpro Console port. Be sure to use a DB-9F to DB-9F null-modem cable, available from
MEI as accessory cable CBL-D9 CONSOLE.
4. Execute
the
REMSVR
program on the
DSPpro Utility Disk
, using the following options to
select the appropriate serial ports:
remsvr
If the console cable is connected to COM1 on the host
remsvr /2
If the console cable is connected to COM2 on the host
3. Reset the controller by pressing the reset button or by toggling the power supply. The
DSPpro will then attempt to connect to the REMSVR application running on the host
computer.
4. After the DSPpro boots, you will see a DOS prompt from the DOS shell running on the
DSPpro. At the prompt, type the following command:
procook /p
This executes the
PROCOOK
utility with the
/p
option, which pauses the utility to allow you
to insert the
DSPpro Boot Disk
. You should see the following message:
Paused:
Insert your boot disk and press any key
5. Remove
the
DSPpro Utility Disk
from the host computer’s disk drive, replace it with the
DSPpro Boot Disk
, and press any key.
PROCOOK
will read the files on the disk and copy
them into the flash memory on the DSPpro.
6. When
PROCOOK
finishes, exit
REMSVR
by typing Alt-X.
7. Restart the DSPpro by pushing the reset button or power-cycling the controller.
8. The DSPpro should boot from flash memory and begin execution of your program (as
specified in the
AUTOEXEC.BAT
file).
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com