Core not halting after reset

    • Core not halting after reset

      Hi,

      I am using MAX32690-EVKit and I noticed that for the program to be loaded I need to manually reset the board using reset button. It seems like resetting the chip using AIRCR.SYSRESETREQ registers is not working. Attached the log. Did anyone come across similar issues ? Any workarounds ?


      Source Code

      1. Firmware Version: J-Link V12 compiled Feb 6 2024 14:35:34
      2. DLL Version: 7.94i
      3. Hardware Version: V12.00
      4. Target Voltage: 1.793
      5. Device "MAX32690" selected.
      6. Current Speed: 4000 kHz
      7. Found SW-DP with ID 0x2BA01477
      8. DPIDR: 0x2BA01477
      9. CoreSight SoC-400 or earlier
      10. Scanning AP map to find all available APs
      11. AP[1]: Stopped AP scan as end of AP map has been reached
      12. AP[0]: AHB-AP (IDR: 0x24770011)
      13. Iterating through AP map to find AHB-AP to use
      14. AP[0]: Core found
      15. AP[0]: AHB-AP ROM base: 0xE00FF000
      16. CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
      17. Found Cortex-M4 r0p1, Little endian.
      18. FPUnit: 6 code (BP) slots and 2 literal slots
      19. CoreSight components:
      20. ROMTbl[0] @ E00FF000
      21. [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
      22. [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
      23. [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
      24. Loading target script file MAX32690_Target.js
      25. Preparing target for download
      26. Executing Reset script Reset();
      27. Reset: Halt core after reset via DEMCR.VC_CORERESET.
      28. Reset: Reset device via AIRCR.SYSRESETREQ.
      29. Core did not halt after reset, halting it manually.
      30. Downloading 'xxxbasic.elf' to MAX32690
      31. Programming 6.7 KB of addresses 10000000 - 10001ad5
      32. J-Link: Flash download: Bank 0 @ 0x10000000: 1 range affected (16384 bytes)
      33. J-Link: Flash download: Total: 0.294s (Prepare: 0.027s, Compare: 0.027s, Erase: 0.035s, Program & Verify: 0.183s, Restore: 0.020s)
      34. J-Link: Flash download: Program & Verify speed: 87 KB/s
      35. Download successful
      Display All

      The post was edited 1 time, last by augustus ().