xmos / xcore_iot

Other
29 stars 39 forks source link

Explorer board 2v0 bsp_config does not support flash writes #551

Closed xmos-jmccarthy closed 1 year ago

xmos-jmccarthy commented 1 year ago

System information

Describe the current behavior Flash writes will fail to work

Describe the expected behavior Flash writes should work

Standalone code to reproduce the issue Not needed

Other info or logs The flash part used in the 1V0-1V2 boards had the programming done with command over SDO0, and addr + data over data lines. https://github.com/xmos/fwk_rtos/blob/79f265cf84046826987d7eb850840870011e275e/modules/bsp_config/XCORE-AI-EXPLORER_2V0/platform/platform_init.c#L83 The 2V0 flash part requires command and addr over SDIO0 and data over data lines. qspi_flash_page_program_1_4_4 should be replaced with qspi_flash_page_program_1_1_4 for uses with the Explorer Board 2V0