To run this RL-CAN STR71x example on a board, ensure you have:
an MCBSTR7 Evaluation board from Keil
a ULINK® USB Interface Adapter from Keil
a 6 - 9 V power supply.
Copy the example from \Keil\ARM\Boards\Keil\MCBSTR7\RL\CAN\CAN_Ex1 or from \Keil\ARM\Boards\Keil\MCBSTR7\RL\CAN\CAN_Ex2 to any directory you want to use.
Load the project CAN_Ex1.uv2 or CAN_Ex2.uv2 file from the copied directory into µVision® 3 IDE (Project — Open Project...)
Rebuild the executable file from source files. Click on Project — Rebuild all target files on the menu or click on the toolbar button .
Connect the ULINK device to the PC's USB port and to the JTAG Connector on the MCBSTR7 board. Connect a power cord to the barrel plug port on the MCBSTR7 board.
Power-up the MCBSTR7 board.
Click on Flash — Download on the menu to download the executable file to the target MCBSTR7 board.
Rotate the potentiometer and watch the LEDs change state and flash speed according to the position of the potentiometer.