Holtek Semiconductor Inc. Project Name Holtek Writer Q&A Update Date 2013-11-07 Author Version 1.00 Page 1/6 Holtek Writer Q&A C CHECK THE FOLLOWING QUESTIONS WHEN ENCOUNTERING PROGRAMMING PROBLEMS: .........................................................................................................2 1 WHETHER THE PRESENT USB LINE IS THE ORIGINAL HOLTEK LINE........................................................................................... 2 2 WHETHER THE PRESENT HOPE3000 IS THE LATEST VERSION.................................................................................................... 2 3 WHETHER THE PRESENT WRITER FIRMWARE IS THE LATEST VERSION........................................................................................ 2 4 WHETHER THE IC’S PIN 1 IS LOCATED IN THE CORRECT POSITION............................................................................................. 3 5 USE A MULTI-METER TO MEASURE IF ALL THE WRITER LINES ARE CONNECTED PROPERLY.................................. 3 HOLTEK E-WRITERPRO FREQUENTLY ASKED QUESTIONS: .......................................3 1 Q WHICH E-WRITERPRO LINES ARE USED FOR ICP - IN-CIRCUIT PROGRAMMING ................................................................. 3 2 Q THE ORIGINAL ICP CAN PROGRAM SUCCESSFULLY USING THE E-WRITER PLUS, BUT CANNOT PROGRAM WITH THE E-WRITERPRO ...................................................................................................................................................................................... 4 3 Q WHAT IS THE DIFFERENCE BETWEEN “CHECKSUM” AND “CHECKCODE” IN THE HOPE3000........................................... 5 4 Q BLANK CHECK IS OK USING THE HOPE3000 BUT THE READ OPTION HAS A VALUE. ......................................................... 5 5 Q PROGRAMMING TIP “THE SELECTED IC PACKAGE IS NOT MATCHING WITH THE E-SOCKET”.............................................. 6 6 Q PROGRAMMING TIP “THE HIRC CALIBRATION HAS FAILED” ............................................................................................... 6 7 Q THE DIFFERENCE BETWEEN A TYPE SOCKET AND C TYPE SOCKET ..................................................................................... 7 8 Q HOW THE E-W RITERPRO CONNECTS WITH THE “W RITER DEVICE” .................................................................................... 7 Holtek Semiconductor Inc. Project Name Holtek Writer Q&A Update Date 2013-11-07 Author Version 1.00 Page 2/6 Check the following questions when encountering programming problems: 1 Whether the used USB line is the original Holtek line. Ensure that the presently used USB line is the original Holtek line. The total power consumption of the e-WriterPro is about 200mA. When In Circuit Programming is used, it requires additional power. Therefore if using a lower-quality USB line, this may cause power related problems due to its internal high resistance. In such cases the Writer need to be restarted or the programming will fail. The original USB line is illustrated by the following figure: Fig.1 2 Whether the used HOPE3000 is the latest version. The software website: http://www.holtek.com.tw/chinese/tech/tool/tool.htm#HOPE3000, the version is shown by the following figure: Fig.2 3 Whether the used writer firmware is the latest version. Download the latest HOPE3000 and then install. If the following screen appears, then update with the latest firmware version using the suggested steps. Fig.3 Holtek Semiconductor Inc. Project Name Holtek Writer Q&A Update Date 2013-11-07 Author Version 1.00 Page 3/6 4 Whether the IC’s Pin 1 is located in the correct position. The position shown by the red arrow is the Pin 1 position. If Pin 1 is in the wrong position the writer will not work properly. Fig.4 5 Use a multi-meter to measure whether all the writer lines are connected properly. If using the ICP method for programming, ensure that the lines are connected properly, otherwise the programming will fail. 1 Holtek e-WriterPro Frequently Asked Questions: Q Which e-WriterPro lines are used for ICP - In-Circuit Programming A Flash type MCU options: ICP (e-CON12C) and ICP (e-CON12A), the difference can be described as follows: a. The ICP (e-CON12C) interface is illustrated by the following figure (without an e-socket, it is recommended to use this method). Fig.5 b. The ICP (e-CON12A) interface is illustrated by the following figure (if it requires an e-socket, it is not recommended to use this method). Fig.6 Holtek Semiconductor Inc. Project Name Holtek Writer Q&A B Update Date 2013-11-07 Author Version 1.00 Page 4/6 OTP type MCU option: ICP (e-CON12B), the interface is illustrated by the following figure. Fig.7 The programming signal appears on the CN1 interface in the following fixed sequence during ICP programming. But programming a different series of MCU has different number of signal lines, therefore consult the following websites for details: http://www.holtek.com.cn/China/tech/tool/MainPage2.aspx?L=CN http://www.holtek.com/english/literature/Holtek_MCU_In-Circuit_Programming_ Guidelines.pdf 2 Q Fig.8 The original ICP can program successfully using the e-Writer Plus but cannot program with the e-WriterPro. A During ICP, it will fail due to long lead lines or due to low quality line material. Shorten the lead line (less than 15cm) and connect a 220pF capacitor between the CLK pin and GND (locate the capacitor as close a possible to the IC). Holtek Semiconductor Inc. Project Name Holtek Writer Q&A 3 Update Date 2013-11-07 Author Version 1.00 Page 5/6 Q The difference between “CheckSum” and “CheckCode” in the HOPE3000 A CheckSum: This is the sum of all data in the programming file, but this method has certain shortcomings, as the following screen picture shows. If the two highlighted data positions are exchanged, the file content is obviously different however the checksum will remain the same. CheckCode: In order to resolve this checksum problem, using the CRC-16 algorithm can recognise data exchange. Fig.9 Fig.10 4 Q A Blank Check is OK using the HOPE3000 but the read option has a value. As shown in the following figure, the option value is the manufacturing value, so it will not be added to the checksum, but with a blank IC display during blank check. Fig.11 Holtek Semiconductor Inc. Project Name Holtek Writer Q&A 5 Update Date 2013-11-07 Author Version 1.00 Page 6/6 Q Programming tip “the selected IC package is not matching with the e-Socket” A An IC that has different package types uses different sockets for programming. If the wrong IC package is selected, the writer will report errors. With a DIP package for example, if an SOP package is selected, then the writer will report that the package is not matched with the e-Socket. 6 Q Fig.12 Programming tip “the HIRC calibration has failed” A Firstly, confirm whether the IC has already been programmed and confirm the chosen frequency & voltage are same as in the previous programming process. Secondly, confirm that the programmed file has been generated by the IDE-3000, rather than being just read out from the programmed IC. Thirdly, confirm whether the data lines have been connected properly. Fig.13 Holtek Semiconductor Inc. Project Name Holtek Writer Q&A 7 Update Date 2013-11-07 Author Version 1.00 Page 7/6 Q The difference between A type socket and C type socket A As shown in the following figure, in order to improve programming reliability, a 220pF capacitor is located at each programming pin for the C type socket. Consult the website for relevant information: http://www.holtek.com.cn/China/tech/tool/e-Socket.htm 8 Fig.14 Q How the e-WriterPro connects with the “Writer Device” A The CN2 connector on the e-WriterPro is used to connect to the writer. The details of the interface are as follows: The red area pins are used for the mainstream writers. Fig.15 Table 1