cancel
Showing results for 
Search instead for 
Did you mean: 

MCU jump in a undefined state and touch doesn't work no longer

flyingMonkey
Associate II

Hello,

I am working on a touchgfx Project STM32F7508-DK.

My GUI is already designed and I am do programming th intelligense to each GUI window.

I have implement few communication interfaces like ModBus, I2C - Temperatur probe ( same I2C used by Touch-Controller ) as well.

At the time, there are still a confuse behavior, because my real Display will go into undefined state after a short time after each start-up. I2C and USART interfaces doesn't work as well.

If I am in Debugging Mode, a error window appears in STM32CubeIde:

0693W00000NqrlQQAR.pngI take a look into "Build-Analyzer" ( in STM32CubeIde ) and see in the FLASH section .text following entry:

0693W00000Nqrm9QAB.pngMemmory Regions is attached to get an overview:

0693W00000NqrmJQAR.pngI don't know what I could do anymore. If there is a problem of linker script?

Have anyone an Idea or can help me to figured out the problem?

3 REPLIES 3

There typically isn't source code for library code, it's just a collection of objects.

The exit() function is likely an infinite loop.

Perhaps review why any of your code is calling exit(), likely a cop-out exit/failure path.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
flyingMonkey
Associate II

I have add actions, triggers and interaction functions to fill-out with code in CubeIde.

My Programm includes 4 Task ( RTOS ) and they are only have an infinite loop, but it's just normal.

My Disassembly while debugging shows me the infinite-loop pattern:

0693W00000NqryFQAR.pngWhat means instrcution b.n?

flyingMonkey
Associate II

Map-File content:

.text._exit  0x0000000090074df8    0x2 c:/st/stm32cubeide_1.6.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libnosys.a(_exit.o)

        0x0000000090074df8        _exit