fix tsip hashinit return value(f6162)

- Add GCM_TABLE_4BIT
  - Add build.bat for command line build
  - f5419 mutex
  - f6163 AES aadBuf
  - Add debug_run.bat to write and run the example from CL
  - Add UART message
  - Messages are routed sci2_uart_charput(). To get back to Virtual Consol, it takes BSP_CFG_USER_CHARPUT_ENABLED 0.

f1535 error messaages typo
This commit is contained in:
Hideki Miyazaki
2026-06-26 06:15:28 +09:00
parent 3fa342a76c
commit 55c2bc5271
12 changed files with 754 additions and 247 deletions
@@ -0,0 +1,88 @@
@echo off
setlocal
set MAKE=C:\Renesas\e2_studio\eclipse\plugins\com.renesas.ide.exttools.gnumake.win32.x86_64_4.3.1.v20240909-0854\mk\make.exe
set CCRX_BIN=C:\PROGRA~2\Renesas\RX\3_6_0\bin
set E2_UTILS=%USERPROFILE%\.eclipse\com.renesas.platform_1435879475\Utilities\ccrx
set PATH=%CCRX_BIN%;%E2_UTILS%;%PATH%
set BASEDIR=%~dp0
set TARGET=all
set MODE=
if /i "%1"=="clean" (
set TARGET=clean
) else if /i "%1"=="crypt" (
set MODE=crypt
) else if /i "%1"=="bench" (
set MODE=bench
) else if /i "%1"=="TLSClient" (
set MODE=TLSClient
) else if not "%1"=="" (
echo [ERROR] Unknown argument "%1".
echo Usage: build.bat [clean^|crypt^|bench^|TLSClient]
echo crypt -^> enables #define CRYPT_TEST in wolfssl_simple_demo.h
echo bench -^> enables #define BENCHMARK
echo TLSClient -^> enables #define SIMPLE_TLS_TSIP_CLIENT
exit /b 1
)
if not "%MODE%"=="" (
echo ============================================================
echo Setting demo mode: %MODE%
echo ============================================================
powershell -NoProfile -ExecutionPolicy Bypass -File "%BASEDIR%set_demo_mode.ps1" -Mode %MODE%
if %ERRORLEVEL% neq 0 (
echo [ERROR] Failed to set demo mode.
exit /b %ERRORLEVEL%
)
echo.
)
REM --- Both makefile(s) below are generated by e2studio's managed-build system (from
REM .cproject) the first time each project is built there; build.bat only does incremental
REM rebuilds on top of that, it cannot bootstrap them from a truly clean checkout. ---
if not exist "%BASEDIR%wolfssl\Debug\makefile" (
echo [ERROR] "%BASEDIR%wolfssl\Debug\makefile" not found.
echo Open the "wolfssl" project in e2studio and build the "Debug" configuration once
echo ^(Project ^> Build Project^) to generate it, then re-run build.bat.
exit /b 1
)
if not exist "%BASEDIR%test\HardwareDebug\makefile" (
echo [ERROR] "%BASEDIR%test\HardwareDebug\makefile" not found.
echo Open the "test" project in e2studio and build the "HardwareDebug" configuration once
echo ^(Project ^> Build Project^) to generate it, then re-run build.bat.
exit /b 1
)
if not exist "%BASEDIR%test\src\smc_gen" (
echo [ERROR] "%BASEDIR%test\src\smc_gen" not found.
echo This is generated by e2studio's Smart Configurator from test.scfg ^(not tracked in
echo git^). Open test.scfg in e2studio and click "Generate Code" once, then re-run build.bat.
exit /b 1
)
echo ============================================================
echo wolfssl library [%TARGET%]
echo ============================================================
cd /d "%BASEDIR%wolfssl\Debug"
"%MAKE%" %TARGET%
if %ERRORLEVEL% neq 0 (
echo [ERROR] wolfssl build failed.
exit /b %ERRORLEVEL%
)
echo.
echo ============================================================
echo test application [%TARGET%]
echo ============================================================
cd /d "%BASEDIR%test\HardwareDebug"
"%MAKE%" %TARGET%
if %ERRORLEVEL% neq 0 (
echo [ERROR] test build failed.
exit /b %ERRORLEVEL%
)
echo.
echo ============================================================
echo Done.
echo ============================================================
endlocal
@@ -20,6 +20,69 @@
*/
#include <wolfssl/wolfcrypt/wc_port.h>
#include "platform.h"
/*
* printf() is routed here via the r_bsp charput() hook
* (BSP_CFG_USER_CHARPUT_ENABLED / BSP_CFG_USER_CHARPUT_FUNCTION in
* r_bsp_config.h, sourced from test.scfg). Set BSP_CFG_USER_CHARPUT_ENABLED
* to 0 there to switch printf() back to the E1/E2 emulator's Virtual
* Console. */
static void sci2_uart_putraw(unsigned char c)
{
volatile int timeout = 200000;
while (SCI2.SSR.BIT.TDRE == 0 && --timeout > 0) {}
if (timeout > 0)
SCI2.TDR = c;
}
/* Translate LF to CR+LF so terminals (Tera Term) return to column 0 on
* newline, matching printf()'s "\n"-only line endings. */
void sci2_uart_charput(char c)
{
if (c == '\n')
sci2_uart_putraw('\r');
sci2_uart_putraw((unsigned char)c);
}
void sci2_uart_init(void)
{
unsigned char ick, pckb;
unsigned long iclk_hz, src_hz, pclkb_hz;
unsigned long brr_val;
SYSTEM.PRCR.WORD = 0xA503; //PRC1,0 Write Enable
SYSTEM.MSTPCRB.BIT.MSTPB29 = 0; //SCI2
MPC.PWPR.BYTE = 0x00; //B0WI=0
MPC.PWPR.BYTE = 0x40; //PFS Write Enable
PORT1.PMR.BYTE = 0x0C; //P12,13:peripheral
MPC.P12PFS.BYTE = 0x0A; //P12:RXD2
MPC.P13PFS.BYTE = 0x0A; //P13:TXD2
SCI2.SCR.BYTE = 0x00; /* TE=0,RE=0 */
SCI2.SMR.BYTE = 0x00; /* async,8bit,no parity,1stop,Phi/1 */
SCI2.SCMR.BYTE = 0xF2; /* LSB first,no invert,no smart card I/F */
SCI2.SEMR.BYTE = 0x00;
/* Derive PCLKB from R_BSP_GetIClkFreqHz() (which already resolves the
* *current* clock source -- PLL/HOCO/MOSC/etc -- and ICK divisor)
* instead of assuming a fixed PLL frequency, so this stays correct
* even if wolfCrypt_Init() (TSIP) changes the clock dividers, and the
* ICLK/CMT tick rate used by current_time() is left alone. */
iclk_hz = R_BSP_GetIClkFreqHz();
ick = (unsigned char)SYSTEM.SCKCR.BIT.ICK; /* 0-6: divisor=2^ick */
pckb = (unsigned char)SYSTEM.SCKCR.BIT.PCKB; /* 0-6: divisor=2^pckb */
src_hz = iclk_hz << ick; /* undo ICK divisor -> raw source clock */
pclkb_hz = src_hz >> pckb; /* apply PCKB divisor */
/* N = PCLKB / (64 * 2^-1 * baud) - 1 = PCLKB / (32 * baud) - 1 (CKS=0,
* SMR.BIT.CKS=00 selects the 2^-1 baud-generator divisor). */
brr_val = (pclkb_hz / (32UL * 19200UL)) - 1UL; /* BRR for 19200 baud */
SCI2.BRR = (unsigned char)(brr_val & 0xFFUL);
SCI2.SSR.BYTE = 0x00; /* status clear */
SCI2.SCR.BYTE = 0x30; /* TIE=0,RIE=0,TE=1,RE=1 */
}
static int tick = 0;
@@ -0,0 +1,65 @@
@echo off
setlocal
REM --- Flash test.x and let it run, using Renesas Flash Programmer (RFP) instead of a raw
REM GDB session. e2studio's GUI debug launch sends >150 "monitor set_io_access_width"
REM commands (device-specific I/O bus-width setup, captured from the Debugger Console) before
REM anything else; a hand-written GDB script can't feasibly replicate that, and without it the
REM CPU runs but peripherals (SCI2/TSIP) don't come up correctly -- no UART output, even though
REM GDB reports the thread as running. RFP's own flash-and-run path sidesteps all of that: it's
REM closer to a real power-on boot (erase/program/verify, then release reset via -run) and does
REM not go through a GDB debug session at all. Confirmed working: UART output appears correctly
REM after "rfp-cli ... -auto -run".
set DEBUG_DIR=%USERPROFILE%\.eclipse\com.renesas.platform_1435879475\DebugComp\RX
set OBJCOPY=%DEBUG_DIR%\rx-elf-objcopy.exe
set BASEDIR=%~dp0
set TARGET_X=%BASEDIR%test\HardwareDebug\test.x
set TARGET_MOT=%BASEDIR%test\HardwareDebug\test.mot
set RFP_LOG=%BASEDIR%test_result.log
REM --- Find the installed Renesas Flash Programmer CLI (version-independent) ---
for /d %%d in ("C:\Program Files (x86)\Renesas Electronics\Programming Tools\Renesas Flash Programmer V*") do set RFP_DIR=%%d
set RFP_CLI=%RFP_DIR%\rfp-cli.exe
if not exist "%TARGET_X%" (
echo [ERROR] %TARGET_X% not found. Run build.bat first.
exit /b 1
)
if not exist "%RFP_CLI%" (
echo [ERROR] rfp-cli.exe not found under "C:\Program Files (x86)\Renesas Electronics\Programming Tools\".
exit /b 1
)
echo [1/2] Converting ELF ^(test.x^) to Motorola S-record...
"%OBJCOPY%" -O srec "%TARGET_X%" "%TARGET_MOT%"
if %ERRORLEVEL% neq 0 (
echo [ERROR] rx-elf-objcopy failed with code %ERRORLEVEL%
exit /b 1
)
echo [2/2] Erasing, programming, verifying via E2 Lite, then releasing reset to run...
echo ============================================================
del "%RFP_LOG%" > nul 2>&1
REM -device RX72x: RFP groups devices by family, not exact part number (R5F572NN falls under RX72x).
REM -auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF: matches the all-FF (disabled) ID code used by this project.
REM -run: release reset and let the target run after RFP disconnects (default is to leave it in reset).
"%RFP_CLI%" ^
-device RX72x ^
-tool e2l ^
-if fine ^
-auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ^
-noquery ^
-auto -run ^
-log "%RFP_LOG%" ^
"%TARGET_MOT%"
set RFP_EXIT=%ERRORLEVEL%
echo ============================================================
if %RFP_EXIT% neq 0 (
echo [ERROR] rfp-cli exited with code %RFP_EXIT%
) else (
echo [DONE] Target is running -- check Tera Term for UART output.
)
exit /b %RFP_EXIT%
@@ -0,0 +1,75 @@
# set_demo_mode.ps1
#
# Copyright (C) 2006-2026 wolfSSL Inc.
#
# This file is part of wolfSSL.
#
# wolfSSL is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# wolfSSL is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
param(
[Parameter(Mandatory=$true)]
[ValidateSet('crypt', 'bench', 'TLSClient')]
[string]$Mode
)
$macroMap = [ordered]@{
'crypt' = 'CRYPT_TEST'
'bench' = 'BENCHMARK'
'TLSClient' = 'SIMPLE_TLS_TSIP_CLIENT'
}
$selected = $macroMap[$Mode]
$file = Join-Path $PSScriptRoot 'test\src\wolfssl_simple_demo.h'
if (-not (Test-Path $file)) {
Write-Error "File not found: $file"
exit 1
}
$content = Get-Content -Raw -Path $file
# Pass 1: normalize all three macros to the uncommented ("#define X") form,
# regardless of their current state, so pass 2's substring replace can't
# double-wrap an already-commented line (e.g. match "#define X" inside
# "/*#define X*/").
foreach ($m in $macroMap.Values) {
$content = $content.Replace("/*#define $m*/", "#define $m")
}
# Pass 2: comment out every macro except the selected one.
foreach ($m in $macroMap.Values) {
if ($m -ne $selected) {
$content = $content.Replace("#define $m", "/*#define $m*/")
}
}
Set-Content -NoNewline -Path $file -Value $content
Write-Host "[demo mode] $Mode -> #define $selected enabled (others disabled)"
# make's generated dependency (.d) files don't reliably list wolfssl_simple_demo.h as a
# prerequisite for every .c that includes it, so an incremental build can silently relink a
# stale .obj (compiled under the old macro) into a fresh-looking test.x. Force a rebuild of
# exactly the affected files by touching their mtime, rather than doing a full clean (slow)
# or trusting make's dependency tracking (unreliable here).
$srcDir = Join-Path $PSScriptRoot 'test\src'
$dependents = Get-ChildItem -Path $srcDir -Recurse -Include '*.c','*.h' |
Where-Object { $_.FullName -ne $file } |
Select-String -Pattern 'wolfssl_simple_demo\.h' -List |
Select-Object -ExpandProperty Path
foreach ($dep in $dependents) {
(Get-Item $dep).LastWriteTime = Get-Date
}
Write-Host "[demo mode] Touched $($dependents.Count) dependent source file(s) to force recompilation:"
$dependents | ForEach-Object { Write-Host " $_" }
@@ -172,6 +172,8 @@ int SetTsiptlsKey()
#endif
extern void sci2_uart_init(void);
void main(void)
{
int i = 0;
@@ -179,6 +181,8 @@ void main(void)
int doClientCheck = 0;
uint32_t channel;
sci2_uart_init(); /* route printf → SCI2 UART (P13/TXD2, 19200 baud) */
#if defined(SIMPLE_TCP_CLIENT)
int cipherlist_sz = 1;
const char* cipherlist[] = {NULL};
@@ -234,6 +238,7 @@ void main(void)
printf("wolfCrypt_Init failed %d\n", ret);
}
sci2_uart_init(); /* re-init: TSIP may change PCLKB during wolfCrypt_Init */
printf("Start wolfCrypt Test\n");
wolfcrypt_test(args);
printf("End wolfCrypt Test\n");
@@ -361,230 +361,230 @@
</option>
</tool>
<tool id="Interrupt">
<Item currentVect="16" id="BSC_BUSERR" priority="15" usedState="未使用"/>
<Item currentVect="17" groupchild="&lt;br&gt;0-DPFPUEX" id="IE0" priority="15" usedState="未使用"/>
<Item currentVect="18" id="RAM_RAMERR" priority="15" usedState="未使用"/>
<Item currentVect="21" id="FCU_FIFERR" priority="15" usedState="未使用"/>
<Item currentVect="23" id="FCU_FRDYI" priority="15" usedState="未使用"/>
<Item currentVect="26" id="ICU_SWINT2" priority="15" usedState="未使用"/>
<Item currentVect="27" id="ICU_SWINT" priority="15" usedState="未使用"/>
<Item currentVect="28" id="CMT0_CMI0" priority="5" usedState="使用中"/>
<Item currentVect="29" id="CMT1_CMI1" priority="5" usedState="使用中"/>
<Item currentVect="30" id="CMTW0_CMWI0" priority="15" usedState="未使用"/>
<Item currentVect="31" id="CMTW1_CMWI1" priority="15" usedState="未使用"/>
<Item currentVect="34" id="USB0_D0FIFO0" priority="15" usedState="未使用"/>
<Item currentVect="35" id="USB0_D1FIFO0" priority="15" usedState="未使用"/>
<Item currentVect="38" id="RSPI0_SPRI0" priority="15" usedState="未使用"/>
<Item currentVect="39" id="RSPI0_SPTI0" priority="15" usedState="未使用"/>
<Item currentVect="40" id="RSPI1_SPRI1" priority="15" usedState="未使用"/>
<Item currentVect="41" id="RSPI1_SPTI1" priority="15" usedState="未使用"/>
<Item currentVect="42" id="QSPI_SPRI" priority="15" usedState="未使用"/>
<Item currentVect="43" id="QSPI_SPTI" priority="15" usedState="未使用"/>
<Item currentVect="44" id="SDHI_SBFAI" priority="15" usedState="未使用"/>
<Item currentVect="45" id="MMCIF_MBFAI" priority="15" usedState="未使用"/>
<Item currentVect="46" id="SSIE0_SSITXI0" priority="15" usedState="未使用"/>
<Item currentVect="47" id="SSIE0_SSIRXI0" priority="15" usedState="未使用"/>
<Item currentVect="48" id="SSIE1_SSIRTI1" priority="15" usedState="未使用"/>
<Item currentVect="50" id="RIIC1_RXI1" priority="15" usedState="未使用"/>
<Item currentVect="51" id="RIIC1_TXI1" priority="15" usedState="未使用"/>
<Item currentVect="52" id="RIIC0_RXI0" priority="15" usedState="未使用"/>
<Item currentVect="53" id="RIIC0_TXI0" priority="15" usedState="未使用"/>
<Item currentVect="54" id="RIIC2_RXI2" priority="15" usedState="未使用"/>
<Item currentVect="55" id="RIIC2_TXI2" priority="15" usedState="未使用"/>
<Item currentVect="58" id="SCI0_RXI0" priority="15" usedState="未使用"/>
<Item currentVect="59" id="SCI0_TXI0" priority="15" usedState="未使用"/>
<Item currentVect="60" id="SCI1_RXI1" priority="15" usedState="未使用"/>
<Item currentVect="61" id="SCI1_TXI1" priority="15" usedState="未使用"/>
<Item currentVect="62" id="SCI2_RXI2" priority="15" usedState="未使用"/>
<Item currentVect="63" id="SCI2_TXI2" priority="15" usedState="未使用"/>
<Item currentVect="64" id="ICU_IRQ0" priority="15" usedState="未使用"/>
<Item currentVect="65" id="ICU_IRQ1" priority="15" usedState="未使用"/>
<Item currentVect="66" id="ICU_IRQ2" priority="15" usedState="未使用"/>
<Item currentVect="67" id="ICU_IRQ3" priority="15" usedState="未使用"/>
<Item currentVect="68" id="ICU_IRQ4" priority="15" usedState="未使用"/>
<Item currentVect="69" id="ICU_IRQ5" priority="15" usedState="未使用"/>
<Item currentVect="70" id="ICU_IRQ6" priority="15" usedState="未使用"/>
<Item currentVect="71" id="ICU_IRQ7" priority="15" usedState="未使用"/>
<Item currentVect="72" id="ICU_IRQ8" priority="15" usedState="未使用"/>
<Item currentVect="73" id="ICU_IRQ9" priority="15" usedState="未使用"/>
<Item currentVect="74" id="ICU_IRQ10" priority="15" usedState="未使用"/>
<Item currentVect="75" id="ICU_IRQ11" priority="15" usedState="未使用"/>
<Item currentVect="76" id="ICU_IRQ12" priority="15" usedState="未使用"/>
<Item currentVect="77" id="ICU_IRQ13" priority="15" usedState="未使用"/>
<Item currentVect="78" id="ICU_IRQ14" priority="15" usedState="未使用"/>
<Item currentVect="79" id="ICU_IRQ15" priority="15" usedState="未使用"/>
<Item currentVect="80" id="SCI3_RXI3" priority="15" usedState="未使用"/>
<Item currentVect="81" id="SCI3_TXI3" priority="15" usedState="未使用"/>
<Item currentVect="82" id="SCI4_RXI4" priority="15" usedState="未使用"/>
<Item currentVect="83" id="SCI4_TXI4" priority="15" usedState="未使用"/>
<Item currentVect="84" id="SCI5_RXI5" priority="15" usedState="未使用"/>
<Item currentVect="85" id="SCI5_TXI5" priority="15" usedState="未使用"/>
<Item currentVect="86" id="SCI6_RXI6" priority="15" usedState="未使用"/>
<Item currentVect="87" id="SCI6_TXI6" priority="15" usedState="未使用"/>
<Item currentVect="88" id="LVD1_LVD1" priority="15" usedState="未使用"/>
<Item currentVect="89" id="LVD2_LVD2" priority="15" usedState="未使用"/>
<Item currentVect="90" id="USB0_USBR0" priority="15" usedState="未使用"/>
<Item currentVect="92" id="RTC_ALM" priority="15" usedState="未使用"/>
<Item currentVect="93" id="RTC_PRD" priority="15" usedState="未使用"/>
<Item currentVect="95" id="IWDT_IWUNI" priority="15" usedState="未使用"/>
<Item currentVect="96" id="WDT_WUNI" priority="15" usedState="未使用"/>
<Item currentVect="97" id="PDC_PCDFI" priority="15" usedState="未使用"/>
<Item currentVect="98" id="SCI7_RXI7" priority="15" usedState="未使用"/>
<Item currentVect="99" id="SCI7_TXI7" priority="15" usedState="未使用"/>
<Item currentVect="100" id="SCI8_RXI8" priority="15" usedState="未使用"/>
<Item currentVect="101" id="SCI8_TXI8" priority="15" usedState="未使用"/>
<Item currentVect="102" id="SCI9_RXI9" priority="15" usedState="未使用"/>
<Item currentVect="103" id="SCI9_TXI9" priority="15" usedState="未使用"/>
<Item currentVect="104" id="SCI10_RXI10" priority="15" usedState="未使用"/>
<Item currentVect="105" id="SCI10_TXI10" priority="15" usedState="未使用"/>
<Item currentVect="106" groupchild="&lt;br&gt;0-ERS0&lt;br&gt;1-ERS1&lt;br&gt;2-ERS2" id="BE0" priority="15" usedState="未使用"/>
<Item currentVect="107" groupchild="&lt;br&gt;7-POEGGAI&lt;br&gt;8-POEGGBI&lt;br&gt;9-POEGGCI&lt;br&gt;10-POEGGDI" id="BL2" priority="15" usedState="未使用"/>
<Item currentVect="108" id="RSPI2_SPRI2" priority="15" usedState="未使用"/>
<Item currentVect="109" id="RSPI2_SPTI2" priority="15" usedState="未使用"/>
<Item currentVect="110" groupchild="&lt;br&gt;0-TEI0&lt;br&gt;1-ERI0&lt;br&gt;2-TEI1&lt;br&gt;3-ERI1&lt;br&gt;4-TEI2&lt;br&gt;5-ERI2&lt;br&gt;6-TEI3&lt;br&gt;7-ERI3&lt;br&gt;8-TEI4&lt;br&gt;9-ERI4&lt;br&gt;10-TEI5&lt;br&gt;11-ERI5&lt;br&gt;12-TEI6&lt;br&gt;13-ERI6&lt;br&gt;16-TEI12&lt;br&gt;17-ERI12&lt;br&gt;18-SCIX0&lt;br&gt;19-SCIX1&lt;br&gt;20-SCIX2&lt;br&gt;21-SCIX3&lt;br&gt;24-QSPSSLI&lt;br&gt;26-FERRI&lt;br&gt;27-MENDI&lt;br&gt;28-OVFI&lt;br&gt;29-DOPCI&lt;br&gt;30-PCFEI&lt;br&gt;31-PCERI" id="BL0" priority="15" usedState="未使用"/>
<Item currentVect="111" groupchild="&lt;br&gt;3-CDETI&lt;br&gt;4-CACI&lt;br&gt;5-SDACI&lt;br&gt;6-CDETIO&lt;br&gt;7-ERRIO&lt;br&gt;8-ACCIO&lt;br&gt;9-OEI1&lt;br&gt;10-OEI2&lt;br&gt;11-OEI3&lt;br&gt;12-OEI4&lt;br&gt;13-TEI0&lt;br&gt;14-EEI0&lt;br&gt;15-TEI2&lt;br&gt;16-EEI2&lt;br&gt;17-SSIF0&lt;br&gt;18-SSIF1&lt;br&gt;20-S12CMPAI&lt;br&gt;21-S12CMPBI&lt;br&gt;22-S12CMPAI1&lt;br&gt;23-S12CMPBI1&lt;br&gt;28-TEI1&lt;br&gt;29-EEI1" id="BL1" priority="15" usedState="未使用"/>
<Item currentVect="112" groupchild="&lt;br&gt;0-TEI8&lt;br&gt;1-ERI8&lt;br&gt;4-TEI9&lt;br&gt;5-ERI9&lt;br&gt;8-TEI10&lt;br&gt;9-ERI10&lt;br&gt;12-TEI11&lt;br&gt;13-ERI11&lt;br&gt;16-SPII0&lt;br&gt;17-SPEI0&lt;br&gt;18-SPII1&lt;br&gt;19-SPEI1&lt;br&gt;20-SPII2&lt;br&gt;21-SPEI2&lt;br&gt;22-TEI7&lt;br&gt;23-ERI7" id="AL0" priority="15" usedState="未使用"/>
<Item currentVect="113" groupchild="&lt;br&gt;0-MINT&lt;br&gt;1-PINT&lt;br&gt;4-EINT0&lt;br&gt;5-EINT1&lt;br&gt;8-VPOS&lt;br&gt;9-GR1UF&lt;br&gt;10-GR2UF&lt;br&gt;11-DRW_IRQ" id="AL1" priority="2" usedState="使用中"/>
<Item currentVect="114" id="SCI11_RXI11" priority="15" usedState="未使用"/>
<Item currentVect="115" id="SCI11_TXI11" priority="15" usedState="未使用"/>
<Item currentVect="116" id="SCI12_RXI12" priority="15" usedState="未使用"/>
<Item currentVect="117" id="SCI12_TXI12" priority="15" usedState="未使用"/>
<Item currentVect="120" id="DMAC_DMAC0I" priority="15" usedState="未使用"/>
<Item currentVect="121" id="DMAC_DMAC1I" priority="15" usedState="未使用"/>
<Item currentVect="122" id="DMAC_DMAC2I" priority="15" usedState="未使用"/>
<Item currentVect="123" id="DMAC_DMAC3I" priority="15" usedState="未使用"/>
<Item currentVect="124" id="DMAC_DMAC74I" priority="15" usedState="未使用"/>
<Item currentVect="125" id="OST_OSTDI" priority="15" usedState="未使用"/>
<Item currentVect="126" id="EXDMAC_EXDMAC0I" priority="15" usedState="未使用"/>
<Item currentVect="127" id="EXDMAC_EXDMAC1I" priority="15" usedState="未使用"/>
<Item currentVect="128" defaultVect="128" id="CMT2_CMI2" priority="5" usedState="使用中"/>
<Item currentVect="129" defaultVect="129" id="CMT3_CMI3" priority="5" usedState="使用中"/>
<Item currentVect="130" defaultVect="130" id="TPU0_TGI0A" priority="15" usedState="未使用"/>
<Item currentVect="131" defaultVect="131" id="TPU0_TGI0B" priority="15" usedState="未使用"/>
<Item currentVect="132" defaultVect="132" id="TPU0_TGI0C" priority="15" usedState="未使用"/>
<Item currentVect="133" defaultVect="133" id="TPU0_TGI0D" priority="15" usedState="未使用"/>
<Item currentVect="134" defaultVect="134" id="TPU0_TCI0V" priority="15" usedState="未使用"/>
<Item currentVect="135" defaultVect="135" id="TPU1_TGI1B" priority="15" usedState="未使用"/>
<Item currentVect="136" defaultVect="136" id="TPU1_TCI1V" priority="15" usedState="未使用"/>
<Item currentVect="137" defaultVect="137" id="TPU1_TCI1U" priority="15" usedState="未使用"/>
<Item currentVect="138" defaultVect="138" id="TPU2_TGI2A" priority="15" usedState="未使用"/>
<Item currentVect="139" defaultVect="139" id="TPU2_TGI2B" priority="15" usedState="未使用"/>
<Item currentVect="140" defaultVect="140" id="TPU2_TCI2V" priority="15" usedState="未使用"/>
<Item currentVect="141" defaultVect="141" id="TPU2_TCI2U" priority="15" usedState="未使用"/>
<Item currentVect="142" defaultVect="142" id="TPU3_TGI3A" priority="15" usedState="未使用"/>
<Item currentVect="143" defaultVect="143" id="TPU3_TGI3B" priority="15" usedState="未使用"/>
<Item currentVect="144" defaultVect="144" id="TPU1_TGI1A" priority="15" usedState="未使用"/>
<Item currentVect="145" defaultVect="145" id="TPU3_TGI3C" priority="15" usedState="未使用"/>
<Item currentVect="146" defaultVect="146" id="TMR0_CMIA0" priority="15" usedState="未使用"/>
<Item currentVect="147" defaultVect="147" id="TMR0_CMIB0" priority="15" usedState="未使用"/>
<Item currentVect="148" defaultVect="148" id="TMR0_OVI0" priority="15" usedState="未使用"/>
<Item currentVect="149" defaultVect="149" id="TMR1_CMIA1" priority="15" usedState="未使用"/>
<Item currentVect="150" defaultVect="150" id="TMR1_CMIB1" priority="15" usedState="未使用"/>
<Item currentVect="151" defaultVect="151" id="TMR1_OVI1" priority="15" usedState="未使用"/>
<Item currentVect="152" defaultVect="152" id="TMR2_CMIA2" priority="15" usedState="未使用"/>
<Item currentVect="153" defaultVect="153" id="TMR2_CMIB2" priority="15" usedState="未使用"/>
<Item currentVect="154" defaultVect="154" id="TMR2_OVI2" priority="15" usedState="未使用"/>
<Item currentVect="155" defaultVect="155" id="TMR3_CMIA3" priority="15" usedState="未使用"/>
<Item currentVect="156" defaultVect="156" id="TMR3_CMIB3" priority="15" usedState="未使用"/>
<Item currentVect="157" defaultVect="157" id="TMR3_OVI3" priority="15" usedState="未使用"/>
<Item currentVect="158" defaultVect="158" id="TPU3_TGI3D" priority="15" usedState="未使用"/>
<Item currentVect="159" defaultVect="159" id="TPU3_TCI3V" priority="15" usedState="未使用"/>
<Item currentVect="160" defaultVect="160" id="TPU4_TGI4A" priority="15" usedState="未使用"/>
<Item currentVect="161" defaultVect="161" id="TPU4_TGI4B" priority="15" usedState="未使用"/>
<Item currentVect="162" defaultVect="162" id="TPU4_TCI4V" priority="15" usedState="未使用"/>
<Item currentVect="163" defaultVect="163" id="TPU4_TCI4U" priority="15" usedState="未使用"/>
<Item currentVect="164" defaultVect="164" id="TPU5_TGI5A" priority="15" usedState="未使用"/>
<Item currentVect="165" defaultVect="165" id="TPU5_TGI5B" priority="15" usedState="未使用"/>
<Item currentVect="166" defaultVect="166" id="TPU5_TCI5V" priority="15" usedState="未使用"/>
<Item currentVect="167" defaultVect="167" id="TPU5_TCI5U" priority="15" usedState="未使用"/>
<Item currentVect="168" defaultVect="168" id="CMTW0_IC0I0" priority="15" usedState="未使用"/>
<Item currentVect="169" defaultVect="169" id="CMTW0_IC1I0" priority="15" usedState="未使用"/>
<Item currentVect="170" defaultVect="170" id="CMTW0_OC0I0" priority="15" usedState="未使用"/>
<Item currentVect="171" defaultVect="171" id="CMTW0_OC1I0" priority="15" usedState="未使用"/>
<Item currentVect="172" defaultVect="172" id="CMTW1_IC0I1" priority="15" usedState="未使用"/>
<Item currentVect="173" defaultVect="173" id="CMTW1_IC1I1" priority="15" usedState="未使用"/>
<Item currentVect="174" defaultVect="174" id="CMTW1_OC0I1" priority="15" usedState="未使用"/>
<Item currentVect="175" defaultVect="175" id="CMTW1_OC1I1" priority="15" usedState="未使用"/>
<Item currentVect="176" defaultVect="176" id="RTC_CUP" priority="15" usedState="未使用"/>
<Item currentVect="177" defaultVect="177" id="CAN0_RXF0" priority="15" usedState="未使用"/>
<Item currentVect="178" defaultVect="178" id="CAN0_TXF0" priority="15" usedState="未使用"/>
<Item currentVect="179" defaultVect="179" id="CAN0_RXM0" priority="15" usedState="未使用"/>
<Item currentVect="180" defaultVect="180" id="CAN0_TXM0" priority="15" usedState="未使用"/>
<Item currentVect="181" defaultVect="181" id="CAN1_RXF1" priority="15" usedState="未使用"/>
<Item currentVect="182" defaultVect="182" id="CAN1_TXF1" priority="15" usedState="未使用"/>
<Item currentVect="183" defaultVect="183" id="CAN1_RXM1" priority="15" usedState="未使用"/>
<Item currentVect="184" defaultVect="184" id="CAN1_TXM1" priority="15" usedState="未使用"/>
<Item currentVect="185" defaultVect="185" id="USB0_USBI0" priority="15" usedState="未使用"/>
<Item currentVect="186" defaultVect="186" id="S12AD_S12ADI" priority="15" usedState="未使用"/>
<Item currentVect="187" defaultVect="187" id="S12AD_S12GBADI" priority="15" usedState="未使用"/>
<Item currentVect="188" defaultVect="188" id="S12AD_S12GCADI" priority="15" usedState="未使用"/>
<Item currentVect="189" defaultVect="189" id="S12AD1_S12ADI1" priority="15" usedState="未使用"/>
<Item currentVect="190" defaultVect="190" id="S12AD1_S12GBADI1" priority="15" usedState="未使用"/>
<Item currentVect="191" defaultVect="191" id="S12AD1_S12GCADI1" priority="15" usedState="未使用"/>
<Item currentVect="192" id="PERIB_INTB192" priority="15" usedState="未使用"/>
<Item currentVect="193" defaultVect="193" id="ELC_ELSR18I" priority="15" usedState="未使用"/>
<Item currentVect="194" defaultVect="194" id="ELC_ELSR19I" priority="15" usedState="未使用"/>
<Item currentVect="195" defaultVect="195" id="TSIP_PROC_BUSY" priority="15" usedState="未使用"/>
<Item currentVect="196" defaultVect="196" id="TSIP_ROMOK" priority="15" usedState="未使用"/>
<Item currentVect="197" defaultVect="197" id="TSIP_LONG_PLG" priority="15" usedState="未使用"/>
<Item currentVect="198" defaultVect="198" id="TSIP_TEST_BUSY" priority="15" usedState="未使用"/>
<Item currentVect="199" defaultVect="199" id="TSIP_WRRDY0" priority="15" usedState="未使用"/>
<Item currentVect="200" defaultVect="200" id="TSIP_WRRDY1" priority="15" usedState="未使用"/>
<Item currentVect="201" defaultVect="201" id="TSIP_WRRDY4" priority="15" usedState="未使用"/>
<Item currentVect="202" defaultVect="202" id="TSIP_RDRDY0" priority="15" usedState="未使用"/>
<Item currentVect="203" defaultVect="203" id="TSIP_RDRDY1" priority="15" usedState="未使用"/>
<Item currentVect="204" defaultVect="204" id="TSIP_INTEGRATE_WRRDY" priority="15" usedState="未使用"/>
<Item currentVect="205" defaultVect="205" id="TSIP_INTEGRATE_RDRDY" priority="15" usedState="未使用"/>
<Item currentVect="206" id="PERIB_INTB206" priority="15" usedState="未使用"/>
<Item currentVect="207" id="PERIB_INTB207" priority="15" usedState="未使用"/>
<Item currentVect="208" defaultVect="208" id="MTU1_TGIA1" priority="15" usedState="未使用"/>
<Item currentVect="209" defaultVect="209" id="MTU0_TGIA0" priority="15" usedState="未使用"/>
<Item currentVect="210" defaultVect="210" id="MTU0_TGIB0" priority="15" usedState="未使用"/>
<Item currentVect="211" defaultVect="211" id="MTU0_TGIC0" priority="15" usedState="未使用"/>
<Item currentVect="212" defaultVect="212" id="MTU0_TGID0" priority="15" usedState="未使用"/>
<Item currentVect="213" defaultVect="213" id="MTU0_TCIV0" priority="15" usedState="未使用"/>
<Item currentVect="214" defaultVect="214" id="MTU0_TGIE0" priority="15" usedState="未使用"/>
<Item currentVect="215" defaultVect="215" id="MTU0_TGIF0" priority="15" usedState="未使用"/>
<Item currentVect="216" defaultVect="216" id="MTU1_TGIB1" priority="15" usedState="未使用"/>
<Item currentVect="217" defaultVect="217" id="MTU1_TCIV1" priority="15" usedState="未使用"/>
<Item currentVect="218" defaultVect="218" id="MTU1_TCIU1" priority="15" usedState="未使用"/>
<Item currentVect="219" defaultVect="219" id="MTU2_TGIA2" priority="15" usedState="未使用"/>
<Item currentVect="220" defaultVect="220" id="MTU2_TGIB2" priority="15" usedState="未使用"/>
<Item currentVect="221" defaultVect="221" id="MTU2_TCIV2" priority="15" usedState="未使用"/>
<Item currentVect="222" defaultVect="222" id="MTU2_TCIU2" priority="15" usedState="未使用"/>
<Item currentVect="223" defaultVect="223" id="MTU3_TGIA3" priority="15" usedState="未使用"/>
<Item currentVect="224" defaultVect="224" id="MTU3_TGIB3" priority="15" usedState="未使用"/>
<Item currentVect="225" defaultVect="225" id="MTU3_TGIC3" priority="15" usedState="未使用"/>
<Item currentVect="226" defaultVect="226" id="MTU3_TGID3" priority="15" usedState="未使用"/>
<Item currentVect="227" defaultVect="227" id="MTU3_TCIV3" priority="15" usedState="未使用"/>
<Item currentVect="228" defaultVect="228" id="MTU4_TGIA4" priority="15" usedState="未使用"/>
<Item currentVect="229" defaultVect="229" id="MTU4_TGIB4" priority="15" usedState="未使用"/>
<Item currentVect="230" defaultVect="230" id="MTU4_TGIC4" priority="15" usedState="未使用"/>
<Item currentVect="231" defaultVect="231" id="MTU4_TGID4" priority="15" usedState="未使用"/>
<Item currentVect="232" defaultVect="232" id="MTU4_TCIV4" priority="15" usedState="未使用"/>
<Item currentVect="233" defaultVect="233" id="MTU5_TGIU5" priority="15" usedState="未使用"/>
<Item currentVect="234" defaultVect="234" id="MTU5_TGIV5" priority="15" usedState="未使用"/>
<Item currentVect="235" defaultVect="235" id="MTU5_TGIW5" priority="15" usedState="未使用"/>
<Item currentVect="236" defaultVect="236" id="MTU6_TGIA6" priority="15" usedState="未使用"/>
<Item currentVect="237" defaultVect="237" id="MTU6_TGIB6" priority="15" usedState="未使用"/>
<Item currentVect="238" defaultVect="238" id="MTU6_TGIC6" priority="15" usedState="未使用"/>
<Item currentVect="239" defaultVect="239" id="MTU6_TGID6" priority="15" usedState="未使用"/>
<Item currentVect="240" defaultVect="240" id="MTU6_TCIV6" priority="15" usedState="未使用"/>
<Item currentVect="241" defaultVect="241" id="MTU7_TGIA7" priority="15" usedState="未使用"/>
<Item currentVect="242" defaultVect="242" id="MTU7_TGIB7" priority="15" usedState="未使用"/>
<Item currentVect="243" defaultVect="243" id="MTU7_TGIC7" priority="15" usedState="未使用"/>
<Item currentVect="244" defaultVect="244" id="MTU7_TGID7" priority="15" usedState="未使用"/>
<Item currentVect="245" defaultVect="245" id="MTU7_TCIV7" priority="15" usedState="未使用"/>
<Item currentVect="246" defaultVect="246" id="MTU8_TGIA8" priority="15" usedState="未使用"/>
<Item currentVect="247" defaultVect="247" id="MTU8_TGIB8" priority="15" usedState="未使用"/>
<Item currentVect="248" defaultVect="248" id="MTU8_TGIC8" priority="15" usedState="未使用"/>
<Item currentVect="249" defaultVect="249" id="MTU8_TGID8" priority="15" usedState="未使用"/>
<Item currentVect="250" defaultVect="250" id="MTU8_TCIV8" priority="15" usedState="未使用"/>
<Item currentVect="251" defaultVect="251" id="EPTPC_IPLS" priority="15" usedState="未使用"/>
<Item currentVect="252" defaultVect="252" id="PMGI0_PMGI0I" priority="2" usedState="使用中"/>
<Item currentVect="253" defaultVect="253" id="PMGI1_PMGI1I" priority="2" usedState="使用中"/>
<Item currentVect="254" id="PERIA_INTA254" priority="15" usedState="未使用"/>
<Item currentVect="255" id="PERIA_INTA255" priority="15" usedState="未使用"/>
<Item currentVect="16" id="BSC_BUSERR" priority="15" usedState="Not Use"/>
<Item currentVect="17" groupchild="&lt;br&gt;0-DPFPUEX" id="IE0" priority="15" usedState="Not Use"/>
<Item currentVect="18" id="RAM_RAMERR" priority="15" usedState="Not Use"/>
<Item currentVect="21" id="FCU_FIFERR" priority="15" usedState="Not Use"/>
<Item currentVect="23" id="FCU_FRDYI" priority="15" usedState="Not Use"/>
<Item currentVect="26" id="ICU_SWINT2" priority="15" usedState="Not Use"/>
<Item currentVect="27" id="ICU_SWINT" priority="15" usedState="Not Use"/>
<Item currentVect="28" id="CMT0_CMI0" priority="5" usedState="Used"/>
<Item currentVect="29" id="CMT1_CMI1" priority="5" usedState="Used"/>
<Item currentVect="30" id="CMTW0_CMWI0" priority="15" usedState="Not Use"/>
<Item currentVect="31" id="CMTW1_CMWI1" priority="15" usedState="Not Use"/>
<Item currentVect="34" id="USB0_D0FIFO0" priority="15" usedState="Not Use"/>
<Item currentVect="35" id="USB0_D1FIFO0" priority="15" usedState="Not Use"/>
<Item currentVect="38" id="RSPI0_SPRI0" priority="15" usedState="Not Use"/>
<Item currentVect="39" id="RSPI0_SPTI0" priority="15" usedState="Not Use"/>
<Item currentVect="40" id="RSPI1_SPRI1" priority="15" usedState="Not Use"/>
<Item currentVect="41" id="RSPI1_SPTI1" priority="15" usedState="Not Use"/>
<Item currentVect="42" id="QSPI_SPRI" priority="15" usedState="Not Use"/>
<Item currentVect="43" id="QSPI_SPTI" priority="15" usedState="Not Use"/>
<Item currentVect="44" id="SDHI_SBFAI" priority="15" usedState="Not Use"/>
<Item currentVect="45" id="MMCIF_MBFAI" priority="15" usedState="Not Use"/>
<Item currentVect="46" id="SSIE0_SSITXI0" priority="15" usedState="Not Use"/>
<Item currentVect="47" id="SSIE0_SSIRXI0" priority="15" usedState="Not Use"/>
<Item currentVect="48" id="SSIE1_SSIRTI1" priority="15" usedState="Not Use"/>
<Item currentVect="50" id="RIIC1_RXI1" priority="15" usedState="Not Use"/>
<Item currentVect="51" id="RIIC1_TXI1" priority="15" usedState="Not Use"/>
<Item currentVect="52" id="RIIC0_RXI0" priority="15" usedState="Not Use"/>
<Item currentVect="53" id="RIIC0_TXI0" priority="15" usedState="Not Use"/>
<Item currentVect="54" id="RIIC2_RXI2" priority="15" usedState="Not Use"/>
<Item currentVect="55" id="RIIC2_TXI2" priority="15" usedState="Not Use"/>
<Item currentVect="58" id="SCI0_RXI0" priority="15" usedState="Not Use"/>
<Item currentVect="59" id="SCI0_TXI0" priority="15" usedState="Not Use"/>
<Item currentVect="60" id="SCI1_RXI1" priority="15" usedState="Not Use"/>
<Item currentVect="61" id="SCI1_TXI1" priority="15" usedState="Not Use"/>
<Item currentVect="62" id="SCI2_RXI2" priority="15" usedState="Not Use"/>
<Item currentVect="63" id="SCI2_TXI2" priority="15" usedState="Not Use"/>
<Item currentVect="64" id="ICU_IRQ0" priority="15" usedState="Not Use"/>
<Item currentVect="65" id="ICU_IRQ1" priority="15" usedState="Not Use"/>
<Item currentVect="66" id="ICU_IRQ2" priority="15" usedState="Not Use"/>
<Item currentVect="67" id="ICU_IRQ3" priority="15" usedState="Not Use"/>
<Item currentVect="68" id="ICU_IRQ4" priority="15" usedState="Not Use"/>
<Item currentVect="69" id="ICU_IRQ5" priority="15" usedState="Not Use"/>
<Item currentVect="70" id="ICU_IRQ6" priority="15" usedState="Not Use"/>
<Item currentVect="71" id="ICU_IRQ7" priority="15" usedState="Not Use"/>
<Item currentVect="72" id="ICU_IRQ8" priority="15" usedState="Not Use"/>
<Item currentVect="73" id="ICU_IRQ9" priority="15" usedState="Not Use"/>
<Item currentVect="74" id="ICU_IRQ10" priority="15" usedState="Not Use"/>
<Item currentVect="75" id="ICU_IRQ11" priority="15" usedState="Not Use"/>
<Item currentVect="76" id="ICU_IRQ12" priority="15" usedState="Not Use"/>
<Item currentVect="77" id="ICU_IRQ13" priority="15" usedState="Not Use"/>
<Item currentVect="78" id="ICU_IRQ14" priority="15" usedState="Not Use"/>
<Item currentVect="79" id="ICU_IRQ15" priority="15" usedState="Not Use"/>
<Item currentVect="80" id="SCI3_RXI3" priority="15" usedState="Not Use"/>
<Item currentVect="81" id="SCI3_TXI3" priority="15" usedState="Not Use"/>
<Item currentVect="82" id="SCI4_RXI4" priority="15" usedState="Not Use"/>
<Item currentVect="83" id="SCI4_TXI4" priority="15" usedState="Not Use"/>
<Item currentVect="84" id="SCI5_RXI5" priority="15" usedState="Not Use"/>
<Item currentVect="85" id="SCI5_TXI5" priority="15" usedState="Not Use"/>
<Item currentVect="86" id="SCI6_RXI6" priority="15" usedState="Not Use"/>
<Item currentVect="87" id="SCI6_TXI6" priority="15" usedState="Not Use"/>
<Item currentVect="88" id="LVD1_LVD1" priority="15" usedState="Not Use"/>
<Item currentVect="89" id="LVD2_LVD2" priority="15" usedState="Not Use"/>
<Item currentVect="90" id="USB0_USBR0" priority="15" usedState="Not Use"/>
<Item currentVect="92" id="RTC_ALM" priority="15" usedState="Not Use"/>
<Item currentVect="93" id="RTC_PRD" priority="15" usedState="Not Use"/>
<Item currentVect="95" id="IWDT_IWUNI" priority="15" usedState="Not Use"/>
<Item currentVect="96" id="WDT_WUNI" priority="15" usedState="Not Use"/>
<Item currentVect="97" id="PDC_PCDFI" priority="15" usedState="Not Use"/>
<Item currentVect="98" id="SCI7_RXI7" priority="15" usedState="Not Use"/>
<Item currentVect="99" id="SCI7_TXI7" priority="15" usedState="Not Use"/>
<Item currentVect="100" id="SCI8_RXI8" priority="15" usedState="Not Use"/>
<Item currentVect="101" id="SCI8_TXI8" priority="15" usedState="Not Use"/>
<Item currentVect="102" id="SCI9_RXI9" priority="15" usedState="Not Use"/>
<Item currentVect="103" id="SCI9_TXI9" priority="15" usedState="Not Use"/>
<Item currentVect="104" id="SCI10_RXI10" priority="15" usedState="Not Use"/>
<Item currentVect="105" id="SCI10_TXI10" priority="15" usedState="Not Use"/>
<Item currentVect="106" groupchild="&lt;br&gt;0-ERS0&lt;br&gt;1-ERS1&lt;br&gt;2-ERS2" id="BE0" priority="15" usedState="Not Use"/>
<Item currentVect="107" groupchild="&lt;br&gt;7-POEGGAI&lt;br&gt;8-POEGGBI&lt;br&gt;9-POEGGCI&lt;br&gt;10-POEGGDI" id="BL2" priority="15" usedState="Not Use"/>
<Item currentVect="108" id="RSPI2_SPRI2" priority="15" usedState="Not Use"/>
<Item currentVect="109" id="RSPI2_SPTI2" priority="15" usedState="Not Use"/>
<Item currentVect="110" groupchild="&lt;br&gt;0-TEI0&lt;br&gt;1-ERI0&lt;br&gt;2-TEI1&lt;br&gt;3-ERI1&lt;br&gt;4-TEI2&lt;br&gt;5-ERI2&lt;br&gt;6-TEI3&lt;br&gt;7-ERI3&lt;br&gt;8-TEI4&lt;br&gt;9-ERI4&lt;br&gt;10-TEI5&lt;br&gt;11-ERI5&lt;br&gt;12-TEI6&lt;br&gt;13-ERI6&lt;br&gt;16-TEI12&lt;br&gt;17-ERI12&lt;br&gt;18-SCIX0&lt;br&gt;19-SCIX1&lt;br&gt;20-SCIX2&lt;br&gt;21-SCIX3&lt;br&gt;24-QSPSSLI&lt;br&gt;26-FERRI&lt;br&gt;27-MENDI&lt;br&gt;28-OVFI&lt;br&gt;29-DOPCI&lt;br&gt;30-PCFEI&lt;br&gt;31-PCERI" id="BL0" priority="15" usedState="Not Use"/>
<Item currentVect="111" groupchild="&lt;br&gt;3-CDETI&lt;br&gt;4-CACI&lt;br&gt;5-SDACI&lt;br&gt;6-CDETIO&lt;br&gt;7-ERRIO&lt;br&gt;8-ACCIO&lt;br&gt;9-OEI1&lt;br&gt;10-OEI2&lt;br&gt;11-OEI3&lt;br&gt;12-OEI4&lt;br&gt;13-TEI0&lt;br&gt;14-EEI0&lt;br&gt;15-TEI2&lt;br&gt;16-EEI2&lt;br&gt;17-SSIF0&lt;br&gt;18-SSIF1&lt;br&gt;20-S12CMPAI&lt;br&gt;21-S12CMPBI&lt;br&gt;22-S12CMPAI1&lt;br&gt;23-S12CMPBI1&lt;br&gt;28-TEI1&lt;br&gt;29-EEI1" id="BL1" priority="15" usedState="Not Use"/>
<Item currentVect="112" groupchild="&lt;br&gt;0-TEI8&lt;br&gt;1-ERI8&lt;br&gt;4-TEI9&lt;br&gt;5-ERI9&lt;br&gt;8-TEI10&lt;br&gt;9-ERI10&lt;br&gt;12-TEI11&lt;br&gt;13-ERI11&lt;br&gt;16-SPII0&lt;br&gt;17-SPEI0&lt;br&gt;18-SPII1&lt;br&gt;19-SPEI1&lt;br&gt;20-SPII2&lt;br&gt;21-SPEI2&lt;br&gt;22-TEI7&lt;br&gt;23-ERI7" id="AL0" priority="15" usedState="Not Use"/>
<Item currentVect="113" groupchild="&lt;br&gt;0-MINT&lt;br&gt;1-PINT&lt;br&gt;4-EINT0&lt;br&gt;5-EINT1&lt;br&gt;8-VPOS&lt;br&gt;9-GR1UF&lt;br&gt;10-GR2UF&lt;br&gt;11-DRW_IRQ" id="AL1" priority="2" usedState="Used"/>
<Item currentVect="114" id="SCI11_RXI11" priority="15" usedState="Not Use"/>
<Item currentVect="115" id="SCI11_TXI11" priority="15" usedState="Not Use"/>
<Item currentVect="116" id="SCI12_RXI12" priority="15" usedState="Not Use"/>
<Item currentVect="117" id="SCI12_TXI12" priority="15" usedState="Not Use"/>
<Item currentVect="120" id="DMAC_DMAC0I" priority="15" usedState="Not Use"/>
<Item currentVect="121" id="DMAC_DMAC1I" priority="15" usedState="Not Use"/>
<Item currentVect="122" id="DMAC_DMAC2I" priority="15" usedState="Not Use"/>
<Item currentVect="123" id="DMAC_DMAC3I" priority="15" usedState="Not Use"/>
<Item currentVect="124" id="DMAC_DMAC74I" priority="15" usedState="Not Use"/>
<Item currentVect="125" id="OST_OSTDI" priority="15" usedState="Not Use"/>
<Item currentVect="126" id="EXDMAC_EXDMAC0I" priority="15" usedState="Not Use"/>
<Item currentVect="127" id="EXDMAC_EXDMAC1I" priority="15" usedState="Not Use"/>
<Item currentVect="128" defaultVect="128" id="CMT2_CMI2" priority="5" usedState="Used"/>
<Item currentVect="129" defaultVect="129" id="CMT3_CMI3" priority="5" usedState="Used"/>
<Item currentVect="130" defaultVect="130" id="TPU0_TGI0A" priority="15" usedState="Not Use"/>
<Item currentVect="131" defaultVect="131" id="TPU0_TGI0B" priority="15" usedState="Not Use"/>
<Item currentVect="132" defaultVect="132" id="TPU0_TGI0C" priority="15" usedState="Not Use"/>
<Item currentVect="133" defaultVect="133" id="TPU0_TGI0D" priority="15" usedState="Not Use"/>
<Item currentVect="134" defaultVect="134" id="TPU0_TCI0V" priority="15" usedState="Not Use"/>
<Item currentVect="135" defaultVect="135" id="TPU1_TGI1B" priority="15" usedState="Not Use"/>
<Item currentVect="136" defaultVect="136" id="TPU1_TCI1V" priority="15" usedState="Not Use"/>
<Item currentVect="137" defaultVect="137" id="TPU1_TCI1U" priority="15" usedState="Not Use"/>
<Item currentVect="138" defaultVect="138" id="TPU2_TGI2A" priority="15" usedState="Not Use"/>
<Item currentVect="139" defaultVect="139" id="TPU2_TGI2B" priority="15" usedState="Not Use"/>
<Item currentVect="140" defaultVect="140" id="TPU2_TCI2V" priority="15" usedState="Not Use"/>
<Item currentVect="141" defaultVect="141" id="TPU2_TCI2U" priority="15" usedState="Not Use"/>
<Item currentVect="142" defaultVect="142" id="TPU3_TGI3A" priority="15" usedState="Not Use"/>
<Item currentVect="143" defaultVect="143" id="TPU3_TGI3B" priority="15" usedState="Not Use"/>
<Item currentVect="144" defaultVect="144" id="TPU1_TGI1A" priority="15" usedState="Not Use"/>
<Item currentVect="145" defaultVect="145" id="TPU3_TGI3C" priority="15" usedState="Not Use"/>
<Item currentVect="146" defaultVect="146" id="TMR0_CMIA0" priority="15" usedState="Not Use"/>
<Item currentVect="147" defaultVect="147" id="TMR0_CMIB0" priority="15" usedState="Not Use"/>
<Item currentVect="148" defaultVect="148" id="TMR0_OVI0" priority="15" usedState="Not Use"/>
<Item currentVect="149" defaultVect="149" id="TMR1_CMIA1" priority="15" usedState="Not Use"/>
<Item currentVect="150" defaultVect="150" id="TMR1_CMIB1" priority="15" usedState="Not Use"/>
<Item currentVect="151" defaultVect="151" id="TMR1_OVI1" priority="15" usedState="Not Use"/>
<Item currentVect="152" defaultVect="152" id="TMR2_CMIA2" priority="15" usedState="Not Use"/>
<Item currentVect="153" defaultVect="153" id="TMR2_CMIB2" priority="15" usedState="Not Use"/>
<Item currentVect="154" defaultVect="154" id="TMR2_OVI2" priority="15" usedState="Not Use"/>
<Item currentVect="155" defaultVect="155" id="TMR3_CMIA3" priority="15" usedState="Not Use"/>
<Item currentVect="156" defaultVect="156" id="TMR3_CMIB3" priority="15" usedState="Not Use"/>
<Item currentVect="157" defaultVect="157" id="TMR3_OVI3" priority="15" usedState="Not Use"/>
<Item currentVect="158" defaultVect="158" id="TPU3_TGI3D" priority="15" usedState="Not Use"/>
<Item currentVect="159" defaultVect="159" id="TPU3_TCI3V" priority="15" usedState="Not Use"/>
<Item currentVect="160" defaultVect="160" id="TPU4_TGI4A" priority="15" usedState="Not Use"/>
<Item currentVect="161" defaultVect="161" id="TPU4_TGI4B" priority="15" usedState="Not Use"/>
<Item currentVect="162" defaultVect="162" id="TPU4_TCI4V" priority="15" usedState="Not Use"/>
<Item currentVect="163" defaultVect="163" id="TPU4_TCI4U" priority="15" usedState="Not Use"/>
<Item currentVect="164" defaultVect="164" id="TPU5_TGI5A" priority="15" usedState="Not Use"/>
<Item currentVect="165" defaultVect="165" id="TPU5_TGI5B" priority="15" usedState="Not Use"/>
<Item currentVect="166" defaultVect="166" id="TPU5_TCI5V" priority="15" usedState="Not Use"/>
<Item currentVect="167" defaultVect="167" id="TPU5_TCI5U" priority="15" usedState="Not Use"/>
<Item currentVect="168" defaultVect="168" id="CMTW0_IC0I0" priority="15" usedState="Not Use"/>
<Item currentVect="169" defaultVect="169" id="CMTW0_IC1I0" priority="15" usedState="Not Use"/>
<Item currentVect="170" defaultVect="170" id="CMTW0_OC0I0" priority="15" usedState="Not Use"/>
<Item currentVect="171" defaultVect="171" id="CMTW0_OC1I0" priority="15" usedState="Not Use"/>
<Item currentVect="172" defaultVect="172" id="CMTW1_IC0I1" priority="15" usedState="Not Use"/>
<Item currentVect="173" defaultVect="173" id="CMTW1_IC1I1" priority="15" usedState="Not Use"/>
<Item currentVect="174" defaultVect="174" id="CMTW1_OC0I1" priority="15" usedState="Not Use"/>
<Item currentVect="175" defaultVect="175" id="CMTW1_OC1I1" priority="15" usedState="Not Use"/>
<Item currentVect="176" defaultVect="176" id="RTC_CUP" priority="15" usedState="Not Use"/>
<Item currentVect="177" defaultVect="177" id="CAN0_RXF0" priority="15" usedState="Not Use"/>
<Item currentVect="178" defaultVect="178" id="CAN0_TXF0" priority="15" usedState="Not Use"/>
<Item currentVect="179" defaultVect="179" id="CAN0_RXM0" priority="15" usedState="Not Use"/>
<Item currentVect="180" defaultVect="180" id="CAN0_TXM0" priority="15" usedState="Not Use"/>
<Item currentVect="181" defaultVect="181" id="CAN1_RXF1" priority="15" usedState="Not Use"/>
<Item currentVect="182" defaultVect="182" id="CAN1_TXF1" priority="15" usedState="Not Use"/>
<Item currentVect="183" defaultVect="183" id="CAN1_RXM1" priority="15" usedState="Not Use"/>
<Item currentVect="184" defaultVect="184" id="CAN1_TXM1" priority="15" usedState="Not Use"/>
<Item currentVect="185" defaultVect="185" id="USB0_USBI0" priority="15" usedState="Not Use"/>
<Item currentVect="186" defaultVect="186" id="S12AD_S12ADI" priority="15" usedState="Not Use"/>
<Item currentVect="187" defaultVect="187" id="S12AD_S12GBADI" priority="15" usedState="Not Use"/>
<Item currentVect="188" defaultVect="188" id="S12AD_S12GCADI" priority="15" usedState="Not Use"/>
<Item currentVect="189" defaultVect="189" id="S12AD1_S12ADI1" priority="15" usedState="Not Use"/>
<Item currentVect="190" defaultVect="190" id="S12AD1_S12GBADI1" priority="15" usedState="Not Use"/>
<Item currentVect="191" defaultVect="191" id="S12AD1_S12GCADI1" priority="15" usedState="Not Use"/>
<Item currentVect="192" id="PERIB_INTB192" priority="15" usedState="Not Use"/>
<Item currentVect="193" defaultVect="193" id="ELC_ELSR18I" priority="15" usedState="Not Use"/>
<Item currentVect="194" defaultVect="194" id="ELC_ELSR19I" priority="15" usedState="Not Use"/>
<Item currentVect="195" defaultVect="195" id="TSIP_PROC_BUSY" priority="15" usedState="Not Use"/>
<Item currentVect="196" defaultVect="196" id="TSIP_ROMOK" priority="15" usedState="Not Use"/>
<Item currentVect="197" defaultVect="197" id="TSIP_LONG_PLG" priority="15" usedState="Not Use"/>
<Item currentVect="198" defaultVect="198" id="TSIP_TEST_BUSY" priority="15" usedState="Not Use"/>
<Item currentVect="199" defaultVect="199" id="TSIP_WRRDY0" priority="15" usedState="Not Use"/>
<Item currentVect="200" defaultVect="200" id="TSIP_WRRDY1" priority="15" usedState="Not Use"/>
<Item currentVect="201" defaultVect="201" id="TSIP_WRRDY4" priority="15" usedState="Not Use"/>
<Item currentVect="202" defaultVect="202" id="TSIP_RDRDY0" priority="15" usedState="Not Use"/>
<Item currentVect="203" defaultVect="203" id="TSIP_RDRDY1" priority="15" usedState="Not Use"/>
<Item currentVect="204" defaultVect="204" id="TSIP_INTEGRATE_WRRDY" priority="15" usedState="Not Use"/>
<Item currentVect="205" defaultVect="205" id="TSIP_INTEGRATE_RDRDY" priority="15" usedState="Not Use"/>
<Item currentVect="206" id="PERIB_INTB206" priority="15" usedState="Not Use"/>
<Item currentVect="207" id="PERIB_INTB207" priority="15" usedState="Not Use"/>
<Item currentVect="208" defaultVect="208" id="MTU1_TGIA1" priority="15" usedState="Not Use"/>
<Item currentVect="209" defaultVect="209" id="MTU0_TGIA0" priority="15" usedState="Not Use"/>
<Item currentVect="210" defaultVect="210" id="MTU0_TGIB0" priority="15" usedState="Not Use"/>
<Item currentVect="211" defaultVect="211" id="MTU0_TGIC0" priority="15" usedState="Not Use"/>
<Item currentVect="212" defaultVect="212" id="MTU0_TGID0" priority="15" usedState="Not Use"/>
<Item currentVect="213" defaultVect="213" id="MTU0_TCIV0" priority="15" usedState="Not Use"/>
<Item currentVect="214" defaultVect="214" id="MTU0_TGIE0" priority="15" usedState="Not Use"/>
<Item currentVect="215" defaultVect="215" id="MTU0_TGIF0" priority="15" usedState="Not Use"/>
<Item currentVect="216" defaultVect="216" id="MTU1_TGIB1" priority="15" usedState="Not Use"/>
<Item currentVect="217" defaultVect="217" id="MTU1_TCIV1" priority="15" usedState="Not Use"/>
<Item currentVect="218" defaultVect="218" id="MTU1_TCIU1" priority="15" usedState="Not Use"/>
<Item currentVect="219" defaultVect="219" id="MTU2_TGIA2" priority="15" usedState="Not Use"/>
<Item currentVect="220" defaultVect="220" id="MTU2_TGIB2" priority="15" usedState="Not Use"/>
<Item currentVect="221" defaultVect="221" id="MTU2_TCIV2" priority="15" usedState="Not Use"/>
<Item currentVect="222" defaultVect="222" id="MTU2_TCIU2" priority="15" usedState="Not Use"/>
<Item currentVect="223" defaultVect="223" id="MTU3_TGIA3" priority="15" usedState="Not Use"/>
<Item currentVect="224" defaultVect="224" id="MTU3_TGIB3" priority="15" usedState="Not Use"/>
<Item currentVect="225" defaultVect="225" id="MTU3_TGIC3" priority="15" usedState="Not Use"/>
<Item currentVect="226" defaultVect="226" id="MTU3_TGID3" priority="15" usedState="Not Use"/>
<Item currentVect="227" defaultVect="227" id="MTU3_TCIV3" priority="15" usedState="Not Use"/>
<Item currentVect="228" defaultVect="228" id="MTU4_TGIA4" priority="15" usedState="Not Use"/>
<Item currentVect="229" defaultVect="229" id="MTU4_TGIB4" priority="15" usedState="Not Use"/>
<Item currentVect="230" defaultVect="230" id="MTU4_TGIC4" priority="15" usedState="Not Use"/>
<Item currentVect="231" defaultVect="231" id="MTU4_TGID4" priority="15" usedState="Not Use"/>
<Item currentVect="232" defaultVect="232" id="MTU4_TCIV4" priority="15" usedState="Not Use"/>
<Item currentVect="233" defaultVect="233" id="MTU5_TGIU5" priority="15" usedState="Not Use"/>
<Item currentVect="234" defaultVect="234" id="MTU5_TGIV5" priority="15" usedState="Not Use"/>
<Item currentVect="235" defaultVect="235" id="MTU5_TGIW5" priority="15" usedState="Not Use"/>
<Item currentVect="236" defaultVect="236" id="MTU6_TGIA6" priority="15" usedState="Not Use"/>
<Item currentVect="237" defaultVect="237" id="MTU6_TGIB6" priority="15" usedState="Not Use"/>
<Item currentVect="238" defaultVect="238" id="MTU6_TGIC6" priority="15" usedState="Not Use"/>
<Item currentVect="239" defaultVect="239" id="MTU6_TGID6" priority="15" usedState="Not Use"/>
<Item currentVect="240" defaultVect="240" id="MTU6_TCIV6" priority="15" usedState="Not Use"/>
<Item currentVect="241" defaultVect="241" id="MTU7_TGIA7" priority="15" usedState="Not Use"/>
<Item currentVect="242" defaultVect="242" id="MTU7_TGIB7" priority="15" usedState="Not Use"/>
<Item currentVect="243" defaultVect="243" id="MTU7_TGIC7" priority="15" usedState="Not Use"/>
<Item currentVect="244" defaultVect="244" id="MTU7_TGID7" priority="15" usedState="Not Use"/>
<Item currentVect="245" defaultVect="245" id="MTU7_TCIV7" priority="15" usedState="Not Use"/>
<Item currentVect="246" defaultVect="246" id="MTU8_TGIA8" priority="15" usedState="Not Use"/>
<Item currentVect="247" defaultVect="247" id="MTU8_TGIB8" priority="15" usedState="Not Use"/>
<Item currentVect="248" defaultVect="248" id="MTU8_TGIC8" priority="15" usedState="Not Use"/>
<Item currentVect="249" defaultVect="249" id="MTU8_TGID8" priority="15" usedState="Not Use"/>
<Item currentVect="250" defaultVect="250" id="MTU8_TCIV8" priority="15" usedState="Not Use"/>
<Item currentVect="251" defaultVect="251" id="EPTPC_IPLS" priority="15" usedState="Not Use"/>
<Item currentVect="252" defaultVect="252" id="PMGI0_PMGI0I" priority="2" usedState="Used"/>
<Item currentVect="253" defaultVect="253" id="PMGI1_PMGI1I" priority="2" usedState="Used"/>
<Item currentVect="254" id="PERIA_INTA254" priority="15" usedState="Not Use"/>
<Item currentVect="255" id="PERIA_INTA255" priority="15" usedState="Not Use"/>
</tool>
<tool id="Pins" version="1.0.1.0">
<pinItem allocation="20" comments="" direction="None" id="XTAL" isUsedBySoftware="true" locked="false" operationMode="" status="0"/>
@@ -843,8 +843,8 @@
<item id="Level15" input="" vlaue="0"/>
</option>
</allocatable>
<component description="このソフトウェアコンポーネントは、8 ビットタイマ(TMR)の構成を提供します。&#10;&#10;外部イベントのカウントが可能なほか、2 本のレジスタとのコンペアマッチ信号により、カウンタのクリア、割り込み要求、任意のデューティ比のパルス出力など、多機能タイマとして種々の応用が可能です。" detailDescription="" display="8 ビットタイマ" id="com.renesas.smc.tools.swcomponent.codegenerator.tmr" version="1.10.0"/>
<allocator channelLevel0="0" channelLevel1="" channelLevel2="" channelLevel3="" channelLevel4="" channelLevel5="" description="8 ビットタイマ0" display="TMR0" id="com.renesas.smc.tools.swcomponent.codegenerator.tmr.rx72n.tmr0" type="">
<component description="This software component provides configuration for 8-Bit Timer (TMR).&#10;&#10;TMR module can be used to count external events and also be used as a multifunction timer in a variety of applications, such as generation of counter reset signal, interrupt requests, and pulse output with a desired duty cycle using a compare-match signal with two registers." detailDescription="" display="8-Bit Timer" id="com.renesas.smc.tools.swcomponent.codegenerator.tmr" version="1.10.0"/>
<allocator channelLevel0="0" channelLevel1="" channelLevel2="" channelLevel3="" channelLevel4="" channelLevel5="" description="8-Bit Timer 0" display="TMR0" id="com.renesas.smc.tools.swcomponent.codegenerator.tmr.rx72n.tmr0" type="">
<context>
<option enabled="true" id="CountMode" selection="8bitMode">
<item enabled="true" id="8bitMode"/>
@@ -852,20 +852,20 @@
</option>
</context>
</allocator>
<source description="コード生成に対応したコンポーネントは、設定に応じた周辺ドライバのコードを小さなコードサイズで出力します。" display="コード生成" id="com.renesas.smc.tools.swcomponent.codegenerator.source"/>
<source description="Code generator components provide peripheral drivers with customized generated source geared towards small code size" display="Code Generator" id="com.renesas.smc.tools.swcomponent.codegenerator.source"/>
</configuration>
<configuration inuse="true" name="r_sys_time_rx">
<component description="依存モジュール: r_bsp バージョン 5.20&#10;依存モジュール: r_cmt_rx バージョン 4.00&#10;Generic system timer for RX MCUs using CMT module." detailDescription="Generic system timer for RX MCUs using CMT module." display="r_sys_time_rx" id="r_sys_time_rx1.01" version="1.01"/>
<component description="Dependency : r_bsp version(s) 5.20&#10;Dependency : r_cmt_rx version(s) 4.00&#10;Generic system timer for RX MCUs using CMT module." detailDescription="Generic system timer for RX MCUs using CMT module." display="r_sys_time_rx" id="r_sys_time_rx1.01" version="1.01"/>
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
</configuration>
<configuration inuse="true" name="r_t4_driver_rx">
<component description="依存モジュール: r_bsp バージョン 5.61&#10;依存モジュール: r_ether_rx バージョン 1.21&#10;依存モジュール: r_sys_time_rx バージョン 1.01&#10;依存モジュール: r_t4_rx バージョン 2.10&#10;Convert the TCP/IP(T4) - RX Ethernet Driver Interface." detailDescription="TCP/IP protocol stack [M3S-T4-Tiny] - RX Ethernet Driver Interface" display="r_t4_driver_rx" id="r_t4_driver_rx1.09" version="1.09"/>
<component description="Dependency : r_bsp version(s) 5.61&#10;Dependency : r_ether_rx version(s) 1.21&#10;Dependency : r_sys_time_rx version(s) 1.01&#10;Dependency : r_t4_rx version(s) 2.10&#10;Convert the TCP/IP(T4) - RX Ethernet Driver Interface." detailDescription="TCP/IP protocol stack [M3S-T4-Tiny] - RX Ethernet Driver Interface" display="r_t4_driver_rx" id="r_t4_driver_rx1.09" version="1.09"/>
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
</configuration>
<configuration inuse="true" name="r_t4_rx">
<component description="依存モジュール: r_t4_driver_rx バージョン 1.09&#10;T4 is TCP/IP protocol stack that has small footprint for Renesas MCUs." detailDescription="TCP/IP protocol stack [M3S-T4-Tiny] for Renesas MCUs" display="r_t4_rx" id="r_t4_rx2.10" version="2.10">
<component description="Dependency : r_t4_driver_rx version(s) 1.09&#10;T4 is TCP/IP protocol stack that has small footprint for Renesas MCUs." detailDescription="TCP/IP protocol stack [M3S-T4-Tiny] for Renesas MCUs" display="r_t4_rx" id="r_t4_rx2.10" version="2.10">
<gridItem id="T4_CFG_SYSTEM_CHANNEL_NUMBER" selectedIndex="0"/>
<gridItem id="T4_CFG_SYSTEM_DHCP" selectedIndex="0"/>
<gridItem id="T4_CFG_FIXED_IP_ADDRESS_CH0" selectedIndex="192,168,11,33"/>
@@ -951,14 +951,14 @@
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
</configuration>
<configuration inuse="true" name="r_cmt_rx">
<component description="依存モジュール: r_bsp バージョン 7.20&#10;This module creates a timer tick using a CMT channel based on a frequency input by the user." detailDescription="CMT driver" display="r_cmt_rx" id="r_cmt_rx5.20" version="5.20">
<component description="Dependency : r_bsp version(s) 7.20&#10;This module creates a timer tick using a CMT channel based on a frequency input by the user." detailDescription="CMT driver" display="r_cmt_rx" id="r_cmt_rx5.20" version="5.20">
<gridItem id="CMT_RX_CFG_IPR" selectedIndex="5"/>
</component>
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
</configuration>
<configuration inuse="true" name="r_ether_rx">
<component description="依存モジュール: r_bsp バージョン 5.52&#10;The Ethernet fit module provides a method to send and receive Ethernet / IEEE802.3 frame using Ethernet controller (ETHERC), Ethernet DMA controller (EDMAC)." detailDescription="Ethernet Driver." display="r_ether_rx" id="r_ether_rx1.22" version="1.22">
<component description="Dependency : r_bsp version(s) 5.52&#10;The Ethernet fit module provides a method to send and receive Ethernet / IEEE802.3 frame using Ethernet controller (ETHERC), Ethernet DMA controller (EDMAC)." detailDescription="Ethernet Driver." display="r_ether_rx" id="r_ether_rx1.22" version="1.22">
<gridItem id="CLKOUT25M" selectedIndex="1"/>
<gridItem id="ET0_TX_CLK" selectedIndex="1"/>
<gridItem id="ET0_RX_CLK" selectedIndex="1"/>
@@ -1069,7 +1069,7 @@
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
</configuration>
<configuration inuse="true" name="r_tsip_rx">
<component description="依存モジュール: r_bsp バージョン 7.30&#10;Support functions: AES, GCM, CCM, CMAC, SHA, MD5, Triple-DES, ARC4, RSA, ECC, Random number generate, Key management, secure boot/secure firmware update." detailDescription="TSIP(Trusted Secure IP) driver." display="r_tsip_rx" id="r_tsip_rx1.21" version="1.21">
<component description="Dependency : r_bsp version(s) 7.30&#10;Support functions: AES, GCM, CCM, CMAC, SHA, MD5, Triple-DES, ARC4, RSA, ECC, Random number generate, Key management, secure boot/secure firmware update." detailDescription="TSIP(Trusted Secure IP) driver." display="r_tsip_rx" id="r_tsip_rx1.21" version="1.21">
<gridItem id="TSIP_AES_128_ECB_ENCRYPT" selectedIndex="0"/>
<gridItem id="TSIP_AES_256_ECB_ENCRYPT" selectedIndex="0"/>
<gridItem id="TSIP_AES_128_ECB_DECRYPT" selectedIndex="0"/>
@@ -1130,7 +1130,7 @@
<source description="Components supporting Firmware Integration Technology" display="Firmware Integration Technology" id="com.renesas.smc.tools.swcomponent.fit.source"/>
</configuration>
<configuration inuse="true" name="r_bsp">
<component description="依存モジュール: なし&#10;The r_bsp package provides a foundation for code to be built on top of. It provides startup code, iodefines, and MCU information for different boards. There are 2 folders that make up the r_bsp package. The 'mcu' folder contains files that are common to a MCU group. These files provide functionality such as easy register access, CPU functions, and a file named 'mcu_info.h' for each MCU group. The 'mcu_info.h' file has information about the MCU on the board and is configured based on the information given in r_bsp_config.h. The information in 'mcu_info.h' is used to help configure Renesas middleware that uses the r_bsp package. The 'board' folder has a folder with startup code for each supported board. Which MCU and board is chosen is decided by the settings in 'platform.h'. The user can choose which board they are using by uncommenting the include path that applies to their board. For example, if you are using the RSK+RX64M then you would uncomment the #include &quot;./board/generic_rx64m/r_bsp.h&quot; include path. Users are encouraged to add their own boards to the 'board' directory. BSPs are configured by using the r_bsp_config.h file. Each board will have a reference configuration file named r_bsp_config_reference.h. The user should copy this file to their project, rename it to r_bsp_config.h, and use the options inside the file to configure the BSP for their project." detailDescription="Board Support Packages." display="r_bsp" id="r_bsp7.51" version="7.51">
<component description="Dependencies : None&#10;The r_bsp package provides a foundation for code to be built on top of. It provides startup code, iodefines, and MCU information for different boards. There are 2 folders that make up the r_bsp package. The 'mcu' folder contains files that are common to a MCU group. These files provide functionality such as easy register access, CPU functions, and a file named 'mcu_info.h' for each MCU group. The 'mcu_info.h' file has information about the MCU on the board and is configured based on the information given in r_bsp_config.h. The information in 'mcu_info.h' is used to help configure Renesas middleware that uses the r_bsp package. The 'board' folder has a folder with startup code for each supported board. Which MCU and board is chosen is decided by the settings in 'platform.h'. The user can choose which board they are using by uncommenting the include path that applies to their board. For example, if you are using the RSK+RX64M then you would uncomment the #include &quot;./board/generic_rx64m/r_bsp.h&quot; include path. Users are encouraged to add their own boards to the 'board' directory. BSPs are configured by using the r_bsp_config.h file. Each board will have a reference configuration file named r_bsp_config_reference.h. The user should copy this file to their project, rename it to r_bsp_config.h, and use the options inside the file to configure the BSP for their project." detailDescription="Board Support Packages." display="r_bsp" id="r_bsp7.51" version="7.51">
<gridItem id="BSP_CFG_USER_STACK_ENABLE" selectedIndex="1"/>
<gridItem id="BSP_CFG_USTACK_BYTES" selectedIndex="0x2000"/>
<gridItem id="BSP_CFG_ISTACK_BYTES" selectedIndex="0x400"/>
@@ -1138,8 +1138,8 @@
<gridItem id="BSP_CFG_IO_LIB_ENABLE" selectedIndex="1"/>
<gridItem id="BSP_CFG_USER_CHARGET_ENABLED" selectedIndex="0"/>
<gridItem id="BSP_CFG_USER_CHARGET_FUNCTION" selectedIndex="my_sw_charget_function"/>
<gridItem id="BSP_CFG_USER_CHARPUT_ENABLED" selectedIndex="0"/>
<gridItem id="BSP_CFG_USER_CHARPUT_FUNCTION" selectedIndex="my_sw_charput_function"/>
<gridItem id="BSP_CFG_USER_CHARPUT_ENABLED" selectedIndex="1"/>
<gridItem id="BSP_CFG_USER_CHARPUT_FUNCTION" selectedIndex="sci2_uart_charput"/>
<gridItem id="BSP_CFG_RUN_IN_USER_MODE" selectedIndex="0"/>
<gridItem id="BSP_CFG_ID_CODE_LONG_1" selectedIndex="0xFFFFFFFF"/>
<gridItem id="BSP_CFG_ID_CODE_LONG_2" selectedIndex="0xFFFFFFFF"/>
@@ -37,3 +37,4 @@ EXTRA_DIST+= IDE/Renesas/e2studio/RX72N/EnvisionKit/Simple/test/test.rcpc
EXTRA_DIST+= IDE/Renesas/e2studio/RX72N/EnvisionKit/Simple/test/test.scfg
EXTRA_DIST+= IDE/Renesas/e2studio/RX72N/EnvisionKit/Simple/wolfssl/.cproject
EXTRA_DIST+= IDE/Renesas/e2studio/RX72N/EnvisionKit/Simple/wolfssl/.project
EXTRA_DIST+= IDE/Renesas/e2studio/RX72N/EnvisionKit/Simple/build.bat
@@ -101,6 +101,7 @@
#define HAVE_TLS_EXTENSIONS
#define HAVE_AESGCM
#define GCM_TABLE_4BIT
#define HAVE_AESCCM
#define HAVE_AES_CBC
#define WOLFSSL_AES_DIRECT
@@ -1506,12 +1506,197 @@ int tsip_crypt_Sha_AesCbcGcm_multitest(void)
#endif
#if !defined(NO_SHA256) && !defined(NO_WOLFSSL_RENESAS_TSIP_CRYPT_HASH)
static int tsip_sha256_hash_test(int prnt)
{
wc_Sha256 sha;
byte hash1[WC_SHA256_DIGEST_SIZE];
byte hash2[WC_SHA256_DIGEST_SIZE];
int ret = 0;
int shaInited = 0;
/* SHA-256("abc") */
static const byte msg[] = { 0x61, 0x62, 0x63 };
static const byte expected[WC_SHA256_DIGEST_SIZE] = {
0xba, 0x78, 0x16, 0xbf, 0x8f, 0x01, 0xcf, 0xea,
0x41, 0x41, 0x40, 0xde, 0x5d, 0xae, 0x22, 0x23,
0xb0, 0x03, 0x61, 0xa3, 0x96, 0x17, 0x7a, 0x9c,
0xb4, 0x10, 0xff, 0x61, 0xf2, 0x00, 0x15, 0xad
};
if (prnt)
printf(" tsip_sha256_hash_test() ");
/* wc_Sha256Final: correct digest */
ret = wc_InitSha256_ex(&sha, NULL, 0);
if (ret != 0) {
ret = -1;
goto out;
}
shaInited = 1;
ret = wc_Sha256Update(&sha, msg, sizeof(msg));
if (ret != 0) {
ret = -2;
goto out;
}
XMEMSET(hash1, 0, sizeof(hash1));
ret = wc_Sha256Final(&sha, hash1);
if (ret != 0) {
ret = -3;
goto out;
}
if (XMEMCMP(hash1, expected, WC_SHA256_DIGEST_SIZE) != 0) {
ret = -4; goto out;
}
/* wc_Sha256GetHash: non-destructive, same digest on repeated calls */
ret = wc_Sha256Update(&sha, msg, sizeof(msg));
if (ret != 0) {
ret = -5;
goto out;
}
XMEMSET(hash1, 0, sizeof(hash1));
ret = wc_Sha256GetHash(&sha, hash1);
if (ret != 0) {
ret = -6;
goto out;
}
if (XMEMCMP(hash1, expected, WC_SHA256_DIGEST_SIZE) != 0) {
ret = -7;
goto out;
}
XMEMSET(hash2, 0, sizeof(hash2));
ret = wc_Sha256GetHash(&sha, hash2);
if (ret != 0) {
ret = -8;
goto out;
}
if (XMEMCMP(hash1, hash2, WC_SHA256_DIGEST_SIZE) != 0) {
ret = -9; goto out;
}
/* Final after GetHash must also match */
XMEMSET(hash2, 0, sizeof(hash2));
ret = wc_Sha256Final(&sha, hash2);
if (ret != 0) {
ret = -10;
goto out;
}
if (XMEMCMP(hash1, hash2, WC_SHA256_DIGEST_SIZE) != 0) {
ret = -11; goto out;
}
out:
if (shaInited)
wc_Sha256Free(&sha);
if (prnt) {
if (ret != 0)
printf("(code=%d) ", ret);
RESULT_STR(ret)
}
return ret;
}
#endif /* !NO_SHA256 && !NO_WOLFSSL_RENESAS_TSIP_CRYPT_HASH */
#if !defined(NO_SHA) && !defined(NO_WOLFSSL_RENESAS_TSIP_CRYPT_HASH)
static int tsip_sha1_hash_test(int prnt)
{
wc_Sha sha;
byte hash1[WC_SHA_DIGEST_SIZE];
byte hash2[WC_SHA_DIGEST_SIZE];
int ret = 0;
int shaInited = 0;
/* NIST FIPS 180-4: SHA-1("abc") */
static const byte msg[] = { 0x61, 0x62, 0x63 };
static const byte expected[WC_SHA_DIGEST_SIZE] = {
0xa9, 0x99, 0x3e, 0x36, 0x47, 0x06, 0x81, 0x6a,
0xba, 0x3e, 0x25, 0x71, 0x78, 0x50, 0xc2, 0x6c,
0x9c, 0xd0, 0xd8, 0x9d
};
if (prnt)
printf(" tsip_sha1_hash_test() ");
/* wc_ShaFinal: correct digest */
ret = wc_InitSha_ex(&sha, NULL, 0);
if (ret != 0) {
ret = -1;
goto out;
}
shaInited = 1;
ret = wc_ShaUpdate(&sha, msg, sizeof(msg));
if (ret != 0) {
ret = -2;
goto out;
}
XMEMSET(hash1, 0, sizeof(hash1));
ret = wc_ShaFinal(&sha, hash1);
if (ret != 0) {
ret = -3;
goto out;
}
if (XMEMCMP(hash1, expected, WC_SHA_DIGEST_SIZE) != 0) {
ret = -4;
goto out;
}
/* wc_ShaGetHash: non-destructive, same digest on repeated calls */
ret = wc_ShaUpdate(&sha, msg, sizeof(msg));
if (ret != 0) {
ret = -5;
goto out;
}
XMEMSET(hash1, 0, sizeof(hash1));
ret = wc_ShaGetHash(&sha, hash1);
if (ret != 0) {
ret = -6;
goto out;
}
if (XMEMCMP(hash1, expected, WC_SHA_DIGEST_SIZE) != 0) {
ret = -7;
goto out;
}
XMEMSET(hash2, 0, sizeof(hash2));
ret = wc_ShaGetHash(&sha, hash2);
if (ret != 0) {
ret = -8;
goto out;
}
if (XMEMCMP(hash1, hash2, WC_SHA_DIGEST_SIZE) != 0) {
ret = -9;
goto out;
}
/* Final after GetHash must also match */
XMEMSET(hash2, 0, sizeof(hash2));
ret = wc_ShaFinal(&sha, hash2);
if (ret != 0) {
ret = -10;
goto out;
}
if (XMEMCMP(hash1, hash2, WC_SHA_DIGEST_SIZE) != 0) {
ret = -11; goto out;
}
out:
if (shaInited)
wc_ShaFree(&sha);
if (prnt) {
if (ret != 0)
printf("(code=%d) ", ret);
RESULT_STR(ret)
}
return ret;
}
#endif /* !NO_SHA && !NO_WOLFSSL_RENESAS_TSIP_CRYPT_HASH */
int tsip_crypt_test(void)
{
int ret = 0;
int devId;
Clr_CallbackCtx(&userContext);
if (ret != 0) {
printf("TSIP Key Generation failed\n");
return -1;
@@ -1537,6 +1722,16 @@ int tsip_crypt_test(void)
}
#endif
#if !defined(NO_SHA256) && !defined(NO_WOLFSSL_RENESAS_TSIP_CRYPT_HASH)
if (ret == 0)
ret = tsip_sha256_hash_test(1);
#endif
#if !defined(NO_SHA) && !defined(NO_WOLFSSL_RENESAS_TSIP_CRYPT_HASH)
if (ret == 0)
ret = tsip_sha1_hash_test(1);
#endif
#ifdef HAVE_AES_CBC
ret = TSIP_AesKeyGeneration(&userContext, 16);
if (ret == 0)
@@ -171,7 +171,7 @@ WOLFSSL_LOCAL int tsip_Tls13AesEncrypt(
sz);
if (err != TSIP_SUCCESS) {
WOLFSSL_MSG("R_TSIP_Tls13DecryptUpdate error");
WOLFSSL_MSG("R_TSIP_Tls13EncryptInit error");
ret = WC_HW_E;
}
@@ -201,7 +201,7 @@ WOLFSSL_LOCAL int tsip_Tls13AesEncrypt(
remain -= dataSz;
}
else {
WOLFSSL_MSG("R_TSIP_Tls13DecryptUpdate error");
WOLFSSL_MSG("R_TSIP_Tls13EncryptUpdate error");
ret = WC_HW_E;
}
}
@@ -1123,7 +1123,7 @@ int wc_tsip_AesGcmDecrypt(
if (err == TSIP_SUCCESS) {
/* pass only AAD and it's size before passing cipher text */
err = updateFn(&hdl, NULL, NULL, 0UL, (uint8_t*)authIn,
err = updateFn(&hdl, NULL, NULL, 0UL, (uint8_t*)aadBuf,
authInSz);
}
if (err == TSIP_SUCCESS) {
+15 -5
View File
@@ -364,7 +364,7 @@ static int TSIPHashUpdate(wolfssl_TSIP_Hash* hash, const byte* data, word32 sz)
static int TSIPHashFinal(wolfssl_TSIP_Hash* hash, byte* out, word32 outSz)
{
int ret;
int ret = WC_HW_E;
void* heap;
tsip_sha_md5_handle_t handle;
uint32_t sz;
@@ -400,19 +400,26 @@ static int TSIPHashFinal(wolfssl_TSIP_Hash* hash, byte* out, word32 outSz)
ret = Final(&handle, out, (uint32_t*)&sz);
if (ret != TSIP_SUCCESS || sz != outSz) {
tsip_hw_unlock();
return ret;
return (ret == TSIP_SUCCESS) ? WC_HW_E : ret;
}
}
else {
ret = WC_HW_E;
}
}
tsip_hw_unlock();
if (ret != 0) {
return ret;
}
TSIPHashFree(hash);
return TSIPHashInit(hash, heap, 0, hash->sha_type);
}
static int TSIPHashGet(wolfssl_TSIP_Hash* hash, byte* out, word32 outSz)
{
int ret;
int ret = WC_HW_E;
tsip_sha_md5_handle_t handle;
uint32_t sz;
@@ -445,14 +452,17 @@ static int TSIPHashGet(wolfssl_TSIP_Hash* hash, byte* out, word32 outSz)
ret = Final(&handle, out, &sz);
if (ret != TSIP_SUCCESS || sz != outSz) {
tsip_hw_unlock();
return ret;
return (ret == TSIP_SUCCESS) ? WC_HW_E : ret;
}
}
else {
ret = WC_HW_E;
}
}
tsip_hw_unlock();
return 0;
return ret;
}
static int TSIPHashCopy(wolfssl_TSIP_Hash* src, wolfssl_TSIP_Hash* dst)
@@ -2459,7 +2459,8 @@ int tsip_ImportPublicKey(TsipUserCtx* tuc, int keyType)
sizeof(tsip_rsa2048_public_key_index_t), NULL,
DYNAMIC_TYPE_RSA_BUFFER);
if (tuc->rsa2048pub_keyIdx == NULL) {
return MEMORY_E;
ret = MEMORY_E;
break;
}
#endif
err = R_TSIP_GenerateRsa2048PublicKeyIndex(
@@ -3220,8 +3221,10 @@ int wc_tsip_generateSessionKey(
if (enc->aes == NULL) {
enc->aes = (Aes*)XMALLOC(sizeof(Aes), ssl->heap,
DYNAMIC_TYPE_CIPHER);
if (enc->aes == NULL)
if (enc->aes == NULL) {
tsip_hw_unlock();
return MEMORY_E;
}
}
ForceZero(enc->aes, sizeof(Aes));
@@ -3234,6 +3237,7 @@ int wc_tsip_generateSessionKey(
if (enc) {
XFREE(enc->aes, NULL, DYNAMIC_TYPE_CIPHER);
}
tsip_hw_unlock();
return MEMORY_E;
}
}