1 Reply Latest reply on Sep 14, 2020 2:02 AM by TakashiM_61

    MB9DF125 Possible Read/Write Flash with JLink?

    AnEf_4770626

      Hello,

       

      I've tried to read/write flash with JFlash (Jlink). The connection established, but I've got errors:

      FSEU script --- MCU reset

      - --- FSEU script --- OK: Debug port powered up

      - --- FSEU script --- OK: ARM JTAG-DP detected (JTAG IDCODE: 0x4ba00477)

      - --- FSEU script --- OK: SCCFG_STAT2_DBGRDY is set, whole MCU can now be accessed (if unsecured))

      - --- FSEU script --- OK: SCCFG_STAT2 = 0x00000105

      - --- FSEU script --- OK: Correct security key entered, MCU unlocked

      - --- FSEU script --- OK: SCCFG_STAT2 = 0x00000101

      - --- FSEU script --- SCCFG_GPREG1 = 0x2A000000

      - --- FSEU script --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000021

      - --- FSEU script --- ERROR: Trying to halt the Core caused the StickyError flag to be set!

      - --- FSEU script --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000021

      - --- FSEU script --- ERROR: Accessing Watchdog registers caused the StickyError flag to be set!

      - --- FSEU script --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000021

      - --- FSEU script --- ERROR: Trying to change System RAM wait cycles caused the StickyError flag to be set!

      - InitTarget() end

      JLink Commander also gives an error

      ERROR: Cortex-A/R-JTAG (connect): Could not determine address of core debug registers. Incorrect CoreSight ROM table in device?

      photo_2020-09-05_19-27-56.jpg

      The SEGGER says that this CPU can be readen/written but some initial settings are not correct, and only Cypress can solve it.\

       

      Thanks