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.
@Owensv644 жыл бұрын
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.
@sampoteste5 жыл бұрын
Excellent video with good detail. It is a clever way to see how QSPI is configured. Cheers
@thilinarathnasooriya85565 жыл бұрын
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
@AlbertoMercurioNikten4 жыл бұрын
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!
@TurboBobBailey5 жыл бұрын
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-nielsen84465 жыл бұрын
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!
@eddyv5245 жыл бұрын
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-nielsen84465 жыл бұрын
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 :)
@marcobarbieri66884 жыл бұрын
@@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?
@spruce10004 жыл бұрын
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?
@chandanbhatia33824 жыл бұрын
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 ?
@ya35254 жыл бұрын
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?
@cturvey65023 жыл бұрын
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
@andi72665 жыл бұрын
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.
@banjohat5 жыл бұрын
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 :)
@MrBlackgar4 жыл бұрын
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)?
@banjohat4 жыл бұрын
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
@upendercharychennoju27494 жыл бұрын
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)".
@banjohat4 жыл бұрын
I'm not using openSTM32. I'm using the CubeIDE supplied by ST.
@upendercharychennoju27494 жыл бұрын
@@banjohat Thank you for the reply and the Info. I will check with that.
@anupsharma64655 жыл бұрын
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?
@banjohat5 жыл бұрын
Are you using a hub that can supply enough power? or are you connected directly to you PC?
@anupsharma64655 жыл бұрын
@@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-zl9ub5 жыл бұрын
hello it's very helpfull video but i want know how can i use external flash of stm32f746g in keil compiler. Please help
@banjohat5 жыл бұрын
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?
@orientelectron39333 жыл бұрын
how i can add this functions to keil
@imcnx15634 жыл бұрын
Hi! I’m getting an error says: .bin [ExtFlashSection]: no space left on device Why is this? I did same as you
@chtioubchtioub31604 жыл бұрын
Hi, I have the same problem. How do you resolved it ? Maybe someone else have an idea ?
@AlbertoMercurioNikten4 жыл бұрын
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?
@Andreasonline33 жыл бұрын
Its bizzare to think when to load it up with defaults that it doesnt actually set it up properly.
@chaaalyy5 жыл бұрын
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 :)
@banjohat5 жыл бұрын
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 :)