0

I am using NUCLEO-H755ZI-Q board, Which has two cores cortex m4 and cortex m7, To enable the lwip I have to enable CPU ICache and CPU DCache

enter image description here

But during runtime the program exits through SCB_EnableDCache(); function. Kindly help me if had missed something.

enter image description here

3 Answers 3

2

I was able to resolve this issue. this was more specific to cube ide 1.7 when i rolled back to 1.6 it was working fine. Issue is with the code generation from cube mx

Sign up to request clarification or add additional context in comments.

Comments

0

Reference from CMSIS-Core, the description for __STATIC_FORCEINLINE void SCB_EnableDCache(void)

Before enabling the data cache, you must invalidate the entire data cache SCB_InvalidateDCache(), because external memory might have changed from when the cache was disabled. After reset, you must invalidate SCB_InvalidateDCache() each cache before enabling it.

So I think you can try to SCB_InvalidateDCache() before SCB_EnableDCache().

On the other hand, can you provide the error message or the state of the error?

I think that helps figure out the root cause.

1 Comment

It was more specific with latest version of cubeide. rollback helped me in this
0

Changing from FW_H7 1.11.0 to 1.11.2 worked for me.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.