Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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
37
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 )

Untitled.png
Untitled2.png
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top