• How to properly measure sleep time with DWT?
    Hello everyone, I need to measure sleep time of my Cortex-M4 processor (STM32F4xx). I looked at DWT where I also use normal tick counter and I enabled SLEEPCNT counter. However, I noticed that it is 8...
  • DWT instruction address
    Hello there, As I was reading the arch TRM some doubts emerged in the DWT component. When it talks about instruction address watching I am not sure if this refers to the address of the instruction...
  • stmdb instruction *appears* not to work correctly - Cortex M4 / SAM4L
    I'm struggling to track down a problem here. It appears to be that the stmdb instruction isn't pushing all of the requested registers, and when the corresponding ldmia.w instruction executes, it pops...
  • What is the meaning of a 64 bit aligned stack pointer address?
    According to ARM Architecture Procedure Call Standard (AAPCS) on the ARMv6-M, and ARMv7-M architecture in  it says: "Although the processor hardware allows SP to be at any word aligned address at function...
  • Break Points and Watch Points
    Greetings,                Sir,i am working on SWD, after  Research on Break Point & Watch Point i found One Thing That There are Some Comparators will Do These Things but I am not Very Sure That How These...