General Category > Discussion - MCU

Viewing the FT90X peripheral registers in the Eclipse debugger

(1/1)

ksw:
Hi,

I've just started evaluating the FT900 MCU but am unfamiliar with the Eclipse toolchain. I'd like to be able to examine the peripheral register contents while debugging, but when I try and view the memory area containing the registers (base address = 0x10000) I just see 0xFFFF and the contents cannot be modified either, whereas I can examine and modify the RAM areas fine. Is it possible to view the peripheral register contents somehow?

Any suggestions would be greatly appreciated!

ksw:
Problem solved! The base address for the registers is above the 256K shadow program RAM and the 64K data RAM, i.e. at 0x810000. A memory map diagram in the documentation would have made it obvious to a newbie like myself...

BRT Community:
Hi,

We are looking into adding a register viewer but in the meantime one other way to view a register is to add it to the expression window in Eclipse. For example, to view a timer peripheral register, you can add this to the expression window.
*((unsigned char *)0x10340)

Best Regards, BRT Community

Navigation

[0] Message Index

Go to full version