[<<][arm][>>][..]
Wed Nov 12 00:44:40 EST 2014

freenode #stm32

Look for the following in the irc log [1].

00:42 < doelie> hi. anyone know if it's possible to set breakpoint registers from inside the machine as 
                opposed to jtag/sw? i'm writing a special purpose gdb stub and was wondering if this even 
                makes sense.
00:43 < doelie> particular machine is stm32f103c8

dongs' replies lead to:

Debug inspection and monitor control register DEMCR[2].
FPB (flash patch breakpoint) programmer model[3].
Flash Patch Remap Register[4].

FP_CTRL   0xE0002000	See Flash Patch Control Register
FP_REMAP  0xE0002004	See Flash Patch Remap Register
FP_COMP0  0xE0002008	See Flash Patch Comparator Registers
FP_COMP1  0xE000200C
FP_COMP2  0xE0002010
FP_COMP3  0xE0002014
FP_COMP4  0xE0002018
FP_COMP5  0xE000201C
FP_COMP6  0xE0002020
FP_COMP7  0xE0002024

The STM32F103 reference manual doesn't mention it except for a brief
blurb at 31.12

[1] http://xob.kapsi.fi/~jpa/stm32/2014-11.log
[2] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/CEGHJDCF.html
[3] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/ch11s04s01.html
[4] http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337e/ch11s04s01.html#BABGGDHH




[Reply][About]
[<<][arm][>>][..]