Skip to content
  • David Brownell's avatar
    ETM: start support for ETMv2+ · d47764ff
    David Brownell authored
    
    
    ARM11 and newer cores include updated ETM modules.  Recognize
    their version codes and some key config differences.  Sanity
    checked on an OMAP2, with an ETM11RV r0p1 (ETMv3.1).
    
    This still handles only scan chain 6, with at most 128 registers.
    Newer cores (mostly, Cortex) will need to use the DAP instead.
    
    Note that the newer ETM modules don't quite fit the quirky config
    model of the older ones ... having more port widths is easy, but
    the modes aren't the same.  That still needs to change.
    
    Fix a curious bug ... how did the register cache NOT get saved??
    
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    d47764ff