I have a problem with this part of the code that involves the HAL erase function. I want to calculate the sector address from the block number i, but after execution, I encounter an error during debugging: "target ST-LINK error (DEV_TARGET_NOT_HALTED...