Configuring QSPI for TouchGFX and CubeIDE on the STM32F746G-DISCO board

  Рет қаралды 13,568

embryonic.dk

embryonic.dk

Күн бұрын

Пікірлер: 35
@rickleinen1881
@rickleinen1881 2 жыл бұрын
I really appreciate your videos. They are some of the few that explain the details that are lacking in so much of the other literature.
@Owensv64
@Owensv64 4 жыл бұрын
Holy cow, man. Scotland Yard couldn't have figured that one out, but you did it. Thanks so much. I documented this thing so that I can replicate it. I do look forward to the Cube team's cleaning up some of the more obvious problems, and only hope that they don't break something else in the process. Which seems to happen, more often than not.
@sampoteste
@sampoteste 5 жыл бұрын
Excellent video with good detail. It is a clever way to see how QSPI is configured. Cheers
@thilinarathnasooriya8556
@thilinarathnasooriya8556 5 жыл бұрын
Great Work. This was really help full. I struggled a lot to do this. Though the file paths and some codes are different in the updated versions of touchGfx, this video helped me a lot to get the QSPI configured for the project. Thank you very much for sharing this
@AlbertoMercurioNikten
@AlbertoMercurioNikten 4 жыл бұрын
Your videos are awesome. It could be very interesting if you do a video showing how to create a custom external loader and how to implement touchgfx with it. Thank you for all your videos!
@TurboBobBailey
@TurboBobBailey 5 жыл бұрын
with this example, and others, we should really try to add the additional functionality and drivers using the configuration tools in Cube, otherwise, if you make a change and/or regenerate the code it will (sometimes) overwrite/delete the changes. (I changed some I/O initialization and it regenerated without breaking things. When I tried disabling I2C so I could enable CAN it broke it). Also, always make user code changes in the places indicated by the comments so Cube doesn't remove them.
@hanspeterhaastrup-nielsen8446
@hanspeterhaastrup-nielsen8446 5 жыл бұрын
Yes, definitely! I was not completely aware of the implications it would have to regenerate code when I made this video. You are absolutely correct!
@eddyv524
@eddyv524 5 жыл бұрын
Hi. excellent video again!. One question: You seem to be copying the correct settings from a demo project. Where did you get that demo project? How did the correct settings end up in that demo project? I can't seem to find the source for it online. Thanks!
@hanspeterhaastrup-nielsen8446
@hanspeterhaastrup-nielsen8446 5 жыл бұрын
Great question! The code comes from a project that I generate using TouchGFX designer. I just took one of the built-in examples and looked at the generated code for that. Of you open a project in the designer, click on the 'open folder' in the lower right corner and you get directly to the folder' containing the files :)
@marcobarbieri6688
@marcobarbieri6688 4 жыл бұрын
@@hanspeterhaastrup-nielsen8446 Hi! What if I can not find (in the TouchGFX project directory) the BSP Driver's folder for the specific Flash memory that I am using?
@spruce1000
@spruce1000 4 жыл бұрын
I always have to program a random demo project into my board via ToughGFX before programming my own project via CubeIDE. Otherwise I see garbage on the screen. So as soon as I disconnect/connect the usb it shows garbage on the screen and programming via IDE doesn't work anymore. As if it has some volatile data or code that is create by 'Run target' inside ToughGFX. What am I doing wrong?
@chandanbhatia3382
@chandanbhatia3382 4 жыл бұрын
First thanks for video, I have a doubt. I think you are using QSPI in memory mapped mode but we can only read data in that (as per my knowledge), so How you are able to write data at beginning? Is this something to do with driver file added in folder "Component" and external loader settings ? Can you please explain ?
@ya3525
@ya3525 4 жыл бұрын
Hello very nice tutorial. On my board I have MT25QL512ABB8ESF-0SIT flash with STM32F746. ST-Link does not write into the flash I checked the connectivity performed errase, read all seem to be good. I checked what flash they put in the discovery boad 746 because they seem to have changed them quite few times. I found they are using the MT25QL128ABA1EW9-0SIT on the discovery board I have. While the initial flash I have used on my board was MT25QL512ABB8ESF-0SIT. So both flashes are from the same family but the one I used is just double the size. I swapped flash from discovery to my board and programmed fine. The ST-link seem to be picky about the flash but I still don’t understand why. Do you know how to solve that issue?
@cturvey6502
@cturvey6502 3 жыл бұрын
You need the appropriate external loader as the memory device is 4x larger, it needs to use 32-bit addressing (4-byte) rather than the 24-bit (3-byte) that is utilized by memories up to 16MByte. The loaders are tied to specific memory devices and pin usage, and not particularly flexible or portable. Currently I'm creating a selection of pre-built external loaders using commonly used parts and pin configurations. github.com/cturvey/stm32extldr Clive One / Tesla DeLorean at STM32 Forum
@andi7266
@andi7266 5 жыл бұрын
It would be very helpful if you could share your project as a working example. My work is hanging in hard fault exception and the display is not refreshed properly.
@banjohat
@banjohat 5 жыл бұрын
The CubeMX and TouchGFX Designer have just been updated so this video is outdated. I will most likely do another with the new software setup and when I have done that I can put the project on GitHub.. Stay tuned :)
@MrBlackgar
@MrBlackgar 4 жыл бұрын
Thank you, very nice tutorial. Everything is working except the debugger on IDE. I have to upload my project using ST-Link Utility. Did you ever try to interface hardware buttons (i mean the B_USER on discovery)?
@banjohat
@banjohat 4 жыл бұрын
I used an example in the beginning but not since. It's fairly straightforward though - if you use the default setup you have access to all the Arduino header pins and the user button. You just need to read the state of it
@upendercharychennoju2749
@upendercharychennoju2749 4 жыл бұрын
I am unable to find that build analyzer option window in my openstm32 workbenck, can you please guide me on that. The Version of openSTM32 IDE is "Neon.3 Release (4.6.3)".
@banjohat
@banjohat 4 жыл бұрын
I'm not using openSTM32. I'm using the CubeIDE supplied by ST.
@upendercharychennoju2749
@upendercharychennoju2749 4 жыл бұрын
@@banjohat Thank you for the reply and the Info. I will check with that.
@anupsharma6465
@anupsharma6465 5 жыл бұрын
I have stm32f756g discovery just arrived . I connected with my laptop using usb on cn14 and windows says device malfunctioning and led blinks? What should i do any suggesions?
@banjohat
@banjohat 5 жыл бұрын
Are you using a hub that can supply enough power? or are you connected directly to you PC?
@anupsharma6465
@anupsharma6465 5 жыл бұрын
@@banjohat no i am not using hub ..directly connected laptop ..anways its solved now i power using usb hs and it worked !! Thanks for replay
@Vampire-zl9ub
@Vampire-zl9ub 5 жыл бұрын
hello it's very helpfull video but i want know how can i use external flash of stm32f746g in keil compiler. Please help
@banjohat
@banjohat 5 жыл бұрын
sorry - I don't use KEIL. My best bet is that you need to do a similar setup and the HAL should be somewhat identical?
@orientelectron3933
@orientelectron3933 3 жыл бұрын
how i can add this functions to keil
@imcnx1563
@imcnx1563 4 жыл бұрын
Hi! I’m getting an error says: .bin [ExtFlashSection]: no space left on device Why is this? I did same as you
@chtioubchtioub3160
@chtioubchtioub3160 4 жыл бұрын
Hi, I have the same problem. How do you resolved it ? Maybe someone else have an idea ?
@AlbertoMercurioNikten
@AlbertoMercurioNikten 4 жыл бұрын
Hello, thank you for all your videos. I followed the entire video, and it works! But when i insert something heavier, such as a bigger image, it return the following error during compilation: c:\st\stm32cubeide_1.3.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: region `FLASH' overflowed by 1158828 bytes collect2.exe: error: ld returned 1 exit status make: *** [makefile:74: arlix3.elf] Error 1 "make -j4 all" terminated with exit code 2. Build might be incomplete. Do you know where it come from?
@Andreasonline3
@Andreasonline3 3 жыл бұрын
Its bizzare to think when to load it up with defaults that it doesnt actually set it up properly.
@chaaalyy
@chaaalyy 5 жыл бұрын
GREAT Work :) Thanks a lot for sharing this :) Just one Question: In MPU Config the Size of the external Region is given with 256 MB instead of 16 ? And when we come to MPU... Maybe you can teach us, how to configure all these Option correctly (at Time of 1st Project-Setup...) in CubeMX (System Core -> CORTEX_M7 -> ...) Especially Art Accelerator, I-Prefetch, Caches and last but not least the Settings of the MPU :) For the "not so experienced People" like me, this would be a great Help too :)
@banjohat
@banjohat 5 жыл бұрын
I wasn't aware that the MPU settings are configured this way - I just copied those settings from a known working project. In fact I'm not even sure that the MPU should be configured at all - but I haven't played around with it much. These videos are primarily to show people a working method of setup - ST is somewhat lacking on this front.. If you look at the default settings for the F746g-DISCO board you will see that the cortex settings are almost all set to 'off'. I haven't done much in the area either - It works for me at the moment :)
@oleksandrtymoshenko2112
@oleksandrtymoshenko2112 5 жыл бұрын
Perfect!!
How to Update the TouchGFX GUI from other tasks
23:27
embryonic.dk
Рет қаралды 14 М.
Creating a new RTOS task along TouchGFX
15:46
embryonic.dk
Рет қаралды 6 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
HW setup and Display test on STM32F746
39:13
embryonic.dk
Рет қаралды 8 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 910 М.
How to update other tasks from the TouchGFX GUI
14:21
embryonic.dk
Рет қаралды 7 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
How to integrate TouchGFX in a custom board (The long way round)
1:28:39
STM32CubeIDE 1.2.1 and TouchGFX 4.13.0 with STM32F746G-DISC0 kit
12:19
TLS Handshake Explained - Computerphile
16:59
Computerphile
Рет қаралды 570 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19