Skip to content

Custom RT1064 can not be flashed with Jlink on Zephyr #74089

Answered by DerekSnell
mariopaja asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mariopaja ,
The baremetal image that works does not include the DCD, which configures for SDRAM. Does your board have SDRAM? If so, is it the same used on the EVK? The default Zephyr image will place data in SDRAM, and try to access it early in the startup code. I would move the data zephyr,sram node to DTCM to rule out issues with the SDRAM.

And your flash dumps show the flash is programmed with the Zephyr images. I suspect the device is booting, but runs into an issue early in the startup code, and faults or runs away. Can you use a debugger and halt in the reset entry function? That would confirm it is booting. And then you can step through the code and see how far it gets.

Let us …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@mariopaja
Comment options

Comment options

You must be logged in to vote
2 replies
@mariopaja
Comment options

@mariopaja
Comment options

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