Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone tell me how can i use external qspi flash "mx25r64"(custom board with nrf52840 soc) for mcuboot slot1 and i'm using zephyr 2.2.0 #25263

Closed
AnanthJaisankar opened this issue May 12, 2020 · 5 comments
Assignees

Comments

@AnanthJaisankar
Copy link

I have tested external flash on my custom board.Now i want to use that for mcuboot slot1 space.
I have followed this https://github.com/JuulLabs-OSS/mcuboot/wiki/Using-the-nrf52840_pca10056-SPI-flash-with-Zephyr
but didn't get correctly
my mcuboot log is showing:
primary source is none and panic!
can anyone help me with this.
Thanks.

@arvid-r
Copy link
Collaborator

arvid-r commented May 12, 2020

I'm not even sure 2.3.0 works with mcuboot at this point, does it?

@AnanthJaisankar
Copy link
Author

sorry it is 2.2.0

@AnanthJaisankar AnanthJaisankar changed the title Can anyone tell me how can i use external qspi flash "mx25r64"(custom board with nrf52840 soc) for mcuboot slot1 and i'm using zephyr 2.3.0 Can anyone tell me how can i use external qspi flash "mx25r64"(custom board with nrf52840 soc) for mcuboot slot1 and i'm using zephyr 2.2.0 May 13, 2020
@pabigot
Copy link
Collaborator

pabigot commented May 13, 2020

The instructions are slightly out of date, but the current state is that mcuboot's flash_area_read_is_empty() routine attempts to read a byte value from the flash, and the QSPI flash API requires that all I/O operations be a multiple of 4 bytes.

I've opened #25289 to address this. Please follow that issue for updates.

(Also the instructions on that page are somewhat out of date, so resolution of #25289 will likely be accompanied by an example that shows exactly how to do this.)

@pabigot
Copy link
Collaborator

pabigot commented May 13, 2020

@jrananth1032 please see additional configuration information in #25294, hope this helps. I don't know when it'll get integrated into an example.

@AnanthJaisankar
Copy link
Author

thank you ,that information is very good.
i am looking forward for that change.

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

No branches or pull requests

5 participants