Skip to main content
Hank Im
Associate II
January 31, 2018
Question

CFlash module example code for SPC560B60L7

  • January 31, 2018
  • 2 replies
  • 877 views
Posted on January 31, 2018 at 01:17

Hello!

I'd like to use CFlash module without using C90LC Standard Software Driver(SSD).

But I don't konw how to configure it.

Could you provide me an example code?

i.e) CFlash initialize, CFlash Erase, CFlash Write, etc...

Thank you.

    This topic has been closed for replies.

    2 replies

    Erwan YVIN
    ST Technical Moderator
    February 1, 2018
    Posted on February 01, 2018 at 11:28

    Hello Hank ,

    Officially , we useC90LC Standard Software Driver(SSD)

    we have just an example for dflash coming from old posts

    Best regards

    Erwan

    ________________

    Attachments :

    spc5_dflash.c.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hy4w&d=%2Fa%2F0X0000000b3i%2FBgicYvVwkEA8migGsDEqekerFan.EmEtJojyRPkYKBY&asPdf=false

    spc5_dflash.h.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hy4r&d=%2Fa%2F0X0000000b3c%2FU89O0DvE0YbNG3HcmjYSfvh.XaG_3xPOV5RaeQ020n0&asPdf=false
    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    Hank Im
    Hank ImAuthor
    Associate II
    February 2, 2018
    Posted on February 02, 2018 at 03:43

    Hello, Erwan Y

    Thank you for your reply.

    But i already had the Dflash sample code. My Dflash sample code is the same as what you attached.

    I need a CFlash sample code.

    If the CFlash module configure is the same as the DFlash sample code,

    Should i change SPC5_DFLASH_BASE address to SPC5_CFLASH_BASE address in sample code?

    Thanks.