Knowledge Base Article
Memory Window Sets Control Register Values Incorrectly
Description
The memory window might incorrectly set values in memory-mapped control registers. For example, writing 0x1234 to a byte addressed register results in the value 0x3434 being stored in the register. The memory window shows this incorrect value.
Resolution
Use the GNU debugger (GDB) console window in the IDE, instead of the memory window, to write to the registers. For example, type the following command:
set {int} <register address>=0x1234
You must refresh the memory window for it to correctly display the target value.
Updated 2 months ago
Version 2.0No CommentsBe the first to comment