NEC Flash Memory Programmer PG-FP3 инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации NEC Flash Memory Programmer PG-FP3. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции NEC Flash Memory Programmer PG-FP3 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции NEC Flash Memory Programmer PG-FP3 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций NEC Flash Memory Programmer PG-FP3, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции NEC Flash Memory Programmer PG-FP3 должна находится:
- информация относительно технических данных устройства NEC Flash Memory Programmer PG-FP3
- название производителя и год производства оборудования NEC Flash Memory Programmer PG-FP3
- правила обслуживания, настройки и ухода за оборудованием NEC Flash Memory Programmer PG-FP3
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск NEC Flash Memory Programmer PG-FP3 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок NEC Flash Memory Programmer PG-FP3 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта NEC, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания NEC Flash Memory Programmer PG-FP3, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства NEC Flash Memory Programmer PG-FP3, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции NEC Flash Memory Programmer PG-FP3. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    User’s Manual PG-FP3 Flash Memory Programmer 1991 © Printed in Japan Document No. U 13502EJ2V0UM00 (2nd edition) Date Published July 1999 J CP(K) 1998[...]

  • Страница 2

    User's Manual U13502EJ2V0U M00 2 [MEMO][...]

  • Страница 3

    User's Manual U13502EJ2V0U M00 3 SUMMARY OF CONTENTS CHAPTER 1 GENERAL ............................................................................................................. ........................................ 17 CHAPTER 2 CONFIGURATION ................................................................................................[...]

  • Страница 4

    User's Manual U13502EJ2V0U M00 4 EEPROM is a trademark of NEC Corporation. PC/AT is a trademark of International Business Machines Corporation. Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Pentium is a trademark of Intel Corporation in the United Sta[...]

  • Страница 5

    User's Manual U13502EJ2V0U M00 5 • The information in this document is subject to change without notice. Before using this document, please confirm that this is the latest version. • No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Corporation. NEC Corporation assumes[...]

  • Страница 6

    User's Manual U13502EJ2V0U M00 6 Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: • Device availability • Orderi[...]

  • Страница 7

    User's Manual U13502EJ2V0U M00 7 Major Revisions in This Edition Page Descri ption p.18 The sett ing of t he baud rat e and the capac ity f or downl oadi ng t he user program in Table 1-1 hav e been changed. p.19 Figure 2-1 has been c hanged. p.20 Figure 2-2 has been c hanged. p.20 The descript ion of EXPANSION CONNECTOR has been deleted from [...]

  • Страница 8

    User's Manual U13502EJ2V0U M00 8 [MEMO][...]

  • Страница 9

    User's Manual U13502EJ2V0U M00 9 PREFACE Readers of This Manual This manual is intended for user engineers who use the PG-FP3 to design and develop systems with an NEC microcontroller w ith flash memory. Purpose The PG-FP3 enables program s in the N EC microcontroller with flash m emory to be erased, written, or verified with the microcontroll[...]

  • Страница 10

    User's Manual U13502EJ2V0U M00 10 Terminology PG-FP3 ................................... Flash memory programmer FLASHPRO3 ........................... Windows application name of PG-FP3 Target ...................................... NEC m icrocontroller with flash memory or user board on which such a microcontroller is mounted Printer interface[...]

  • Страница 11

    User's Manual U13502EJ2V0U M00 11 CONTENTS CHAPTER 1 GENERAL ............................................................................................................................. 17 CHAPTER 2 CONFIGURATION....................................................................................................... .......... 19 2.1 PRODUCT OR[...]

  • Страница 12

    User's Manual U13502EJ2V0U M00 12 CHAPTER 6 STAND-ALONE FUNCTION ................................................................................................ .6 7 6.1 FUNCTION ..................................................................................................................................................... 67 6.2 OPERATIO[...]

  • Страница 13

    User's Manual U13502EJ2V0U M00 13 LIST OF FIGURES Figure No. Title Page 2-1. PG-FP3 System Organization ................................................................................................. .......................... 19 2-2. PG-FP3 Parts and Names .....................................................................................[...]

  • Страница 14

    User's Manual U13502EJ2V0U M00 14 LIST OF T ABLES Table No. Title Page 1-1. Function Specifications .................................................................................................... .................................. 18 2-1. Items in the PG-FP3 Shipping Carton .................................................................[...]

  • Страница 15

    User's Manual U13502EJ2V0U M00 15 LIST OF PHOTOGRAP HS Photo No. Title Page 2-1. Connections (Host, PG-FP3, and Target)..................................................................................... ..................... 22 2-2. Connecting the Printer Interface Cable (I/F SELECT Switch Set to PRINTER I/F Position) .......................[...]

  • Страница 16

    User's Manual U13502EJ2V0U M00 16 [MEMO][...]

  • Страница 17

    User's M anual U1 3502EJ2V 0U M00 17 CHAPTER 1 GEN ERAL The PG-FP3 is a tool f or erasin g, writing, an d v e rifying progr ams for a n NEC singl e-chip microc ontroller with fla sh memory on a user board or F A adap ter board. ♦ ♦ ♦ ♦ Features • Suppor ts all NEC microcontr ollers with fla sh memory (as of F ebruar y 1999) • Easy [...]

  • Страница 18

    CHAPTER 1 GENERAL User's M anual U1 3502EJ2V 0U M00 18 ♦ ♦ ♦ ♦ Function specif ications T able 1-1. Function Specifi cations Item Spec ification Host i nterface RS-232C: D-SUB 25-pin, 9600, 19200, 38400, or 57600 bps Printer inte rfa ce Note 1 : Half-pitc h 36-pi n conf orming to IEEE 1284-1994 (Supports compati bl e mode and ECP mode.[...]

  • Страница 19

    User's M anual U1 3502EJ2V 0U M00 19 CHAPTER 2 CONFIGURA TION 2.1 PRODUCT ORGANIZA TION The system config urati on of the PG-FP3 is i llustr ated b elow . Figure 2-1. PG-FP3 System O rga nization PG-FP3 H o st ma ch ine Applica tion (F LASH PRO3) User target F A adapter Note Note The F A adapter i s a product of Naito D ensei Mach ida Mfg . Co[...]

  • Страница 20

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 20 2.2 NAMES A ND FUNCTIONS OF P ARTS P ar ts and their names are ill ustr ated bel ow . Figure 2-2. PG-FP3 P ar ts and Names The f o llowing e xplains the fun ctions of t he PG-FP3 par ts: • FG TERMINAL The FG terminal i s a grou nd terminal on t he PG-FP3. If necessary , gro und th[...]

  • Страница 21

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 21 • DC JA CK This is the pow e r supply input jac k of the PG-FP3. T o sup ply pow er to t he PG-FP3, use the A C adapter supplie d as an acce ssor y . • PO WER SWITCH This s witch tur ns po wer t o the PG-FP3 o n or off . Bef ore turning po wer on, ma ke s ure that all required p[...]

  • Страница 22

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 22 2.3 CONNECTIO NS OF P ARTS This secti on e xplains ho w to connect the v arious par ts of the PG-FP3. The PG-FP3 can be use d in tw o wa ys. It can be connected to a host machine and co ntrolled b y applic ation softw are or it can be u sed in stand-alone mode withou t be ing conne [...]

  • Страница 23

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 23 [Connecting a host m achin e] Connectio n of the host int erf ace cable is ill ustr ated below . Select the host int erf ace bef ore tur ning on po wer to the PG-FP3. The select ed host in terf ace cannot be ch anged af ter po wer h as been turned on. • Connectin g the printer int[...]

  • Страница 24

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 24 [Connecting the po wer su ppl y] With the p ow er s witch off , connect the A C adapt er supplie d as an acces sory to the DC ja ck. Photo 2-4. Connecting the A C Adapter [Connecting the t arget] Use th e targ et cabl e su pplied as an accessory t o conne ct the t arget. Whether y o[...]

  • Страница 25

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 25 Photo 2-6. Connecting T a rget Cable to User T ar get F o r the details of interf ace signal connec tions , see Section 7.4 and the m anu al f or the de vice. • When using t he F A adap ter Mak e sure tha t the target V DD sele ct s witch is set to t he OUT p ositio n. Conne ct on[...]

  • Страница 26

    CHAPTER 2 CONFIGURA TION User's M anual U1 3502EJ2V 0U M00 26 Photo 2-8. Connecting T ar get Cable to F A Adapter The f ollowing is an e xample of d irectly conne cting th e F A adapter to the PG-FP3 : Photo 2-9. Directly Connecting F A Adapter to PG-FP3[...]

  • Страница 27

    User's M anual U1 3502EJ2V 0U M00 27 CHAPTER 3 ST A RTING AND ST OPPING This chapter e xplains ho w to in stall, star t, and terminate the appli cation. It also co ntains inf or mation on initi alizat ion and on use of the app licati on. Be sure to re ad this chapter , since it pro vides very impor tant inf ormation about usin g the PG-FP3. U [...]

  • Страница 28

    CHAPTER 3 ST AR TING AND STO PPING User's M anual U1 3502EJ2V 0U M00 28 • Star ting installati on When SETUP .EXE star ts, f ollow the i nstructions b y the setu p prog ram until t he setting screen f or the installation directory is displa yed . T o stop instal lation par twa y , clic k the [Cancel] b utton. Specify t he inst allatio n dire[...]

  • Страница 29

    CHAPTER 3 ST AR TING AND STO PPING User's M anual U1 3502EJ2V 0U M00 29 • Uninstall ing the progr am T o uninstall t he PG-FP3 applicatio n, e xe cute [Add/R emo v e Prog ram s] in [Con trol P anel], and selec t [FLASHPR O3]. Uninstall ation wi ll start, and the file s copie d during ins tallati on will be delet ed. Caution Uninstallation er[...]

  • Страница 30

    CHAPTER 3 ST AR TING AND STO PPING User's M anual U1 3502EJ2V 0U M00 30 3.2 ST ARTING THE A PPLICA TION This secti on e xplains ho w to star t the appli cation progr am. • Connectio n of eac h unit and ap plyi ng po wer F or connection of eac h unit, see Sectio n 2.3 . After complet ing connec tions , turn on pow er to the PG-FP3. When the P[...]

  • Страница 31

    CHAPTER 3 ST AR TING AND STO PPING User's M anual U1 3502EJ2V 0U M00 31 • If FLASHPR O3 does no t start correctly FLASHPR O3 will not st art correctly if t he comm unication settin gs are wro ng or if inst allation h as not b een perf o r med correctly . When FLASHPR O3 star ts, connect ion with t he PG-FP3 is chec ked. If communi cation is [...]

  • Страница 32

    CHAPTE R 3 ST AR TING AND STOPPING User's M anual U1 3502EJ2V 0U M00 32 • FLASHPR O3 screen The FLASHPR O3 s creen consi sts o f three s ubscreens . The operat ion screen contains comm and e xecut ion button s in the f or m of a flow char t so th at y ou can perf or m a series of operatio ns by ref erring to the flow chart. The log wi ndow s[...]

  • Страница 33

    CHAPTER 3 ST AR TING AND STO PPING User's M anual U1 3502EJ2V 0U M00 33 3.3 INITIALIZA TION AND NO TES ON CORR ECT USE Bef o re a target ca n be ac cessed with FLASHPR O3, se vera l settings m ust be per f o rmed f or FLASHPR O3. If these settings are not don e correct ly , communic ation m a y not be e xecute d correct ly or the tar get may b[...]

  • Страница 34

    CHAPTE R 3 ST AR TING AND STOPPING User's M anual U1 3502EJ2V 0U M00 34 • TYPE setting The TYPE setting dialog bo x is used to set information necess ary for comm unication with the target. Def ault inf or mation is set when the par amet er file i s loaded. T o chang e the def ault sett ing, eit her e xecut e the [Setting..T ype] c ommand, o[...]

  • Страница 35

    CHAPTER 3 ST AR TING AND STO PPING User's M anual U1 3502EJ2V 0U M00 35 In the TYPE settin g dialog b o x, de vice-specifi c inf or mation is automatic ally set when the parameter file ha s been loaded, and t he te xt bo x is gra ye d out. The param eters th at can b e chan ged b y the u ser in th is dia log bo x are as f ollows: 1. COMM PORT [...]

  • Страница 36

    CHAPTE R 3 ST AR TING AND STOPPING User's M anual U1 3502EJ2V 0U M00 36 • Option setting The Options dialog bo x is used f or detailed s etting of the targe t and i s displa yed when the [Setting..Opt ion] command i s e xecute d. This dialog bo x is used to set the er ase time , write time, and con vergen ce time. These par ameters are autom[...]

  • Страница 37

    User's M anual U1 3502EJ2V 0U M00 37 CHAPTER 4 BASIC OPERA TING PROCEDURE This chapter e xplains the basic oper ating pro cedure , using as an e xam ple the µ PD78F4216 used as the target. Specificall y , this chapter discusses how to start the sy stem and ho w to write a progr am to the target b y ex ecuting t he E.P .V . command. F or the o[...]

  • Страница 38

    CHAPTER 4 BASIC OPERA TING PROCEDURE User's M anual U1 3502EJ2V 0U M00 38 • T ur n on pow er to the PG-FP3. Confirm that the LED on the PG-FP3 is b linki ng. • Star t FLASHPRO3. If the comm unication error d ialog b o x opens at this tim e, chec k the [Connection P or t] setting and change i f nece ssary . The e xam ple belo w assumes that[...]

  • Страница 39

    CHAPTER 4 BASIC OPERA TING PROCEDURE User's M anual U1 3502EJ2V 0U M00 39 When FLASHPR O3 has been st ar ted correctl y , the f ollowin g screen i s displa ye d.[...]

  • Страница 40

    CHAPTER 4 BASIC OPERA TING PROCEDURE User's M anual U1 3502EJ2V 0U M00 40 (2) Loading the paramet er file Select [De vice] from the [Setting] pull-do wn menu. The dialog b o x for load ing a param eter file will open. Enter 78F4216.PR C in the bo x for D e vice file name: and clic k the [O K] b utton. When the par ameter file is read , th e PG[...]

  • Страница 41

    CHAPTER 4 BASIC OPERA TING PROCEDURE User's M anual U1 3502EJ2V 0U M00 41 (3) TYPE setting Open the TYPE s etting windo w b y selecting [ T ype] from the [Setti ng] pull-do wn menu, or b y clic king the button on the o per ation screen. When t he wi ndow is open, set COM M P or t to U AR T CH-0, and U AR T bps to 9600 bps . Then clic k the [OK[...]

  • Страница 42

    CHAPTER 4 BASIC OPERA TING PROCEDURE User's M anual U1 3502EJ2V 0U M00 42 (4) Downloading a user pr ogram Open the di alog bo x b y either s electin g [Load File] from the [File] pull-do wn menu or cli c king the button on the o per ation screen. Select a HEX f ile to b e dow nloade d, and l oad the f ile int o FLASHPR O3. When the file ha s b[...]

  • Страница 43

    CHAPTER 4 BASIC OPERA TING PROCEDURE User's M anual U1 3502EJ2V 0U M00 43 (5) Executing the E.P . V . command The E.P .V . command c an be e xe cuted b y sel ecting [E.P .V .] from the [Proce dure] pull-do wn menu , or by clic king th e b utton on t he oper ation screen. While the E.P .V . command is e x ecuted , the pro gres s of e xec ution [...]

  • Страница 44

    User's M anual U1 3502EJ2V 0U M00 44 [MEMO][...]

  • Страница 45

    User's M anual U1 3502EJ2V 0U M00 45 CHAPTER 5 COMM AND REFEREN CE This chapter e xplains each com mand . A comm and can be sele cted from th e pull-down m enu on the men u bar or by c lic king the corres ponding b utton on the sc reen. 5.1 File When [Fil e] is cli c ked, the pul l-dow n menu show n below is displa yed. This men u li sts mostl[...]

  • Страница 46

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 46 5.1.2 Sa ve File The [Sa v e File] command sa ves the us er prog ram loaded int o FLASHPR O3 or uploaded from the PG-FP3 to a file . Ex ecute this command b y selecti ng it from the pu ll-do wn men u or b y pressing the butto n. When this comm and has been e xe cuted, t he windo[...]

  • Страница 47

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 47 5.1.3 Load T ype The [Load T ype] comm and relo ads the file (x xxxxx.TYP) i n which the inf or mation s et with [Sett ing] has been sa ved when resett ing is r equired. When the T ype File is load ed again , the pr e viously used en vironment is re stored. Ex ecute th e [Load T[...]

  • Страница 48

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 48 5.1.4 Sa ve T ype The [Sa v e T ype] command sa v es inf or mation set wit h [Setting] to a fi le (xx xxxx.TYP), so that t he in f or mation can b e reloaded wh en reset ting i s require d. When T ype File is sa ved, the pre viously used en vironm ent ca n be rest ored at an y t[...]

  • Страница 49

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 49 5.2 Setting When [Setti ng] is clic k ed, the pull-d own m enu sho wn belo w is displa yed. This men u lists the com mands t hat are used to set t he FLASH PR O3 oper ating en vironment (su ch as sett ing of t he target interf ace). 5.2.1 De vice The [De vice] comm and loads inf[...]

  • Страница 50

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 50 5.2.2 T ype The [T ype] command s ets the mo de of com m unicat ion with t he target and oper atin g cloc k. Because the comm unicatio n mode and oper atin g cloc k diff er depen ding on the de vice use d, ref er to the manual f or the devi ce f or details . E x ecute th e [T yp[...]

  • Страница 51

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 51 • Entering the end addr ess (END ADDRESS) The end address is deter mined b y the param eter d efinitio n inf or mation. It is autom aticall y set in th e Bloc k and Area modes . Remark The e nd a ddress r ange that can be spec ified with the PG -FP3 i s 2 Mb ytes ( 1FFFFFH). T[...]

  • Страница 52

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 52 • Entering a cloc k frequency in 3-w ire or pseu do 3-wire m ode (SIO CLO CK) If 3-wire or p seudo 3-w ire mode is sele cted with t he serial port, enter a comm unicatio n rate as a decim al number . The va lid r ange f or comm unication rat es is fr om 100 H z to 2.00 00 MHz.[...]

  • Страница 53

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 53 • Selecting a tr ansmission cloc k frequency fr om the PG-FP3 (Fl ashpr o cloc k) If [In F l ashpro] ha s been select ed wh en a CPU cloc k sour ce is being e ntered, s elect t he clo ck t he PG-FP3 transmit s from the freque ncies listed belo w . D iff erent de vices p ro vid[...]

  • Страница 54

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 54 • AREA setting r ange In area mode , set an area r ange . In t his mode , the [Bloc k/Area] button at the right of the TYPE se tting screen becomes acti ve . When thi s b utton i s cli ck ed, the dialog bo x below op ens . Enter the area r ange to be used and clic k the [O K] [...]

  • Страница 55

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 55 5.2.4 Option [Option] set s detai led co ndition s f or each de vice, su ch as eras e time, write time , and con v ergence tim e. These conditions are set t o the def ault value s when th e par ameter f ile is loaded. Unless otherw ise specifi ed, use the def ault val ues . If i[...]

  • Страница 56

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 56 5.2.6 Connect ion P ort The [Co nnectio n P or t] comm and sets a por t f or comm unication with the PG-FP3. This command is use d to ch ange the baud r ate or comm unicati on port of the host when RS-232C is u sed. Clic k [Connect ion P or t] on the [Setting] pull-do wn menu to[...]

  • Страница 57

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 57 5.3 Pr oc edure When [Proce dure] i s clic ked, the p ull-dow n m enu show n below is dis pla yed. This menu li sts command s that manipulate t he target b y er asing, progr amming, or v erifying t he tar get. 5.3.1 Do wnload HEX [Downlo ad HEX] do wnload s the u ser progr am l [...]

  • Страница 58

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 58 5.3.2 Erase [Erase] erases the f lash m emory . Use this comm and to k eep th e de vice with the flash mem ory erased. T o progr am the flash m emory erased b y this comm and, use the [Prog ram ] comm and. A de vice that has be en just deliv ered to y ou is bl ank an d can be pr[...]

  • Страница 59

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 59 5.3.3 Pr ogram The [Prog r am] com mand writes the data se nt from t he writer int o the fl ash memory . Then , the com mand v erifies whether the writ e le vel is se cured. Use this command w hen wr iting a deli v ered d e vice f or the f irst tim e or when w riting a microcont[...]

  • Страница 60

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 60 The v erification is made i n either of th e f ollowing tw o m ethods. The PG-FP3 automatical ly e xecute s the verif ication in the met hod that m atche s the tar get de vice . <1> Re-sends the written data fr om the PG-FP3 and v erifies the data written in the fl ash m e[...]

  • Страница 61

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 61 5.3.4 V erify The [V erify] comm and sends th e written d ata from the PG-FP3 and v eri fies the data written in the flash memory against t he sent data. This comm and doe s not chec k the write le vel. Use this command to che c k whether data comm unication betwee n the PG-FP3 [...]

  • Страница 62

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 62 5.3.5 E.P .V . The [E.P .V .] command mak es a b lank che c k. If th e result i s OK, the [Progr am] com mand is e x ecuted. If the chec k finds an error , the [Era se] comm and and [Prog ram ] comm and are e xec uted in t hat order . When writing a de liv ered de vice f or a se[...]

  • Страница 63

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 63 Figure 5-2. Mode Screens (a) Block M ode Screen (b) Area Mode S creen[...]

  • Страница 64

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 64 NP26 *** SIGNA TURE *** V endor code = 10H ID code = 7FH Electrical Inf . = 41H Last Addre ss = 000F FFH De vice name = D75F4264 NP2D Signature EN D 5.4 Other When [Other] i s cli ck ed, the pull-do wn menu sh own below is di spla yed. This men u most ly lists anc illary functio[...]

  • Страница 65

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 65 5.4.3 Dump HEX [Dump HEX] upload s the user pr ogr am st ored on t he PG-FP3 to FLASH PR O3 (host side). The uploaded da ta can be chec ked b y using the [Edit] com mand . Ex ecute th is com mand b y selecting [Dump HEX] fr om the [Other] pull-do w n menu or b y clic king the bu[...]

  • Страница 66

    CHAPTER 5 COMMAND REFE RENCE User's M anual U1 3502EJ2V 0U M00 66 5.4.4 Suppl y Status The [Supply Stat us] command ch ec ks the st atus of the targe t pow er supply (V DD ). Whe n this command is e x ecuted, the statu s of the target i s displa yed in the log wind ow . Ex ecute th is com mand b y selecting [Suppl y Status] from the [O ther] p[...]

  • Страница 67

    User's M anual U1 3502EJ2V 0U M00 67 CHAPTER 6 ST A ND-ALONE FUNCTION The stand- alone functio n er ases , prog ram s , or v erifies dat a with the PG-FP3 alone , without the use of a ho st. Thi s function is used o n a produ ction line when the application system is mass-pr oduced, or used t o upgrade a cust omer’ s ver si o n . 6.1 FUNCTIO[...]

  • Страница 68

    CHAPTER 6 ST AND-ALONE FUNCTION User's M anual U1 3502EJ2V 0U M00 68 6.2 OPER A TION The PG-FP3 can e xecute t he E.P .V ., ERASE, PR OGRAM , VERIFY , and PRO M Load commands in the stand-alo ne mode. For processing and u sing th e comm ands , see Chapter 5 . In standa lone mode , it is not nec essary to conne ct to a h ost. How e ver , a par [...]

  • Страница 69

    User's M anual U1 3502EJ2V 0U M00 69 CHAPTER 7 HARDW ARE SPECIFICA TIONS 7.1 PRODUCT CONFIGURA TION A ND OPERA TING EN VIRONMENT T able 7-1. Product Configuration and Operating En vir onment Item Spec ification Power supply Note 9. 0 V, 2.0 A (AC adapter i nput, plug: 5.5 DIA, cent er: "+") Power consumpti on Maximum val ue: Approx. [...]

  • Страница 70

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 70 7.2 MAST ER ROM SOCK ET SP ECIFICA TION S • Usage Mount the m aster R OM, which dow nload s the user pr ogr am, in the 32-pin soc ket on the to p of the PG-FP3. Photo 7-1. Mounting the M aster R OM Mount the PR OM to which a pro gr am has been written in the mast er [...]

  • Страница 71

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 71 [Operation fr om PG-FP3] Mount the PR OM in the master R OM sock et of the PG-FP3. Photo 7-2. Mounting the PR OM in the Master R OM Soc ket Press the MO DE k e y . Make sure that only th e Load LED lights (Load m ode). In Load mode , press the ENTER k ey . The [PR OM L[...]

  • Страница 72

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 72 • Suppor ted R OM specific ations Only an EPR OM with 32 or f ewer pin s and t he pin conf iguration s hown belo w can be used as the master R OM. When the mas ter R OM is accessed, the sig nature of the PR OM is read to c hec k whether the PR OM is supported. If t h[...]

  • Страница 73

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 73 7.3 HOST INT ERF A C E There are tw o types of host interf aces: the RS-232C i nterf ace and the printer inter f ace. Select either using t he I/F SELECT s witch. When the PG -FP3 is started, the softw are identifies the s witch setting. Note that on ce an i nterf ace [...]

  • Страница 74

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 74 [Pin lay out] Pin IN/OUT Compatibl e mode ECP mode 1 OUT Busy Perip hAck 2 OUT Select Xflag 3 OUT Nack P eriphClk 4 OUT Nfault nPeriphRequest 5 OUT PErro r nAckR ever se 6 IN/OUT Data 1 (Least Significant B it) 7 IN/OUT Data 2 8 IN/OUT Data 3 9 IN/OUT Data 4 10 IN/OU T[...]

  • Страница 75

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 75 [Cable sp ecification s] Item Specificat ion Connection Recommended cable PC/AT o r co mpa tible machi ne, PC98-NX cable PG-FP3 side connector : Half-pitch 36-pin (plug) Host s ide connect or : D-SUB 25-pin (plug) D-SUB Half pitc h Plug 25-pin Plug 36-pin 1 --- 15 2 --[...]

  • Страница 76

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 76 Item Specificat ion Connection Recommended cable PC-9800 cable PG-FP3 side connector : Half-pitch 36-pin (plug) Host s ide connect or : Half-pitch 36-pin (plug) Plug 36-pin Plug 36-pin 1 --- 1 2 --- 2 3 --- 3 4 --- 4 5 --- 5 6 --- 6 7 --- 7 8 --- 8 9 --- 9 10 --- 10 11[...]

  • Страница 77

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 77 7.3.2 RS-232C I nterface Specificat ions The specifi cations of the RS- 232C interf ace are as f ollow s: T able 7-4. RS-232C Interface Sp ecification s Item Spec ification Interf ace connect or D-SUB 25-pin (rec eptacle) standard: RDEF-9S-LNA, m anuf acturer: Hirose C[...]

  • Страница 78

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 78 [Pin lay out] Pin Signal name IN/OUT Specificat i on 1G N D − Common signal li ne 2 RxD IN Serial data input 3 TxD OUT Serial dat a output 4 CS IN Data c ontrol signal i nput 5 RS OUT Data control signal output 6 DSR OUT Data control signal output (not used) 7G N D ?[...]

  • Страница 79

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 79 [Cable sp ecification s] Item Specificat ion Connecti on PC/AT o r co mpa tible machi ne, PC98-NX c able PG-FP3 side connector : D-SUB 25-pin (plug) Host s ide connect or : D-SUB 9-pin (receptacl e) Connection : Straight D-SUB D-SUB 25-pin 9-pin 2 − 3 3 − 2 4 − 7[...]

  • Страница 80

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 80 7.4 T ARGET INTERF A CE SP ECIFICA TIONS The target interf ace has signals su ch as GND , SI, SO, SCK, CLK, _RESET , V DD , V PP , and H S . These signa ls are used to con nect the target. F or the inf or mation on th e required signal l ines , ref er to the user'[...]

  • Страница 81

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 81 7.4.1 Interface Spe cifications Use the target i nterf ace connector to interf ace with the target. Bear in mind t he f ollowing points w hen connecting the target a nd desi gning t he target board. • Supply v oltage and oper ating cloc k of target Basically , supply[...]

  • Страница 82

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 82 • PG-FP3 pins not wire d K eep in mind the f ollow ing point s : • Open the CLK s ignal o f the PG-FP3 to suppl y a cloc k to the microco ntroller fr om the target . • Open the SC K signal w hen us ing a U AR T . • Open the SO signal w hen using IIC . • Open [...]

  • Страница 83

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 83 [Cable sp ecification s] T wo type s of target interf ace cab les (IC clip ty pe (TYPE 1) and c onnector ty pe (TYPE 2)) are supplied. Use the appropriate ca ble f or the sit uation. If the suppli ed cab les cannot be used becau se o f th e spec ifications of the t arg[...]

  • Страница 84

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 84 7.4.2 Equiv alent Circuit and Load Co ndition The interf ace equiv alent circu it betw een the PG -FP3 and the target and the lo ad cond ition t hat must be satisfied b y the target are as f ollow s: • SI I/O pin V DD V DD Compar ator 74LS07 470 Ω 200 Ω SI • SO[...]

  • Страница 85

    CHAPTER 7 HARDW ARE SPE CI FICA TIO NS User's M anual U1 3502EJ2V 0U M00 85 • SCK I/O pin V DD V DD Compar ator 470 Ω 200 Ω 74LS07 SCK • HS input pin V DD V DD 470 Ω 200 Ω Compar ator HS • T arget load con dition V DD 100 pF m ax. 2.4 k Ω min. CLK: 100 pF max., SCK : 470 p F max . SI, SO, _RESET SCK, CLK[...]

  • Страница 86

    User's M anual U1 3502EJ2V 0U M00 86 [MEMO][...]

  • Страница 87

    User's M anual U1 3502EJ2V 0U M00 87 CHAPTER 8 ER ROR MESSA GE S AND REM EDIAL A CTIONS Error No. Message Cause/act i on Cause Input of wrong command ER01 Il legal command. Action E nter the c orrect c ommand. Cause Input of wrong parameter during c ommand input ER02 Il l egal param eter. Action E nt er the correct parameter. Cause Incorrect i[...]

  • Страница 88

    CHAPTER 8 ERROR MESSA GES AND REMEDIAL A CTIONS User's M anual U1 3502EJ2V 0U M00 88 Error No. Message Cause/act i on Cause An incorrect E CC address was ent ered. ER11 E CC address error. Action Chec k the entered ECC address and reex ecute. Cause The target microc ontroll er is not blank. ER12 Bl ank c heck.. Failed Action E rase the t arget[...]

  • Страница 89

    CHAPTER 8 ERROR MESSA GES AND REMEDIAL A CTIONS User's M anual U1 3502EJ2V 0U M00 89 Error No. Message Cause/act i on Cause The data stored in flas h memory cannot be read. ER24 Cannot get TYPE data. Action The int ernal flash memory in the PG-FP3 may have been destroyed. Cause An overrun error was detected during comm unication with t he host[...]

  • Страница 90

    CHAPTER 8 ERROR MESSA GES AND REMEDIAL A CTIONS User's M anual U1 3502EJ2V 0U M00 90 Error No. Message Cause/act i on Cause IIC communicat i on error ER3D IIC READ error. ( ACK) Action Chec k the target microc ontroller. Cause The area set with TYPE sett i ng does not exist. ER3E Illegal select A REA. Action Chec k the area inform ati on i n t[...]

  • Страница 91

    User's M anual U1 3502EJ2V 0U M00 91 APPENDIX A NO TE S ON DESIGNING A T ARGET Design a b oard us ing a flash micro control ler if y ou w ant to study t he possib ility o f on-boar d wr iting. • Pin processing The target ma y ha v e pins that require speci al proce ssing when the m ode is c hanged f rom normal opera ting mode to flas h memor[...]

  • Страница 92

    APPEND IX A NO TES O N DE SIGN ING A T AR GET User's M anual U1 3502EJ2V 0U M00 92 Figure A-2. Interface Cir cuit Example f or SIO V CC V CC JUMPER User reset circuit V CC V CC V CC R 10K R 10K R 10K R 10K CON FAP-1008#2 Microcontroller IC Y C C 6 7 8 9 10 RESET V DD V PP HS NC GND SI SO SCK CLK 1 2 3 4 5 SO X1 X2 SI SCK V PP V DD V SS RESET[...]

  • Страница 93

    User's M anual U1 3502EJ2V 0U M00 93 APPENDIX B REVISION HI ST OR Y The re vis ion his tory of this manu al is l isted b elo w . The appl icab le chapter column indi cates the chapters in t he co r res pon d ing edi tio n . Edition Description Applic able chapter The setting of the baud rate in the RS-232C interface specific ations and the cap[...]

  • Страница 94

    User's M anual U1 3502EJ2V 0U M00 94 [MEMO][...]

  • Страница 95

    Although NEC has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that errors may occur. Despite all the care and precautions we've taken, you may encounter problems in the documentation. Please complete this form whenever you' d like to report erro[...]