Tool/software: TI-RTOS
I am using the AM3358 on the Beaglebone Black platform. My TI-RTOS application is ~ 1.2 MB in size. The default TI-RTOS bootloader project seems to take ~ 4 seconds to load then start my application.
My goal is to speed up this time. Keeping the code stock, it works consistently, but is slow. It appears that DMA is disabled by default for the bootloader. In the file hsmmcsd_app_pol.c in ~/ti/pdk_am335x_1_0_10/packages/ti/starterware/examples/mmcsd there is a function at the bottom HSMMCSDAppPolControllerSetup(), which has a line:
pCtrl->dmaEnable = FALSE;
If I change the line to:
pCtrl->dmaEnable = TRUE;
The bootloader will build, but this doesn't seem to actually enable DMA. With this change, the program seems to hang on the f_open() call in sbl_mmcsd.c (~/ti/pdk_am335x_1_0_10/packages/ti/starterware/bootloader/src).
What is needed to get DMA to work?