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

Fix flash algorithm #1

Merged
merged 1 commit into from
Jul 17, 2021
Merged

Fix flash algorithm #1

merged 1 commit into from
Jul 17, 2021

Conversation

rfuest
Copy link
Contributor

@rfuest rfuest commented Jul 16, 2021

This should make the flash algorithm work. I haven't thoroughly tested it, but at least the hex output in rustworks main.rs showed the correct first 8 bytes.


qspi.abr.write(|w| unsafe { w.bits(addr) });

// TODO: Why doesn't this work with address bytes?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea why this doesn't work when using admode instead of abmode. The command is skipped completely if I change this back.

@willemml
Copy link
Member

Ah, thats why it was not working, I forgot to init the pins! Thanks for fixing this!

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