12 Attention
277
12.5.4 When Using the IAR C Compiler (ICC)
12.5.4.1 Specify the Option
Please compile according to the following procedures and link.
•
At compilation
Specify the "-r" option.
•
Before linking
Open the linker's option definition file (extension .xcl) to be read when linking and add
"-FIEEE695" and "-y" options. The designation of "-y" option varies depending on the product.
Product Name
-y Option
The debugger for M32C
-ylmb
The debugger for M16C/R8C
-ylmb
The debugger for 740
-ylmba
At link
Specify the linker's option definition file name using "-f" option.
We do not evaluate other settings, so we can not recommend to append other options.
12.5.4.2 Command Execution Examples
The following shows examples of entering commands depending on the product
•
The debugger for M32C
>ICCMC80 -r file1.c<Enter>
>ICCMC80 -r file2.c<Enter>
>XLINK -o filename.695 -f lnkm80.xcl file1 file2<Enter>
•
The debugger for M16C/R8C
>ICCM16C -r file1.c<Enter>
>ICCM16C -r file2.c<Enter>
>XLINK -o filename.695 -f lnkm16c.xcl file1 file2<Enter>
•
The debugger for 740
>ICC740 -r file1.c<Enter>
>ICC740 -r file2.c<Enter>
>XLINK -o filename.695 -f lnk7400t.xcl file1 file2<Enter>
The XCL file name varies depending on the product and memory model. For details, see the ICCxxxx
manual.
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...