Debugging
© PHYTEC Meßtechnik GmbH 2002 L-586e_2
73
4.8
Changing Target Settings for the "Final Version"
After successfully debugging the program, next change the target
settings in order to create an Intel hexfile. This can then be
downloaded to the Flash memory of the phyCORE-P87C591.
•
Open the Options|Target menu and select the Harvard
architecture as shown below:
•
Click on OK to save this setting.
•
Open the Options|Project|RC51 menu and choose Defines. Delete
the MONITOR51 define in the Defines input field. This will
include various printf statements in the application program that
can be viewed with a terminal emulation program. Use of the
printf statements is now possible because the serial interface is no
longer required for other communication tasks.
•
Click on OK to save this setting.
•
Open the Options|Project\LX51 menu and choose Linker.
•
Enable the Generate an Intel Hex file checkbox.
•
In the Options|Project\LX51 menu disable the checkbox ROM-
Monitor.
•
The linker/locator options are now suitable for the Debug project,
enabling you to build an absolute object file (*.aof) and a hexfile.
•
Click on the ‘Make All’ Command
icon
from the RIDE
toolbar or open the Project menu and select Build All or Make All.
Summary of Contents for phyCORE-P87C591
Page 14: ...phyCORE P87C591 QuickStart Instructions 10 PHYTEC Me technik GmbH 2002 L 586e_2...
Page 36: ...phyCORE P87C591 QuickStart Instructions 32 PHYTEC Me technik GmbH 2002 L 586e_2...
Page 52: ...phyCORE P87C591 QuickStart Instructions 48 PHYTEC Me technik GmbH 2002 L 586e_2...
Page 84: ...Published by PHYTEC Me technik GmbH 2002 Ordering No L 586e_2 Printed in Germany...