use ICE R/W i.MX 53 UART/SSI registers -blog archive

Discussion created by PengFushi Employee on Nov 29, 2011

Sometimes  need read and modify registers for debug, once ICE connect  board ,  use the memory window do this work.  

For i.MX 53 , if  use  RealView 3.1  dump UART/SSI registers , you will get nothing. So in this case,  the CEXPRESSTION  and SETMEM command  can help you:

CEXPRESSTION used for dump ,   cexpression ((unsigned long *)S:0x50014010)[0]

SETMEM used  for write,  SETMEM 0x50014010 =0x98

Also you can  upload/download memory to file, note the start  address and length should set properly , or  will get error.

For command  syntax , you can reference it :