2017-11-12 01:03 AM
Hello.
I want to teach simple programming for my friend, and guess what, none of DSI examples for STM32F469i-Disco worked from CubeMX folder.\STM32Cube_FW_F4_V1.16.0\Projects\STM32469I-Discovery\Applications\Display\LCD_PaintFor the love of god, discovery kits suppose to give simple examples how to use device, and I spend 2 hours trying all DSI examples, none of them worked. This is not right.
Had to rewrite it in SPL, it start to work, but touchscreen porting was to difficult, so i have to switch to STM32F429i to make it work.
Please ST, fix this problems, and please, use SPL for H7 and F7 series, we love SPL, and we don't need CubeMX bugs ruing our life
I only use CubeMX for footprints and AF functions, that it !
#bugs #hall-with-bugs #hall-does-now-work #hall-sukcs #cubemx #where-is-spl2017-11-14 02:37 AM
Hi
karpavicius.Linas
,I tested the same example using IAR 8.2 and I got the same issue that I reported internally for further check and in order to take appropriate actions to fix the issue.
As workaround, I was able to run the example properly after decreasing optimizations of the project.
Please try the same from your side and let me know if it brings some help.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-11-14 03:58 AM
As workaround, I was able to run the example properly after decreasing optimizations of the project.
A typical symptom of unexperienced coders, and deadline pressure.
Please try the same from your side and let me know if it brings some help.
This should help to run the examples pre se.
But I would be careful using it as base for own projects - above mentioned behavior suggests design bugs ...
2017-11-24 04:36 AM
I tested each optimization level and found what is causing the problem.
It was Common Subexpresion Elimination. It seems like you have so many code to do simple thinks, so it eventually fails to work. I don't like this code overhead you have for HAL, same function in SPL is 4 lines, in HAL it is more than 502017-11-24 04:47 AM
Why doesn't this surprise me ...
I refuse to comment on Cube code at all, because I don't want to give free support to a Banana software* that just lures more unaware noobs into the realm.
* bananas are usually shipped green today, to ripen at the customer ...
2017-11-24 07:08 AM
2017-11-24 10:09 AM
Sometimes even lethal one's ...