Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
Hello,
I have an Application Firmware multicore-image (bin file) received from a peripheral device (via CAN Bus) and stored into Flash via Qspi (singleWrite()).
We decided not the use the SBL_imageFlasher() so far.
Due to the fact that we develop an own SBL code, I am trying to use the SBL_imageLoader() function directly.
So i did not use the provided functions: SBL_initTask() and SBL_init().
Problem:
The Metaheader and its value correctly parsed by the SBL_imageLoader() as expected.
But somehow the CCS debugging process aborts while this loop:
/* Download the Metaimage to RAM in chunks of 2K */
for (loopCnt = 2U; ((loopCnt < (numBlocks)) && \
(g_sblMCB.bufferParserState != SBL_BUFFER_PARSER_COMPLETED)); loopCnt++)
{
}
Its hard to find out where exactly the aborting tooks place because why we dont use UART for printf()
My testing env is as following:
- CCS with a Blackhawk Emulator for Debugging.
- mmwave_sdk_03_02_00_04.
Any Ideas, or solution approaches for me ?.
Is my general approach to use the SBL_imageLoader() directly correct ?
I would be very thankful for your help.