This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I'm struggling with crash in memcpy in QSPI driver.
I changed code of memcpy to "naive" load & store and do not understand why it crashes.
It happens always in the same place, at the first itteration.
It looks like access to peripherals (few instructions before) is involved somehow.
Any thought?
Thanks
Rasty
Hi Rasty,
Thanks for your question.
Is it a byte by byte copy you are talking about or the memcopy API being called out.
Can you please help us reproduce this issue?
I would need few things from your end:
1. I am seeing you mentioned QSPI driver, so are you using a flash part for which you have configured QSPI?
2. Also, could you let us know if its your custom application or an already existing SDK example application with the help of which I can recreate this problem.
Looking forward to your responses.
Regards,
Vaibhav
Hi,
Unfortunately I do not have small example.
Looking for any hint that can explain crash in memcpy in context of SPI driver.
Rasty
Hello Rasty,
You are correct this was raised here as well: https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1327286/ospi-flash-write
Glad it works for you now.
Regards,
Vaibhav