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.

AWR1843: Error: Meta header absent for my customised AWR1843 device

Expert 2050 points
Part Number: AWR1843
Other Parts Discussed in Thread: UNIFLASH,

I am testing our customised device with automotive lab demo sbl. 

This issue happens in our customised AWR1843 device which uses QSPIFlash IS25LP016D (www.issi.com/.../25LP-WP016D.pdf). I have modified the QSPIFlash driver to adapt it to the used flash memory.

Modifications include:

1) add a new file qspiflash_device_issi.c

2) updated qspiflash.h and qspiflash.c

qspiflash.h

...
/* SPI flash manufacture id */
#define SPANSION_DEV                    (0x01U)
#define MACRONIX_DEV                    (0xC2U)
#define MICRON_DEV                      (0x20U)
#define ISSI_DEV                        (0x9DU)
...

qspiflash.c

...
extern QSPIFlash_deviceFxn QSPIFlash_deviceFxnTbl_issi;
...
    else if (devId.Manufacture == ISSI_DEV)
    {
        ptrQSPIFlashDrv->devFxnTbl = QSPIFlash_deviceFxnTbl_issi;
    }
    else
    {
        retVal = QSPIFLASH_ENOTSUPPORTED;
        goto Exit;
    }
...

3) update lib make file

qspiflashlib.mak

QSPIFLASH_DRV_SOURCES += qspiflash_device_issi.c

4)Build qspiflash driver

execute command: make drv from c:\ti\mmwave_sdk_03_01_00_02\packages\ti\drivers\qspiflash

5) Rebuild sbl demo The images are then rebuild based on the new driver.

Test:

1. Flashing multiple images into the device by using UniFlash. 

2. Reboot the device and monitor the sbl log, I get the "Error: Meta header absent!!!" in flash address: c0180000. 


3. I added Debug Log to metaheader_parser.c and saw that the value of meta header start is 0xCCCCCCCC. It seems that sbl has not read the image correctly from the flash.

This error doesn't occur in AWR1843Boost. It works for loading image from flash in AWR1843Boost.