Skip to main content
TMats.9
Associate
November 19, 2021
Question

When I try to flash erase program on stm32g07, using HAL_FLASHEx_Erase,Once cpu freezes.

  • November 19, 2021
  • 0 replies
  • 636 views

When I try to flash erase program on stm32g07, using HAL_FLASHEx_Erase,Once cpu freezes.

I am using EWARM and ICE use I-JET. ​

After executing HAL_FLASHEx_Erase, the following debug error is output.

The processor cannot be debugged. 

The debug registers are not accessible or 

the CPU clock is stalled by the memory controller. 

CPU status FAILED 

CMD_INTERPRETER: failed 

C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.3\arm_original\config\debugger\ST\STM32G0xx.dmac(59,27): Error: Operation error.  

Error while calling macro execUserCoreConnect 

Could you please tell me the solution?

This topic has been closed for replies.