cancel
Showing results for 
Search instead for 
Did you mean: 

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

TMats.9
Associate II

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?

0 REPLIES 0