phyCORE-ADuC812 QuickStart Instructions
46
© PHYTEC Meßtechnik GmbH 2002 L-462e_2
3.7
Downloading the Output File
•
Exit Keil
µ
Vision2.
•
Reset the target hardware and force it into Flash programming
mode by simultaneously pressing the Reset (S2) and Boot (S1)
buttons on the phyCORE Development Board LD 5V and then
releasing first the Reset and, two or three seconds later, the Boot
button.
•
Start FlashTools98.
•
At the Communication Setup tab of the FlashTools98 tabsheet,
specify the proper serial port and transmission speed (9.600 Baud)
for communication between host-PC and target hardware and click
the Connect button to establish connection to the target hardware.
•
Returning to the FlashTools98 tabsheet, choose the Bank Utilities
tab, highlight Bank #1 within the Bank Erase section, and click on
the Erase Bank(s) button to erase this memory bank.
•
Wait until the status check in the lower left corner of the
FlashTools98 tabsheet finishes, returning the connection
properties description to the lower left corner of the window.
•
Next choose the File Download tab and click on the File Open
button.
•
Browse to the correct drive and path for the phyCORE-ADuC812
Demo folder (default location
C:\PHYBasic\pC-ADuC812\Demos\Keil\Blinky2\Blinky2.hex
and click Open.
•
Click on the Download button and view the download procedure
in the status window.
•
Returning to the Communication tab, click on the Disconnect
button and exit FlashTools98.
•
Press the Reset button (S2) on the Development Board.
If the modified hexfile properly executes, the LED should now flash
in a different mode with different on and off durations.
You have now modified source code, recompiled the code, created a
modified downloadable hexfile, and successfully executed this
modified code.