watchpoint bit masking

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

rcc
Posts: 2
Joined: Mon Mar 12, 2018 4:04 am

watchpoint bit masking

Postby rcc » Fri Jan 03, 2020 10:41 am

Hello,
I want to stop on the watchpoint, when specific bit is modified.

My case:
1. Find address, of ADC_CR 0x40012408 (for example in documentation or in debugging view, SFRs)
2. Find in memory view, then right click and "Add Watchpoint"
3. Put setting range: how many bytes investigate, by default 4 bytes
4. Set Stops when write occured
5. Set condition when only bit 0 (ADEN) is set to 1 ??? HOW?

regards

Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 1 guest