S5U1C17001C ManUal
EPSOn
11-67
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
11 OTHEr TOOlS
11
Tools
(4) Connect ICDmini to the PC and the target and set to ICD mode.
After connecting ICDmini to the PC and the target, turn off DIP switches 2 and 3 on the side of ICDmini.
(5) Start the debugger and connect the debugger and the target.
Follow the procedures described in the S5U1C17001H User Manual (Refer to Section 5.2) to start ICDmini.
Start the gdb debugger from the command prompt (or GNU17 IDE).
(6) Connect the target and the debugger.
(gdb) target icd usb
•
If the connection fails, repeat steps (5) and (6).
(7) Download the program for erasing and writing the target flash memory to ICDmini using the c17 fwlp
command.
Example: When the target model is c17701 and the ICDmini firmware version is Ver. 1.1:
(gdb) c17 fwlp fwr17701v11.saf 0x48 0x80
•
Specify the file name selected in step (3) for the first parameter (erasing and writing program file name).
•
Refer to readme_e.txt in NU17\mcu_model\17xxx\fls for more information on the second and third
parameters (erasing and writing routine addresses). Note that the setting value differs depending on the model
and firmware version.
(8) Download the ROM data to be written to the target flash memory to ICDmini using the c17 fwld (or c17 fwdc)
command.
Example: When the target model is c17701 and to erase all blocks and write sample.saf:
(gdb) c17 fwld sample.saf 0 0 0x8000
•
Set the range to be erased with the second and third parameters (start and end blocks for erasing) and the
fourth parameter (flash memory start address) at the same time.
(9) Quit the debugger.
(gdb) quit
•
The debugger will not be used in the subsequent steps.
(10)Set ICDmini to FLASH WRITER mode and set the processing to be performed.
Turn on DIP switches 2 and 3 on the side of ICDmini and restart ICDmini.
•
Turning on either DIP switch 2 or 3 enables FLASH WRITER mode.
(11)Press RESET/START button in the upper part of ICDmini to start the flash writer.
If the LED for FLASH WRITER mode does not turn on before the flash writer starts or a flashing error occurs
immediately after entering this mode, restart ICDmini as for ICD mode.
•
Refer to Section 6.2 of the S5U1C17001H User Manual for LED specifications and for other information
when using the stand-alone flash writer.
When the LED corresponding to the selected ICDmini processing turns green, the processing is completed.
To write the same data to a different target, repeat the steps from step (10).
・
Refer to Section 10.7, "Command Reference" for detailed information on debugger commands.
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...