Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: AMIC110
Hi Team,
we are working on a custom board bring up using the board porting document : "Board porting up using Processor SDK RTOS for AM335x/AMIC110"
per the recommendation in the document , custom board adaptation was done by modifying IDK related files in the SDK (custom board components are similar to the IDK).
after changing the files "am43xx_idkevm_pinmux_data.c" and "am43xx_pinmux.h" and compiling the SBL (boot from SD card) we were able to see SBL wakes up , and copying the program to the DDR as expected.
The next stage was to re-compile the PDK so that the application will adopt custom board pinmux files as well.
after this was done , when SBL is re-compiled , it hang on access to the SD Card : at file name SBL_mmcsd.c in the first line that access the fatfs
/* Open the file for reading. */
fResult = f_open(&gFileObject, pFileName, FA_READ);
we than tried to remove the "idkAM437x_icssPinMuxFlag" from the file idkAM437x_pinmux.c , re build the PDK and recompile the SBL , but result is the same.
if we replace the pinmux files "am43xx_idkevm_pinmux_data.c" and "am43xx_pinmux.h" with the original files , rebuild the PDK and than replace the pinmux files "am43xx_idkevm_pinmux_data.c" and "am43xx_pinmux.h" to the custom board ones and re-build the SBL boot seems to work and SBL does not hangs when accessing the FATFS
can you help us understand what's the issue with MMCSD boot and FATFS ?
for PDK build we use
gmake clean
gmake all
for SBL build we use
gmake bootloader BUILDCFG=boot BOOTMODE=mmcsd PLATFORM=am43xx-evm PROFILE=release -s KW_BUILD=no
(note the is PROFILE is debug , build fails)