We are debuging a C6657 Nand boot issue, and after read the RBL code downloaded from below link;
http://software-dl.ti.com/sdoemb/sdoemb_public_sw/rbl/1_0_C6657/index_FDS.html
We found that there are some bootlog which can store the debug info during the boot process, it benefits for our test, I captured the definition in the end of this post.
According to C6657 datasheet, "The bootloader uses a section of the L2 SRAM (start address 0x0087 2DC0 and
end address 0x0087 FFFF) during initial booting of the device" But we don't know where the exact address of below two sections also there is no MAP file on these sections in RBL code. Is it possible to provide the detailed address on these sections?
#pragma DATA_SECTION (fname, ".fname")
#pragma DATA_SECTION (bootLog, ".bootLog")
/*****************************************************************************************
* FUNCTION PURPOSE: Add an entry to the log
*****************************************************************************************
* DESCRIPTION: A new entry is made if there is room.
*****************************************************************************************/
void bootLogEntry (char *fname, UINT32 line, SINT32 code)
{
if (bootLog.idx >= bootLog.maxIdx)
return;
bootLog.entry[bootLog.idx].fileName = fname;
bootLog.entry[bootLog.idx].line = line;
bootLog.entry[bootLog.idx].logCode = code;
bootLog.idx += 1;
} /* bootLogEntry */