This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1843BOOST: How to check the debug messages from sdk driver QSPIFlash?

Expert 2050 points
Part Number: AWR1843BOOST

In mmwave sdk, there are debug messages for qspiflash in qspiflash.c as below:

#ifdef QSPIFLASH_DEBUG
    {
        uint8_t             status = 0;
        
        /* Read status */
        status = QSPIFlashGetStatus(QSPIHandle, ptrFlashParams->readSR1Cmd);
        printf("status1 = %x\n", status);
        status = QSPIFlashGetStatus(QSPIHandle, ptrFlashParams->readSR2Cmd);
        printf("status2 = %x\n", status);
        status = QSPIFlashGetStatus(QSPIHandle, ptrFlashParams->readSR3Cmd);
        printf("status3 = %x\n", status);
    }

    /* Debug messages */
    printf("--------- SPI flash detected-----------\n");
    printf("Device manufacture:         %x\n",ptrFlashParams->devID.Manufacture);
    printf("Device type:                %x\n", ptrFlashParams->devID.device);
    printf("Device capacity:            %x\n", ptrFlashParams->devID.capacity);
    printf("Number of Address bytes:    %d\n", ptrFlashParams->numAddrBytes);
    printf("Erase command:              %x\n", ptrFlashParams->sectorEraseCmd);
    printf("Dual read command:          %x\n", ptrFlashParams->dualReadCmd);
    printf("Quad read command:          %x\n", ptrFlashParams->quadReadCmd);
    printf("Read command support:       %x\n", ptrFlashParams->readCmdSupport);
    printf("------------------------------------\n");
#endif

I add definiton of QSPIFLASH_DEBUG in the file qspiflash.c as 

#define    QSPIFLASH_DEBUG          1U 

I rebuild the qspiflash driver and automotive lab demo: can_sbl (can_sbl uses modified qspiflash driver). From port "XDS110 Class Application/User UART", I can see demo's debug log, but I cannot see driver's debug log.

How can I check qspiflash driver's debug messages?   

Thanks