QSPI Flash in Arduino Opta #511
-
|
Greetings, Thanks to a lot of help from this community in the past I managed to hack together a custom target for Arduino Opta that has worked perfectly for over a year now. The application is using GPIO, Modbus RTU and Ethernet so far without a hitch! Now I'm trying to enable persistent storage on the device but have issues with getting QSPIFBlockDevice to parse the SFDP basic param table. Is this something that I should be able to fix with configuration or is there still development that needs to be done? I notice that the Portenta pins for QSPI are different than the Opta pins and since my custom target is based off the Portenta I'm guessing that some adjustments are required. I tried just using the correct pins in the constructor but that doesn't seem to be enough. Any and all advice is greatly appreciated! // Magnus |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
That's awesome! We'd love a contribution of this target! Doing a little research, I can find absolutely no information about what QSPI flash is in the Opta, up to and including looking for teardown videos on youtube. Shame on them! So I am not sure if this will work, but I had to add a workaround for Arduino Giga: Maybe adding that for Arduino Opta will work as well. You would put the following in mbed_app.json: "target_overrides": {
"ARDUINO_OPTA": {
"qspif.enable-and-reset": true,
"qspif.QSPI_POLARITY_MODE": "QSPIF_POLARITY_MODE_1"
}
}If that doesn't work, I don't know what else we can try unless you take apart one of yours to see what QSPI flash is inside of it |
Beta Was this translation helpful? Give feedback.
That's awesome! We'd love a contribution of this target!
Doing a little research, I can find absolutely no information about what QSPI flash is in the Opta, up to and including looking for teardown videos on youtube. Shame on them! So I am not sure if this will work, but I had to add a workaround for Arduino Giga:
mbed-os/storage/blockdevice/COMPONENT_QSPIF/mbed_lib.json5
Line 58 in f8619e3
Maybe adding that for Arduino Opta will work as well. You would put the following in mbed_app.json:
If that doesn…