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

🧪 [XIP] add experimental burst mode; fix endianness #361

Merged
merged 10 commits into from
Jul 9, 2022

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jul 8, 2022

This PR adds an optional (experimental) burst mode for the XIP mode. The burst mode makes use of the flash's "incremental read" functionality to speed up sequential flash read accesses. XIP burst mode is enabled by setting bit 27 of the XIP's control register (calling new function neorv32_xip_burst_mode_enable()).

🐛 This PR also fixes the endiannes of the XIP mode. Now the XIP mode expects the data words to be stored in little-endian byte order to the flash. Thanks to @betocool-prog for finding this bug!

⚠️ Programs stored to a flash for being used with the XIP module need to be updated due to the changed byte order.

@stnolting stnolting added enhancement New feature or request HW hardware-related experimental Experimental feature labels Jul 8, 2022
@stnolting stnolting self-assigned this Jul 8, 2022
@stnolting stnolting changed the title [XIP] add optional burst mode; fix endianness 🧪 [XIP] add optional burst mode; fix endianness Jul 8, 2022
@stnolting stnolting marked this pull request as ready for review July 9, 2022 05:54
@stnolting stnolting changed the title 🧪 [XIP] add optional burst mode; fix endianness 🧪 [XIP] add experimental burst mode; fix endianness Jul 9, 2022
@stnolting stnolting merged commit 2d936aa into main Jul 9, 2022
@stnolting stnolting deleted the xip_burst_mode branch July 9, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimental Experimental feature HW hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant