Good news that uV now support ARM9!! while I am setting up RVMDK301A, I find that this version cannot load assembly source when stepping on assemble. I am using old DK300A project without any changes. Will this verison support SFR window for AT91RM9200? ;-) Tam
Regarding the loading of assembly code, please send a simplified example to support.intl@keil.com Keep in mind, you need to run it on target hardware (since the simulator is only able to simulate the CPU core, but no CPU startup or peripherals).
You may also use the memory window (or the watch window) to view SFR registers.
Hi Reinhard, Thanks for your idea. :-) The SFR defined in symbol windows is only a subset. I am debugging a realtime system that need constantly checking bundles of SFRs. How can I view SPI, SSC SFR? Currently I use the trick of debug functions:
FUNC void show_pmc_reg (void) { printf("AT91C_PMC_SCSR : %08x\n", _RDWORD(0xFFFFFC08)); // (PMC) System Clock Status Register printf("AT91C_PMC_PCSR : %08x\n", _RDWORD(0xFFFFFC18)); // (PMC) Peripheral Clock Status Register : : } DEFINE BUTTON "PMC", "show_pmc_reg()"