FLASH WRITE AND READ ISSUE

Hello Sir,
when we are doing the flash write and read operation,the read function works well but while reading the we got hard fault.What is the reason for it .our ld script and used APIs are shown below.

Here we are using memcopy function to read from co6763.template_gcc_nrf52.ldrresponding address.

Write and read APIs used
 nrf_nvmc_write_words(ADDRESS, &data, 1);
memcpy(&data, ADDRESS, sizeof(data))

Parents Reply Children
No Data
Related