Skip to content

mimxrt10xx/boards/olimex_rt1010/flash_config.c: Fix flash settings for the init sequence.#430

Merged
tannewt merged 1 commit into
adafruit:masterfrom
robert-hh:mimxrt_rt1010
Feb 4, 2025
Merged

mimxrt10xx/boards/olimex_rt1010/flash_config.c: Fix flash settings for the init sequence.#430
tannewt merged 1 commit into
adafruit:masterfrom
robert-hh:mimxrt_rt1010

Conversation

@robert-hh

Copy link
Copy Markdown
Contributor

Description of Change

The settings for the initialization sequence of my last PR were not the right ones. Instead of the W25Q16 flash listed initially in the first Olimex documentation, the production boards now use an EN25Q16B-104HIP chip, which needs different arguments to enable quad mode. With the existing arguments, the flash may get write locked.

Tested with an Olimex RT1010Py board.

P.S.: In case the flash got write locked can then be unlocked using the flash-sfdp mode for uploading the UF2 bootloader.

The settings were not the right ones. Instead of the W25Q16 flash
listed initially in the old documentation, the production boards use
now an EN25Q16B-104HIP chip, which needs different arguments to enable
Quad mode. With the existing arguments, the flash may get locked.

It can then be unlocked using the flash-sfdp mode for uploading the UF2
bootloader.

Signed-off-by: robert-hh <[email protected]>

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tannewt tannewt merged commit 0b29475 into adafruit:master Feb 4, 2025
@robert-hh

Copy link
Copy Markdown
Contributor Author

Thank you for fast merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants