Skip to content
Discussion options

You must be logged in to vote

@JaagupAverin

I believe your issue could be caused by an overflow of OCRAM1. From the image you provided from the RM, OCRAM1 with ECC enabled is 64KB. Zephyr Device tree currently thinks OCRAM1 is sized at 512KB (which is true for RT1170, but not for RT1160)

I submitted a PR to address this at: #94363

My assumption based on the error provided is that the size of data is greater than 64KB. I'd recommend shifting the remaining data to DTCM and the other OCRAM regions. Alternatively, you could utilize the FlexRAM (512KB), although this will require some additional steps.

These methods are covered in AN14579, depending on which direction you want to go.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@JaagupAverin
Comment options

@jacob-wienecke-nxp
Comment options

@jacob-wienecke-nxp
Comment options

Answer selected by JaagupAverin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants