Blank Screen when STEMWIN code generated from CubeMx
- February 17, 2019
- 6 replies
- 1464 views
Hi,
I am having this issue with STM32F469 and 769 Discovery boards. I am trying to create a project in CubeMx with ADC enabled and a STEMWIN Window created using GUIBuilder.
When I try to generate this code and run it in SW4STM32, the Discover screen stays blank. This issue has occurred for both 469 and 769 Discovery boards.
I am able to run the sample graphics code for these boards, but not code that I generated.
Can someone help me figure this out. I am attaching the .ioc file and the .zip of generated code as well.
Here is the log for this run:
Open On-Chip Debugger 0.10.0-dev-00015-gaaf1808 (2018-11-13-13:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter_nsrst_delay: 100
adapter speed: 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2.1 JTAG v29 API v2 M18 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.245563
Info : Stlink adapter speed set to 1800 kHz
Info : STM32F769NIHx.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : Stlink adapter speed set to 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800b020 msp: 0x20080000
Info : Stlink adapter speed set to 4000 kHz
adapter speed: 4000 kHz
** Programming Started **
auto erase enabled
Info : flash size probed value 2048
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000084 msp: 0x20080000
wrote 262144 bytes from file Debug/Test_769.elf in 3.426961s (74.702 KiB/s)
** Programming Finished **
** Verify Started **
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20080000
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20080000
verified 146156 bytes in 0.110707s (1289.263 KiB/s)
** Verified OK **
** Resetting Target **
Info : Stlink adapter speed set to 1800 kHz
adapter speed: 1800 kHz
shutdown command invoked
