AnsweredAssumed Answered

KDS 3.0 debug can't access peripheral registers

Question asked by PRDesigns on May 20, 2015
Latest reply on Nov 20, 2015 by Gary Lynch

I was just getting started with KDS last month (have been using CodeWarrior for 10+ years and was very happy with it, but now switching from ColdFire to Kinetis parts and don't want to be stranded in the future) and received an email suggesting I upgrade to version 3.0.0.  While doing that, I also downloaded the latest KSDK 1.2.0.  Using the OpenOCD debug interface on a FRDM-K22F board and running the "Hello World" example (which works fine), the debugger can not display the contents of peripheral (ADC, UART, etc) registers.  For example, UART1 base address at 0x4006b000, the memory browser gives an error message:

 

Error: CMSIS-DAP: Read Error (0x04)

Error: Failed to read memory at 0x4006b004

 

I've also tried using the new embsys register viewer, and the hex and bin columns are all blank for any of the peripherals I've checked (I did specify the correct processor on the debug preferences panel).

 

The memory browser works fine for flash and RAM addresses.

 

Is this working ok for everyone else and, if so, would anyone have any suggestions please?

 

Thank you.

Outcomes