
OCD8_MLink
User Manual v1.2.0.1
This document information is the intellectual property of Megawin Technology Co., Ltd page9/12
© Megawin Technology Co., Ltd. 2020 All rights reserved
Step 2. Load File
Load Bin or Hex file to buffer, after clicking “OK”, users need to choose whether to
place it in the AP area (read into the buffer at 0x00) or IAP (users can define any
location to read into the buffer). Clicking “OK” to see update results in Code Buffer.
Users can Load File repeatedly and overlay files on each other. If users execute Load
File repeatedly, the overlapping file will be overwritten by the last file read. If there is
a blank between the read position of the previous and last files, 0xFF will be filled in.
Check “Clear Buffer” in the “Select Insert Area” dialog. After clicking “OK”, all the
Code Buffer will be cleared and then read into the File.
Step 3. Insert ISP-code
If users need to use ISP function, please click “Insert ISP-code” to insert megawin's
standard ISP code, or choose their own developed ISP code. After clicking “OK”, the
AP will automatically place the ISP code in the address corresponding to the Code
Buffer and set the necessary H/W Options setting concurrently.
Step 4. H/W Options
Customers can set OR setting by themselves. For the description of the setting value,
please refer to the “Datasheet”.
Step 5. Update
Click "Update" to execute programming. Before programming, "Whole Chip Erase"
will be executed, including the hardware options before programming, and then the
code and hardware options set this time will be program.