Hi
In order to configure the serial loader for SD card or Memory stick loading you can follow the details in the serial loader user's guide at
https://www.utasker.com/docs/uTasker/uTaskerSerialLoader.pdfwhereby essentially the defines
#define SDCARD_SUPPORT // use SD card loading methodand
#define USB_INTERFACE // enable USB driver interface
#define USB_MSD_HOST_LOADER // USB-MSD host mode (the board operates as host and can read new code from a memory stick)need to be enabled.
I don't know whether the two options work together at the same time though since they both use effectively the same underlying method.The open source version of the project doesn't include AES256 secured loading support; this is included only in the professional version. In this case
#define SDCARD_SECURE_LOADER can be enabled (valid also for memory sticks)
and one can choose from openSSL, WolfSSL or mbedTLS library components, whereby mbedTLS is usually used since it has proven to give smallest and fastest code - see
https://www.utasker.com/docs/uTasker/uTasker_Cryptography.pdfDevices like the K66 have HW acceleration engines built in for AES256 and so can use these when
#define NATIVE_AES_CAU // use uTasker mmCAU (LTC) - only possible when the device has mmCAU (LTC) - simulation requires a SW library to be enabled for alternate useis enabled, which makes them independent of the security libraries that are otherwise needed.
Regards
Mark