-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[feature] Programming external Quad SPI flash not supported #412
Comments
I think the issue is not related to the stlink tool Could you try with OpenOCD 0.9.0 or higher? |
same issue with openOCD, the example I'm using is the following: it's link file is the following: |
The LCD driver has nothing todo with the stlink project or openocd programming. You should try to flash a led blink test with one of the stlink tools and see if it works. |
using the ST-Link utility downloaded from the st.com website, the same binary file is working correctly. does the stlink support such an option? |
There is no external flash loader currently in the stlink project, and is highly target/board specific. Your display was scrambled before because the flash had no sprites loaded into the external Quad SPI Flash. For OpenOCD they have already written a patchset to support programming external quad spi flash. But it has not been merged yet: http://openocd.zylin.com/#/c/3162/ |
If someone finds time to do it, I would really like if the implementation was compatible with STM32 ST-Link utility. The benefit would be the ability to use the ST-LINK provided .stldr files (they are just elf files that load to RAM, providing unified functions) - this would be especially useful as it would allow to use the loaders that ST develops and distributes in future STM32 ST-LINK Utility. Some might oppose to using binary blobs (on various merits), however it should be noted that making it compatible with stldr files does not require the use of the files from ST-LINK Utility - it only enables the possibility to do so. I don't think there's any need to implement yet another (incompatible) interface for the external loaders. |
@tarek-bochkati: I've noticed your activity around this topic on https://github.com/STMicroelectronics/OpenOCD. Would you be interested in helping us along with this as well? |
@Nightwalker-87 and BTW, IDK flashloader in STM32CubeProgrammer are distributed in which license, so reusing the same stldr files may not be possible if the license does not allow it. Please give me time to better understand this project structure, and then I will be able to propose something regarding the external flash programming. |
@tarek-bochkati: Thx for your feedback. Because we are licensed under BSD-3 (clean), we would need to ensure that there is no license conflict with OpenOCD and its derivatives, which are under GPLv2. As the implementation of the flash algorithm is different, this would have not been an option anyway. |
@Ant-ON: Can you give a short summarised feedback on this issue and state whether it could be of any further relevance? |
@Nightwalker-87 External memory (connected via SPI) flashing has not yet been implemented. I doubt that in the near future someone will undertake this |
@Ant-ON The question is if it is desirable and whether it would be of any broader interest, but to me this reads like a "Not really"... |
@Nightwalker-87 This is a narrow problem and not everyone needs it |
Closed due to inactivity and very rare interest. |
Hi,
I've downloaded the touchgfx (http://touchgfx.com) evaluation version and I'm trying to test it on the F746.
STMF746 Discovery Kit,
http://www2.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm32-mcu-eval-tools/stm32-mcu-discovery-kits/32f746gdiscovery.html
I've followed the README guilde on how to flash the, everything seems working, below the log of the "st-util"
but the content displayed on the LCD is scrambled.
The text was updated successfully, but these errors were encountered: