SPRACM5 April 2019 AM3351 , AM3351 , AM3352 , AM3352 , AM3354 , AM3354 , AM3356 , AM3356 , AM3357 , AM3357 , AM3358 , AM3358 , AM3359 , AM3359
Create the three sub-folders (see Figure 1) in your code base, then put those folders under the parent folder named: wolfSSL.
If you are installing all of the TI packages, then, go to pdk_am335x_1_0_10\packages\MyExampleProjects\NIMU_FtpExample_skAM335x_armExampleproject\wolfssl\src.
If you are installing all of the TI packages, then, go to pdk_am335x_1_0_10\packages\MyExampleProjects\NIMU_FtpExample_skAM335x_armExampleproject\wolfssl\wolfcrypt\src.
Do not copy the “port” dir.
Do not copy the .asm .s file.
Figure 4 is marked with “X”.
If you are installing all the TI packgeI, then, go to pdk_am335x_1_0_10\packages\MyExampleProjects\ NIMU_FtpExample_skAM335x_armExampleproject\wolfssl\wolfSSL.
If you are installing all the TI packge, then, go to pdk_am335x_1_0_10\packages\MyExampleProjects\NIMU_FtpExample_skAM335x_armExampleproject\wolfssl\wolfSSL\wolfcrypt.
In the wolfssl\wolfcrypt\src\random.c, add the code as shown in Figure 7.
Add a new file (for example):
Reference the random_rng_Porting.c file in this zip file: 2018_5_15_WolfSSL_Importan_Temp_Backup_Client_Server_All_Okay_Release.
Download from here.
The first part is to register the user I/O call back:
Another one is to get the system time, this is related with the NO_ASN_TIME/ASN_TIME config.
For example, xNO_FILESYSTEM is to disable the “NO_FILESYSTEM”.
Add the included folder for the wolfSSL used header file.
Select the right compiler version and the boards. AM335SK can use the ICE_AM3359.
Please make sure the right versions of:
The important key for the download image and debug is the JTAG.
You can test the connection while finishing your own setting of the “ccxml.