|
MC81F4104 Datasheet, PDF (101/118 Pages) Finechips – ABOV SEMICONDUCTOR | |||
|
◁ |
MC81F4104
23. IN SYSTEM PROGRAMMING
23.1 Getting Started
The In-System Programming (ISP) is an ability to program the code into the MCU while it is installed
in a complete system.
USB_SIO_ISP uses both USB to communicate with PC and SIO to communicate with MCU. That is
why we call it as âUSB_SIO_ISPâ. In fact there are another ISP types. So remember that all
MC81F4xxx series use âUSB_SIO_ISPâ.
Here is a procedure to use ISP.
1. Power off the target system.
If you use the RESET/Vpp pin as an output mode, power on timing is very important.
So you must read âEntering ISP mode at power on timeâ and strictly obey the procedure.
2. Install the USB_SIO_ISP software. (It is required at only first time)
1) Download the ISP software from http://www.abov.co.kr
2) Unzip the downloaded file and connect the USB_SIO_ISP board.
3) Install the driver for USB_SIO_ISP. (There is a driver file in the zip file.)
3. Make sure the hardware condition is satisfied. And connect the ISP cable.
See â23.3 Hardware Conditions to Enter the ISP Modeâ page 104,
4. Run the software and select a device.
All commands are enabled after select the device.
5. Power on the target system.
If you use the RESET/Vpp pin as an input mode, power on timing is not that important.
But make sure the power is turned-on before execute the ISP commands.
6. Execute ISP commands as you want.
If you want to write a code into your MCU, it is recommendable to do following step.
âLoad Fileâ -> âAutoâ( while âAuto Option Writeâ and âAuto Show Optionâ options are
enabled ).
After finish an ISP command is executed, the MCU enters to normal operation mode automatically. So
you can see the system is working right after the ISP command is finished. ( âAutoâ is assumed as one
commandâ)
In fact, it is possible to repeat the step-6 until the hardware condition is changed. But in case of
RESET/Vpp pin is used as an output mode, do not repeat step-6. In that case, you must follow the
procedure. See âEntering ISP mode at power on timeâ for more information.
After you change the âRom Optionâ, you must do power-off and power-on to reflect the changed âRom
Optionâ, even you can repeat the step-6 and see the changed codeâs operation without doing it. The
MCU reads the âRom optionâ when only the âpower on reset timeâ.
October 19, 2009 Ver.1.35
101
|
▷ |