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

nRF QSPI flash driver broken for GD25Q16 #28826

Closed
gmarull opened this issue Sep 30, 2020 · 0 comments · Fixed by #28834
Closed

nRF QSPI flash driver broken for GD25Q16 #28826

gmarull opened this issue Sep 30, 2020 · 0 comments · Fixed by #28834
Assignees
Labels
area: Flash bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx

Comments

@gmarull
Copy link
Member

gmarull commented Sep 30, 2020

Describe the bug

After pulling master I have found that the nRF QSPI flash driver is at least broken when using GD25Q16 flash found in the Adafruit feather board. I'm not sure if this affects other boards.

To Reproduce

Build the usb mass sample for adafruit_feather_nrf52840 board:

west build -b adafruit_feather_nrf52840 samples/subsys/usb/mass

Then flash using

west flash

Observe error on Zephyr console:

*** Booting Zephyr OS build zephyr-v2.4.0-89-g391935bea1c5  ***
Area 4 at 0x0 on GD25Q16 for 2097152 bytes
[00:00:00.394,226] <err> qspi_nor: flash id error. Extected: [200 64 21], got: [0 0 0]
[00:00:00.399,902] <err> usb_msc: Storage init ERROR !!!! - Aborting USB init
[00:00:00.403,778] <err> fs: fs mount error (-5)
Mount /NAND:: -5
[00:00:00.455,871] <inf> main: The device is put in USB mass storage mode.

Reverting 381cac1 seems to fix the problem.

Expected behavior

Sample works as expected, i.e. as a mass storage USB device.

Impact

N/A

Logs and console output

Provided above.

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: Zephyr SDK
  • Commit SHA or Version used: 391935b

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flash bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants