[SOLVED] STM32F103vg crash UART Rx interrupt and global varibles

Status
Not open for further replies.

micronix16

Newbie
Joined
Jul 16, 2017
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
39
Hello ,I have a problem please help me.(sorry my bad english)

I'm designing 3d printer control screen for marlin.I use stm32f103vgt6(HAL Lib) and stemwin for GUI.Everything is good but some varibles and uart rx interrupt register not stable.varibles changing itself and uart rx is closing itself.(initially RXNEIE = 1, then 0 why? I dont understand)
I checked functions ,codes everything true but how that happens?
The program is every second send data and wait resp,rxBuffer is enough,flash and ram are enough,dont have fault but the program not working properly.
I watched debug screen and i think their positions in ram are changing.
i added 2 pics x variable memory location.(before/after )


 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…