Jun 18, 2019
07:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 18, 2019
07:18 AM
Hi,
I downloaded a clean version of the SPI_EXAMPLE_XMC45 App and
after (and also before) generating the code, I started the app but it failed to access the Flash memory.
In the EraseSector() function the call to the N25Q03_StatusRead function (main.c:142) returns status == 255 but status == 2 is expected.
Does anyone have an idea what I need to do make this work. Do I need some other hardware settings?
Thank you in advance
Kuros
I downloaded a clean version of the SPI_EXAMPLE_XMC45 App and
after (and also before) generating the code, I started the app but it failed to access the Flash memory.
In the EraseSector() function the call to the N25Q03_StatusRead function (main.c:142) returns status == 255 but status == 2 is expected.
Does anyone have an idea what I need to do make this work. Do I need some other hardware settings?
Thank you in advance
Kuros
- Tags:
- IFX
2 Replies
Jun 19, 2019
06:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 19, 2019
06:33 AM
Hi,
The flash mounted in the XMC4500 Relax Kit is not of the type Micron N25x but an S25FLxx.
The example works in a XMC4500 Application Kit.
To make it work in a Relax Kit the pins need to be adapted and maybe also the driver for the SPI flash.
Best regards,
Jesus
The flash mounted in the XMC4500 Relax Kit is not of the type Micron N25x but an S25FLxx.
The example works in a XMC4500 Application Kit.
To make it work in a Relax Kit the pins need to be adapted and maybe also the driver for the SPI flash.
Best regards,
Jesus
Jun 24, 2019
06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 24, 2019
06:09 AM
Thank you, now I understand. As far as the driver goes: The existing App has a N25x*.c driver file, do you know if there is an equivalent for the SL25*? I guess your answer implied that I have to modify it myself?