You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're working with an STM32H735 discovery board and were very glad to discover the existing example that shows how to use the 16MB hyperram connected via the octospi2 peripheral.
Connected via the the octospi1 peripheral is the 64MB Macronix MX25LM51245GXDI00 flash storage, for which the octospi.rs example appears to show how to run commands on the controller.
Since the board appears to support accessing that storage also via memory mapping using the hyperbus protocol, we've been trying to make use of that. Unfortunately we haven't had any luck accessing the storage for reading. Short of a GitHub discussion forum, we were wondering if anyone here had any success with that and would be willing to contribute an example?
What we've tried so far is a Hyperbus config based on what I could find in page 39 in application note AN5050 with device_size_bytes(26), chip_select_high(3) and refresh_interval(0).
Unfortunately accessing the memory for reading at 0x90000000 as returned by init() doesn't work ("crash").
edit: we're writing into that flash area via stm32cubeprogrammer, the flash algo in probe-rs (originating from the Keil DFP) does't appear to work. Maybe related?
The text was updated successfully, but these errors were encountered:
Hi! Great that you're investigating this. Unfortunately I don't have an example to contribute, but it would be great if someone else can!
As far as I can tell, Macronix MX25LM51245GXDI00 isn't a HyperBus device but rather just an "ordinary" octo-SPI flash (hence the N/A area in AN5050 Table 5). Have you been able to successfully read from it using Indirect Read mode? I would try that first before moving onto the memory-mapped mode.
We're working with an STM32H735 discovery board and were very glad to discover the existing example that shows how to use the 16MB hyperram connected via the octospi2 peripheral.
Connected via the the octospi1 peripheral is the 64MB Macronix MX25LM51245GXDI00 flash storage, for which the octospi.rs example appears to show how to run commands on the controller.
Since the board appears to support accessing that storage also via memory mapping using the hyperbus protocol, we've been trying to make use of that. Unfortunately we haven't had any luck accessing the storage for reading. Short of a GitHub discussion forum, we were wondering if anyone here had any success with that and would be willing to contribute an example?
What we've tried so far is a Hyperbus config based on what I could find in page 39 in application note AN5050 with
device_size_bytes(26)
,chip_select_high(3)
andrefresh_interval(0)
.Unfortunately accessing the memory for reading at
0x90000000
as returned byinit()
doesn't work ("crash").edit: we're writing into that flash area via stm32cubeprogrammer, the flash algo in probe-rs (originating from the Keil DFP) does't appear to work. Maybe related?
The text was updated successfully, but these errors were encountered: