STM32H723 embedded bootloader command GO fail
I use STM32H723VET6. Bootloader ver 9.2. When I can send command GO at FDCAN (PD1, PD0), I receive ACK(0x79), but after that MCU is fail.
My function:
void BootCanGo(uint8_t* answer)
{
uint32_t Delayer = 0x8FFFFF;
uint8_t SendedData[4];
CanTxHeader.Identifier = BOOT_CAN_COMMAND_GO;
SendedData[0] = 0x08;
SendedData[1] = 0x00;
SendedData[2] = 0x00;
SendedData[3] = 0x00;
/* Start the Transmission process */
CanTxHeader.DataLength = FDCAN_DLC_BYTES_4;
HAL_FDCAN_AddMessageToTxFifoQ(&hfdcan, &CanTxHeader, SendedData);
while ((HAL_FDCAN_GetRxFifoFillLevel(&hfdcan, FDCAN_RX_FIFO0) < 1) && --Delayer) {};
HAL_FDCAN_GetRxMessage(&hfdcan, FDCAN_RX_FIFO0, &CanRxHeader, CanRxData);
*answer = CanRxData[0];
}
Write memory and Erase memory commands run correct. A program in flash memory mode (BOOT0 pin LOW) run correct. There are no limitations in AN2606:
I tried to run the debugger on the STM32H723 (device side). I stop the program, and after the command GO I start it again in step mode. After of several steps disconnection occurs:
Flash in STM32H723:
What am I doing wrong?
