- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the hyperflash S26KL256S with STM32L4R9 processor. It works fine sofar for erasing, program etc..
But in memory mapped mode for read, it crashes if i read w aord at address a1 and immediately read the word at a1+300.
I use the same reding process on the hyperbus ram without any problem. Does anyone have experiences wiht this hardware combination?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Bushra,
sorry i can not send you the screen capture since the st-link break the connection to the target.
But meanwhile I did a lot of investigations to find and solve the problem and it is finally solved:
I used dma and interrupt of the ospi channel for writing the flash, It works fine and then I switched it into memory mapped mode without disabling the interrupt and removing the dma. Now I have tried to remove dma and disable interrupt and see it works fine.
Thanks a lot for your response.
Best regards
Gang Zhang
Von: BushraH_91
Gesendet: Dienstag, 21. Januar 2020 20:15
An: Gang Zhang <gang.zhang@elektrophysik.com>
Betreff: Re: - S26KL256S memory mapped mode, read craches after address jump
<http://www.cypress.com>
Cypress Developer Community <https://community.cypress.com/?et=watches.email.thread>
S26KL256S memory mapped mode, read craches after address jump
reply from BushraH_91<https://community.cypress.com/people/BushraH_91?et=watches.email.thread> in HyperFlash - View the full discussion<https://community.cypress.com/message/221821?et=watches.email.thread#221821>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for contacting Community Forum. Can you please send me screen shot of the failure?
Have a wonderful day
Regards,
Bushra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Bushra,
sorry i can not send you the screen capture since the st-link break the connection to the target.
But meanwhile I did a lot of investigations to find and solve the problem and it is finally solved:
I used dma and interrupt of the ospi channel for writing the flash, It works fine and then I switched it into memory mapped mode without disabling the interrupt and removing the dma. Now I have tried to remove dma and disable interrupt and see it works fine.
Thanks a lot for your response.
Best regards
Gang Zhang
Von: BushraH_91
Gesendet: Dienstag, 21. Januar 2020 20:15
An: Gang Zhang <gang.zhang@elektrophysik.com>
Betreff: Re: - S26KL256S memory mapped mode, read craches after address jump
<http://www.cypress.com>
Cypress Developer Community <https://community.cypress.com/?et=watches.email.thread>
S26KL256S memory mapped mode, read craches after address jump
reply from BushraH_91<https://community.cypress.com/people/BushraH_91?et=watches.email.thread> in HyperFlash - View the full discussion<https://community.cypress.com/message/221821?et=watches.email.thread#221821>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Gang Zhang,
Thank you so much for the great new and letting us know.
Regards,
Bushra