Hi,
How to run the Security Accelerator example on Arm core 0 (ARM_15core#0) on K2E EVM board ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
How to run the Security Accelerator example on Arm core 0 (ARM_15core#0) on K2E EVM board ?
How to run the Security Accelerator example on Arm core 0 (ARM_15core#0) on K2E EVM board ?
Pre-requisite
Steps:
1. DIP Switch settings on the K2E EVM board :- SW1 0001 - No boot mode.
2. Import the project in CCS. ( C:\ti\pdk_k2e_4_0_16\packages\MyExampleProjects\SA_BasicExample_K2EArmBiosExampleProject )
3. Connect the .ccxml file and run the gel file. ( \ti\ccs930\ccs\ccs_base\emulation\boards\evmk2e\gel\evmk2e_arm.gel )
4. load the .out of SA_BasicExample_K2EArmBiosExampleProject on [arm_A15_0]
5. Run and observe the output.
-------------------------------------
The following is the successful-output messages while running this project...
----------
[arm_A15_0]
------- SA Unit Test Starting ---------
PDSP 0 version = 0x03000203
PDSP 1 version = 0x03000203
PDSP 2 version = 0x03000203
PDSP 3 version = 0x03000203
PDSP 4 version = 0x03000203
PDSP 5 version = 0x03000203
PDSP 6 version = 0x03000203
PDSP 7 version = 0x03000203
PDSP 8 version = 0x03000203
PDSP 9 version = 0x03000203
PDSP 10 version = 0x03000203
PDSP 11 version = 0x03000203
PDSP 12 version = 0x03000203
PDSP 13 version = 0x03000203
PDSP 14 version = 0x03000203
t at 0x800d7a16, size = 170
Receive Pkt 4 from PA/SA
Software Info: 0x55550000, 0x00001110, 0x00000000
PS Info[0] = 0x1880004e
PS Info[1] = 0x009e0011
PS Info[2] = 0x0e464e22
PS Info[3] = 0x18ff0921
PS Info[4] = 0x00000002
PS Info[5] = 0x32660000
PS Info[6] = 0x00000000
PS Info[7] = 0x00000000
Packet of size 170 received at 0x800f8f80
Receive TxPkt 4 from PA/SA
Software Info: 0x11100000, 0x00001110, 0x00000000
Packet of size 170 received at 0x800cad00
Routing Pkt 5 to PA: BufPtr = 0x800f9080, pkt at 0x800d7ac6, size = 170
Receive Pkt 5 from PA/SA
Software Info: 0x55550000, 0x00001110, 0x00000000
PS Info[0] = 0x1880004e
PS Info[1] = 0x009e0011
PS Info[2] = 0x0e464e22
PS Info[3] = 0x18ff0921
PS Info[4] = 0x00000002
PS Info[5] = 0x32660000
PS Info[6] = 0x00000000
PS Info[7] = 0x00000000
Packet of size 170 received at 0x800f8280
Receive TxPkt 5 from PA/SA
Software Info: 0x11100000, 0x00001110, 0x00000000
Packet of size 170 received at 0x800ca100
SA IPSEC ESP test: Stat classify1.nTableMatch expected 15, found 20
SALLD channel 0: Send Null Packet
SALLD channel 0: Send Null Packet
Chan 0 (IPSEC) Statistics:
----------------------------------------------------
numPktsEncHi = 0x00000000
numPktsEncLo = 0x00000005
numPktsDecHi = 0x00000000
numPktsDecLo = 0x00000005
numBytesEncHi = 0x00000000
numBytesEncLo = 0x00000230
numBytesDecHi = 0x00000000
numBytesDecLo = 0x00000230
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txESN = 0x22222220
txSN = 0x12121217
rxESN = 0x11111110
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
SALLD channel 0: UnRegister Sw Info
SALLD channel 0: Send Null Packet
DONE
SA IPSEC ESP test: PASSED
kt at 0x800d79fe, size = 162
Receive Pkt 4 from PA/SA
Software Info: 0x55550000, 0x00002222, 0x00000000
PS Info[0] = 0x18800052
PS Info[1] = 0x00a20011
PS Info[2] = 0x0e4a5222
PS Info[3] = 0x18ff0a21
PS Info[4] = 0x00000002
PS Info[5] = 0x36660000
PS Info[6] = 0x10004000
PS Info[7] = 0x00000000
Packet of size 162 received at 0x800f8480
Receive TxPkt 4 from PA/SA
Software Info: 0x55550000, 0x00000000, 0x00000000
Packet of size 162 received at 0x800f8580
Routing Pkt 5 to PA: BufPtr = 0x800f8680, pkt at 0x800d7aa6, size = 162
Receive Pkt 5 from PA/SA
Software Info: 0x55550000, 0x00002222, 0x00000000
PS Info[0] = 0x18800052
PS Info[1] = 0x00a20011
PS Info[2] = 0x0e4a5222
PS Info[3] = 0x18ff0a21
PS Info[4] = 0x00000002
PS Info[5] = 0x36660000
PS Info[6] = 0x10004000
PS Info[7] = 0x00000000
Packet of size 162 received at 0x800f8880
Receive TxPkt 5 from PA/SA
Software Info: 0x55550000, 0x00000000, 0x00000000
Packet of size 162 received at 0x800f8980
SA IPSEC AH test: Stat classify1.nTableMatch expected 15, found 20
SALLD channel 0: Send Null Packet
SALLD channel 0: Send Null Packet
Chan 0 (IPSEC) Statistics:
----------------------------------------------------
numPktsEncHi = 0x00000000
numPktsEncLo = 0x00000005
numPktsDecHi = 0x00000000
numPktsDecLo = 0x00000005
numBytesEncHi = 0x00000000
numBytesEncLo = 0x000002f8
numBytesDecHi = 0x00000000
numBytesDecLo = 0x000002e4
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txESN = 0x44444440
txSN = 0x00000005
rxESN = 0x33333330
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
SALLD channel 0: UnRegister Sw Info
SALLD channel 0: Send Null Packet
DONE
SA IPSEC AH test: PASSED
received at 0x800f8280
Routing Pkt 4 to PA: BufPtr = 0x800f8380, pkt at 0x800d79c8, size = 144
Receive Pkt 4 from PA/SA
Software Info: 0x33330000, 0x00003333, 0x00000000
PS Info[0] = 0x1880002a
PS Info[1] = 0x00900011
PS Info[2] = 0x0e222a00
PS Info[3] = 0x08ff0821
PS Info[4] = 0x00000001
PS Info[5] = 0x007c0000
PS Info[6] = 0x10004001
PS Info[7] = 0x00000000
Packet of size 144 received at 0x800ca300
Receive TxPkt 4 from PA/SA
Software Info: 0x07777000, 0x00000000, 0x00000000
Packet of size 144 received at 0x800f8580
Routing Pkt 5 to PA: BufPtr = 0x800f8680, pkt at 0x800d7a5e, size = 144
Receive Pkt 5 from PA/SA
Software Info: 0x33330000, 0x00003333, 0x00000000
PS Info[0] = 0x1880002a
PS Info[1] = 0x00900011
PS Info[2] = 0x0e222a00
PS Info[3] = 0x08ff0821
PS Info[4] = 0x00000001
PS Info[5] = 0x007c0000
PS Info[6] = 0x10004000
PS Info[7] = 0x00000000
Packet of size 144 received at 0x800ca700
Receive TxPkt 5 from PA/SA
Software Info: 0x07777000, 0x00000000, 0x00000000
Packet of size 144 received at 0x800f8880
Chan 0 (SRTP) Statistics:
----------------------------------------------------
numPktsEnc = 0x000000000005
numPktsDec = 0x000000000005
numTxRekey = 0
numRxRekey = 0
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txROC = 0x66666600
rxROC = 0x55555500
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
SALLD channel 0: UnRegister Sw Info
SALLD channel 0: Send Null Packet
DONE
SA SRTP test: PASSED
0x800d7a52, size = 190
Receive Pkt 4 from PA/SA
Software Info: 0x33330000, 0x00003333, 0x00000000
PS Info[0] = 0x1880004e
PS Info[1] = 0x00b40011
PS Info[2] = 0x0e464e22
PS Info[3] = 0x18ff0921
PS Info[4] = 0x00000002
PS Info[5] = 0x327c0000
PS Info[6] = 0x07777000
PS Info[7] = 0x00000000
Packet of size 190 received at 0x800ca500
Receive TxPkt 4 from PA/SA
Software Info: 0x11100000, 0x00001110, 0x00000000
Packet of size 190 received at 0x800ca900
Routing Pkt 5 to PA: BufPtr = 0x800f8c80, pkt at 0x800d7b16, size = 190
Receive Pkt 5 from PA/SA
Software Info: 0x33330000, 0x00003333, 0x00000000
PS Info[0] = 0x1880004e
PS Info[1] = 0x00b40011
PS Info[2] = 0x0e464e22
PS Info[3] = 0x18ff0921
PS Info[4] = 0x00000002
PS Info[5] = 0x327c0000
PS Info[6] = 0x07777000
PS Info[7] = 0x00000000
Packet of size 190 received at 0x800cad00
Receive TxPkt 5 from PA/SA
Software Info: 0x11100000, 0x00001110, 0x00000000
Packet of size 190 received at 0x800ca100
SA SRTP over ESP test: Stat classify1.nTableMatch expected 15, found 20
ktsEncLo = 0x00000005
numPktsDecHi = 0x00000000
numPktsDecLo = 0x00000005
numBytesEncHi = 0x00000000
numBytesEncLo = 0x00000294
numBytesDecHi = 0x00000000
numBytesDecLo = 0x00000294
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txESN = 0x22222220
txSN = 0x12121217
rxESN = 0x11111110
Chan 1 (SRTP) Statistics:
----------------------------------------------------
numPktsEnc = 0x000000000005
numPktsDec = 0x000000000005
numTxRekey = 0
numRxRekey = 0
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txROC = 0x66666600
rxROC = 0x55555500
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
SALLD channel 0: UnRegister Sw Info
SALLD channel 0: Send Null Packet
DONE
Closing SALLD Channel 1 ...
SALLD channel 1: Send Null Packet
SALLD channel 1: UnRegister Sw Info
SALLD channel 1: Send Null Packet
DONE
SA SRTP over ESP test: PASSED
00, 0x00002220, 0x00000000
PS Info[0] = 0x70000432
PS Info[1] = 0x55550000
PS Info[2] = 0x00000000
PS Info[3] = 0x4858002e
PS Info[4] = 0xc6cd2465
PS Info[5] = 0x38e586c6
PS Info[6] = 0x89fc318a
PS Info[7] = 0x0bd456f3
Packet of size 184 received at 0x800ca100
Routing Pkt 5 to PA: BufPtr = 0x800f8380, pkt at 0x800d7afe, size = 184
Receive Pkt 5 from PA/SA
Software Info: 0x33330000, 0x00003333, 0x00000000
PS Info[0] = 0x18800052
PS Info[1] = 0x00b80011
PS Info[2] = 0x0e4a5222
PS Info[3] = 0x18ff0a21
PS Info[4] = 0x00000002
PS Info[5] = 0x367c0000
PS Info[6] = 0x10004000
PS Info[7] = 0x00000000
Packet of size 184 received at 0x800ca500
Receive TxPkt 5 from PA/SA
Software Info: 0x22200000, 0x00002220, 0x00000000
PS Info[0] = 0x70000432
PS Info[1] = 0x55550000
PS Info[2] = 0x00000000
PS Info[3] = 0x4858002e
PS Info[4] = 0xc11fb0b1
PS Info[5] = 0xeca80fe9
PS Info[6] = 0x9cb84c5e
PS Info[7] = 0x1f7f6801
Packet of size 184 received at 0x800ca900
SA SRTP over AH test: Stat classify1.nTableMatch expected 15, found 20
PktsEncLo = 0x00000005
numPktsDecHi = 0x00000000
numPktsDecLo = 0x00000005
numBytesEncHi = 0x00000000
numBytesEncLo = 0x00000366
numBytesDecHi = 0x00000000
numBytesDecLo = 0x00000352
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txESN = 0x44444440
txSN = 0x00000005
rxESN = 0x33333330
Chan 1 (SRTP) Statistics:
----------------------------------------------------
numPktsEnc = 0x000000000005
numPktsDec = 0x000000000005
numTxRekey = 0
numRxRekey = 0
numReplayOld = 0
numReplayDup = 0
numAuthFail = 0
txROC = 0x66666600
rxROC = 0x55555500
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
SALLD channel 0: UnRegister Sw Info
SALLD channel 0: Send Null Packet
DONE
Closing SALLD Channel 1 ...
SALLD channel 1: Send Null Packet
SALLD channel 1: UnRegister Sw Info
SALLD channel 1: Send Null Packet
DONE
SA SRTP over AH test: PASSED
d at 0x800cab00
Routing Pkt 2 to SA: BufPtr = 0x800f8880, pkt at 0x800d78b6, size = 162
Receive TxPkt 2 from PA/SA
Software Info: 0x55500000, 0x00005550, 0x00000000
Packet of size 162 received at 0x800cad00
Routing Pkt 3 to SA: BufPtr = 0x800f8980, pkt at 0x800d7966, size = 162
Receive TxPkt 3 from PA/SA
Software Info: 0x55500000, 0x00005550, 0x00000000
Packet of size 162 received at 0x800c9f00
Routing Pkt 4 to SA: BufPtr = 0x800f8a80, pkt at 0x800d7a16, size = 162
Receive TxPkt 4 from PA/SA
Software Info: 0x55500000, 0x00005550, 0x00000000
Packet of size 162 received at 0x800ca100
Routing Pkt 5 to SA: BufPtr = 0x800f8b80, pkt at 0x800d7ac6, size = 162
Receive TxPkt 5 from PA/SA
Software Info: 0x55500000, 0x00005550, 0x00000000
Packet of size 162 received at 0x800ca300
Chan 0 (Data Mode) Statistics:
----------------------------------------------------
numPktsHi = 0x00000000
numPktsLo = 0x00000005
Closing SALLD Channel 0 ...
SALLD channel 0: Send Null Packet
DONE
SA Data Mode test: PASSED
Test summary:
Tests Passed: 6
Tests Failed: 0
Tests not run: 0
Closing SALLD ... DONE
topLevelTest: exitTestFramework Successful
------- SA Unit Test Complete ---------
Regards
Shankari G