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.

AM2634: QSPI NOR Flash access to addresses > 0x800000

Part Number: AM2634
Other Parts Discussed in Thread: SYSCONFIG

I am working with the AM2634 Control Card with SDK 8.05. The QSPI flash driver (S25FL128SA) has been configured using sysconfig and is working as expected when accessing data in the first half of the address space (<0x800000). 

The below image shows the sysconfig FLASH configuration:

When attempting to write/erase data at addresses >0x800000 the data appears to be unchanged, but no errors are returned from the flash driver API calls. 

Has flash write/erase behavior been tested at sectors with addresses in the upper half of the memory map? I'm suspicious that the block protection is enabled for the upper half of the memory map; is there an API to read the status register of the part? 

Thanks in advance, 

- Kai

  • Hi ,

    There is a HW errata identified (i2364). Please find the details in the document linked - https://www.ti.com/lit/pdf/sprz488

    In memory map mode, the flash address limitation remains for 23 lines and hence the flash can only be accessed for 8MB only. Although, in config mode, the flash can be accessed for entire 4GB.

    Best Regards,
    Aakash

  • Aakash, thank you for the guidance.

    I have been able to prove read/write capability at address 0x800000 by modifying the qspi_flash_diag_am263x-cc_r5fss0-0_freertos_ti-arm-clang example project read function to use a non memory mapped read. However, that example does not use sysconfig to configure the Flash driver and operates in 1s-1s-1s mode. 

    Is it possible to interface with the upper 8 MB of flash in 1s-1s-4s mode? 

    Is there an example using sysconfig for non memory mapped flash access?

    Best, 

    - Kai

  • Hi ,

    Is it possible to interface with the upper 8 MB of flash in 1s-1s-4s mode? 

    The driver does not support Indirect Access/ Config mode for reads. Although the writes still happen with Indirect mode in the QSPI driver.

    Is there an example using sysconfig for non memory mapped flash access?

    The driver does not support Indirect access currently. Let me discuss this internally to find if there is any plan to update the driver for the same.

    Best Regards,
    Aakash