STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use ETM on-chip

Hello,I'm trying to record the execution trace of my firmware running on a STM32H753. For this I'm using the ETM functionality of Cortex M7. I don't want to use external tools but rather to use the ETF (Embedded Trace FIFO) that can be accessed direc...

Gpeti by Senior II
  • 444 Views
  • 4 replies
  • 1 kudos

STM32L1 HardFault after wakeup from sleep mode + fix

I would like to share a bug I encountered and how to fix it:I am using an STM32L151, the goal is to set it into SLEEP mode and wake it up using a UART receive interrupt while debugging. All configurations to pins, registers and interrupts are made co...

makas005 by Associate II
  • 966 Views
  • 5 replies
  • 2 kudos

Resolved! Detect Debugger Connected To STM32L0 ?

Posted on December 13, 2017 at 17:32   In Cortex-M3, M4, etc, we can just check the DEBUGEN bit in DHCSR (the Debug Halting Control and Status Register) http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/CEGCJAHJ.htmlBut in Cortex-M...

Running function stack trace

Hi,Master:Question:When the finished product cannot be debugged with jlink, I want to save and trace the function stack information through the firmware. When there are some accidental exceptions, I need to use the function stack to more delicately l...

Lyu.1 by Associate III
  • 1088 Views
  • 5 replies
  • 0 kudos
Labels