infineon4engi@twitter twitter

infineon4engineers Facebook

infineon@linkedin linkedin

infineon@youtube youtube


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    New Member New Member kyalpani is on a distinguished road
    Join Date
    May 2019
    Posts
    4
    Points
    35

    SPI App on XMC4500 Relax Kit does not Work, Flash cannot be accessed

    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

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    647
    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
    Last edited by jferreira; Jun 19th, 2019 at 10:39 AM.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    New Member New Member kyalpani is on a distinguished road
    Join Date
    May 2019
    Posts
    4
    Points
    35
    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?

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.