-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
rx_prog.conf
619 lines (562 loc) · 12.5 KB
/
rx_prog.conf
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
# -*- tab-width : 4 -*-
#======================================================================
#
# rx_prog configuration
#
# @author 平松邦仁 (hira@rvf-rc45.net)
# @copyright Copyright (C) 2016, 2024 Kunihito Hiramatsu @n
# Released under the MIT license @n
# https://github.com/hirakuni45/RX/blob/master/LICENSE
#
#=======================================================================
[DEFAULT]
# 標準のプログラマー
programmer = Generic
# 標準のデバイス
#device =
# 標準のシリアルポート、プラットホーム依存ポート名
# Standard serial port, platform dependent port name
# port_win, port_osx, port_linux は、プラットホーム別に認識し、port より優先されます。
# port_win, port_osx and port_linux are recognized by platform and take precedence over port.
#port = /dev/ttyS10
#port = COM12
port_win = COM5
port_osx = /dev/tty.usbserial-DA00X2QP
port_linux = /dev/ttyUSB0
# 標準のシリアル・スピード、プラットホーム依存スピード
# Standard serial port, platform dependent port name
# speed_win, speed_osx, speed_linux は、プラットホーム別に認識し、speed より優先されます。
# speed_win, speed_osx and speed_linux are recognized by platform and take precedence over speed.
# ※設定できる最大速度は、プラットホームにより異なります。
# ※The maximum speed that can be set varies depending on the platform.
#speed = 230400
speed_win = 230400
# speed_win = 115200
speed_osx = 230400
speed_linux = 230400
# erase-page command wait [uS]
erase_page_wait = 2000
# write-page command wait [uS]
write_page_wait = 5000
# 標準の入力ファイル
#file =
# 標準の ID ファイル、又は、ID フレーム
#id-file =
#id = FF:FF:FF:FF:FF:FF:FF
[PROGRAMMER]
# 標準のプログラミング方法(シリアル・インターフェース)
Generic {
comment = "Generic Serial I/F (USB-Serial)"
}
[DEVICE]
R5F513T3 {
group = "RX13T"
rom = 64K
data = 4K
ram = 12K
comment = "; RX13T Flash:64K DataFlash:4K RAM:12K"
rom-area = FFFF0000,FFFFFFFF
data-area = 00100000,00100FFF
ram-area = 00000000,00002FFF
}
R5F513T5 {
group = "RX13T"
rom = 128K
data = 4K
ram = 12K
comment = "; RX13T Flash:128K DataFlash:4K RAM:12K"
rom-area = FFFE0000,FFFFFFFF
data-area = 00100000,00100FFF
ram-area = 00000000,00002FFF
}
R5F51403 {
group = "RX140"
clock = 1200
rom = 64K
data = 4K
ram = 16K
comment = "; RX140 Flash:64K DataFlash:4K RAM:16K"
rom-area = FFFF0000,FFFFFFFF
data-area = 00100000,00100FFF
ram-area = 00000000,00003FFF
}
R5F51405 {
group = "RX140"
clock = 1200
rom = 128K
data = 8K
ram = 32K
comment = "; RX140 Flash:128K DataFlash:8K RAM:32K"
rom-area = FFFE0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00007FFF
}
R5F51406 {
group = "RX140"
clock = 1200
rom = 256K
data = 8K
ram = 64K
comment = "; RX140 Flash:256K DataFlash:8K RAM:64K"
rom-area = FFFC0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0000FFFF
}
R5F52206 {
group = "RX220"
clock = 3200
divide_sys = 1
divide_ext = 1
rom = 256K
data = 8K
ram = 16K
comment = "; RX220 Flash:256K DataFlash:8K RAM:16K"
rom-area = FFFC0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00003FFF
}
R5F52315 {
group = "RX231"
clock = 1200
rom = 128K
data = 8K
ram = 32K
comment = "; RX231 Flash:128K DataFlash:8K RAM:32K"
rom-area = FFFE0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0000FFFF
}
R5F52316 {
group = "RX231"
clock = 1200
rom = 256K
data = 8K
ram = 32K
comment = "; RX231 Flash:256K DataFlash:8K RAM:32K"
rom-area = FFFC0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00007FFF
}
R5F52317 {
group = "RX231"
clock = 1200
rom = 384K
data = 8K
ram = 64K
comment = "; RX231 Flash:384K DataFlash:8K RAM:64K"
rom-area = FFFA0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0000FFFF
}
R5F52318 {
group = "RX231"
clock = 1200
rom = 512K
data = 8K
ram = 64K
comment = "; RX231 Flash:512K DataFlash:8K RAM:64K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0000FFFF
}
R5F524T8 {
group = "RX24T"
rom = 128K
data = 8K
ram = 16K
comment = "; RX24T Flash:128K DataFlash:8K RAM:16K"
rom-area = FFFE0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00003FFF
}
R5F524TA {
group = "RX24T"
rom = 256K
data = 8K
ram = 16K
comment = "; RX24T Flash:256K DataFlash:8K RAM:16K"
rom-area = FFFC0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00003FFF
}
R5F524UB {
group = "RX24U"
rom = 256K
data = 8K
ram = 32K
comment = "; RX24U Flash:256K DataFlash:8K RAM:32K"
rom-area = FFFC0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00007FFF
}
R5F524UE {
group = "RX24U"
rom = 512K
data = 8K
ram = 32K
comment = "; RX24U Flash:512K DataFlash:8K RAM:32K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00007FFF
}
R5F52618 {
group = "RX261"
rom = 512K
data = 8K
ram = 128K
comment = "; RX261 Flash:512K DataFlash:8K RAM:128K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0001FFFF
}
R5F526TF {
group = "RX26T"
rom = 512K
data = 16K
ram = 64K
comment = "; RX26T Flash:512K DataFlash:16K RAM:64K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00103FFF
ram-area = 00000000,0000FFFF
}
R5F56217 {
group = "RX621"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 384K
data = 32K
ram = 64K
comment = "; RX621 Flash:384K DataFlash:32K RAM:64K"
rom-area = FFFA0000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0000FFFF
}
R5F56218 {
group = "RX621"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 512K
data = 32K
ram = 96K
comment = "; RX621 Flash:512K DataFlash:32K RAM:96K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,00017FFF
}
R5F562N7 {
group = "RX62N"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 384K
data = 32K
ram = 64K
comment = "; RX62N Flash:384K DataFlash:32K RAM:64K"
rom-area = FFFA0000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0000FFFF
}
R5F562N8 {
group = "RX62N"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 512K
data = 32K
ram = 96K
comment = "; RX62N Flash:512K DataFlash:32K RAM:96K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,00017FFF
}
R5F5631F {
group = "RX631"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 2048K
data = 32K
ram = 256K
comment = "; RX631 Flash:2048K DataFlash:32K RAM:256K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0003FFFF
}
R5F563NE {
group = "RX63N"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 2048K
data = 32K
ram = 128K
comment = "; RX63N Flash:2048K DataFlash:32K RAM:128K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0001FFFF
}
R5F564MF {
group = "RX64M"
rom = 2048K
data = 64K
ram = 512K
comment = "; RX64M Flash:2048K DataFlash:64K RAM:512K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F571MF {
group = "RX71M"
rom = 2048K
data = 64K
ram = 512K
comment = "; RX71M Flash:2048K DataFlash:64K RAM:512K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F564MG {
group = "RX64M"
rom = 2560K
data = 64K
ram = 512K
comment = "; RX64M Flash:2560K DataFlash:64K RAM:512K"
rom-area = FFD80000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F571MG {
group = "RX71M"
rom = 2560K
data = 64K
ram = 512K
comment = "; RX71M Flash:2560K DataFlash:64K RAM:512K"
rom-area = FFD80000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F564MJ {
group = "RX64M"
rom = 3072K
data = 64K
ram = 512K
comment = "; RX64M Flash:3072K DataFlash:64K RAM:512K"
rom-area = FFD00000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F571MJ {
group = "RX71M"
rom = 3072K
data = 64K
ram = 512K
comment = "; RX71M Flash:3072K DataFlash:64K RAM:512K"
rom-area = FFD00000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F564ML {
group = "RX64M"
rom = 4096K
data = 64K
ram = 512K
comment = "; RX64M Flash:4096K DataFlash:64K RAM:512K"
rom-area = FFC00000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F571ML {
group = "RX71M"
rom = 4096K
data = 64K
ram = 512K
comment = "; RX71M Flash:4096K DataFlash:64K RAM:512K"
rom-area = FFC00000,FFFFFFFF
data-area = 00100000,0010FFFF
ram-area = 00000000,0007FFFF
}
R5F5651E {
group = "RX651"
rom = 2048K
data = 32K
ram = 640K
comment = "; RX651 Flash:2048K DataFlash:32K RAM:256K+384K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0003FFFF
ram-area = 00800000,0085FFFF
}
R5F565NE {
group = "RX65N"
rom = 2048K
data = 32K
ram = 640K
comment = "; RX65N Flash:2048K DataFlash:32K RAM:256K+384K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0003FFFF
ram-area = 00800000,0085FFFF
}
R5F5671C {
group = "RX671"
rom = 1536K
data = 8K
ram = 384K
comment = "; RX671 Flash:1536K DataFlash:8K RAM:384K"
rom-area = FFE80000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0003FFFF
ram-area = 00800000,0085FFFF
}
R5F5671E {
group = "RX671"
rom = 2048K
data = 8K
ram = 384K
comment = "; RX671 Flash:2048K DataFlash:8K RAM:384K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,0003FFFF
ram-area = 00800000,0085FFFF
}
R5F566ND {
group = "RX66N"
rom = 2048K
data = 32K
ram = 1024K
comment = "; RX66N Flash:2048K DataFlash:32K RAM:512K+512K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0007FFFF
ram-area = 00800000,0087FFFF
}
R5F566NN {
group = "RX66N"
rom = 4096K
data = 32K
ram = 1024K
comment = "; RX66N Flash:4096K DataFlash:32K RAM:512K+512K"
rom-area = FFC00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0007FFFF
ram-area = 00800000,0087FFFF
}
R5F572ND {
group = "RX72N"
rom = 2048K
data = 32K
ram = 1024K
comment = "; RX72N Flash:2048K DataFlash:32K RAM:512K+512K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0007FFFF
ram-area = 00800000,0087FFFF
}
R5F572NN {
group = "RX72N"
rom = 4096K
data = 32K
ram = 1024K
comment = "; RX72N Flash:4096K DataFlash:32K RAM:512K+512K"
rom-area = FFC00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0007FFFF
ram-area = 00800000,0087FFFF
}
R5F572MD {
group = "RX72M"
rom = 2048K
data = 32K
ram = 1024K
comment = "; RX72M Flash:2048K DataFlash:32K RAM:512K+512K"
rom-area = FFE00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0007FFFF
ram-area = 00800000,0087FFFF
}
R5F572MN {
group = "RX72M"
rom = 4096K
data = 32K
ram = 1024K
comment = "; RX72M Flash:4096K DataFlash:32K RAM:512K+512K"
rom-area = FFC00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0007FFFF
ram-area = 00800000,0087FFFF
}
R5F563T6 {
group = "RX63T"
clock = 1200
divide_sys = 8
divide_ext = 4
rom = 64K
data = 8K
ram = 8K
comment = "; RX63T6 Flash:64K DataFlash:8K RAM:8K"
rom-area = FFFF0000,FFFFFFFF
data-area = 00100000,00101FFF
ram-area = 00000000,00001FFF
}
R5F566TA {
group = "RX66T"
rom = 256K
data = 32K
ram = 64K
comment = "; RX66T Flash:256K DataFlash:32K RAM:64K"
rom-area = FFFC0000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0000FFFF
}
R5F566TE {
group = "RX66T"
rom = 512K
data = 32K
ram = 64K
comment = "; RX66T Flash:512K DataFlash:32K RAM:64K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0000FFFF
}
R5F566TF {
group = "RX66T"
rom = 512K
data = 32K
ram = 128K
comment = "; RX66T Flash:512K DataFlash:32K RAM:128K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0001FFFF
}
R5F566TK {
group = "RX66T"
rom = 1024K
data = 32K
ram = 128K
comment = "; RX66T Flash:1024K DataFlash:32K RAM:128K"
rom-area = FFF00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0001FFFF
}
R5F572TF {
group = "RX72T"
rom = 512K
data = 32K
ram = 128K
comment = "; RX72T Flash:512K DataFlash:32K RAM:128K"
rom-area = FFF80000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0001FFFF
}
R5F572TK {
group = "RX72T"
rom = 1024K
data = 32K
ram = 128K
comment = "; RX72T Flash:1024K DataFlash:32K RAM:128K"
rom-area = FFF00000,FFFFFFFF
data-area = 00100000,00107FFF
ram-area = 00000000,0001FFFF
}