cancel
Showing results for 
Search instead for 
Did you mean: 

API to Read from Flash

Santhamurthy R
Associate II
Posted on May 29, 2017 at 13:33

Hello All,

 I am working on SPC560B54L5 board using SPC5studio version 5.2.3.

I can able to write to C-flash memory using Flashprogram() api of flash driver component. In addition to that I also want to read byte by byte or stream of bytes from the C-flash memory. Referred to the 'Standard software driver for C90LC Flash' document I couldn't found any API to read from flash memory.

kindly suggest how can I read from flash using the flash driver component.

Thanks in Advance,

with Regards,

R.Santhamurthy

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee
Posted on June 14, 2017 at 15:26

Hello ,

we did not implement a read function.

you should point to the memory address that you want to read to get data back, without any kind of operation on flash controller.

         Best regards

            Erwan

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee
Posted on June 14, 2017 at 15:26

Hello ,

we did not implement a read function.

you should point to the memory address that you want to read to get data back, without any kind of operation on flash controller.

         Best regards

            Erwan

Posted on June 23, 2018 at 10:51

Hello Erwan:

        I don't quite understand about the flash “margin readâ€� and “ array integrity checkâ€�,where do the functions need ?  Do we need to use this function at  the normal program? 

Best regards

MMWang