Hello Chris chen,
Read flash data is very easy, just read the according address is OK, you don't need to use any other flash command.
Take an example, printf the data in address 0x0008:
printf("0x%x,",*((uint32_t *)(0x00000008)));
(uint32_t *)(address);//address is just the flash address where you want to read the data.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------