2019-12-18 12:24 AM
I use STM32F407 and external NAND Flash.
I modify void SysTick_Handler(void) -> add GPIO Toggle.
So Normal Condition, GPIO pin is toggled regularly.
When HAL_NAND_Erase_Block() excute, GPIO pin is toggle irregularly.
After HAL_NAND_Erase_Block() finish, GPIO pin is toggle regularly.
Additionally,
Uart_IRQHander()
{
rx_data = UARTx->DR;
UARTx->DR = rx_data;
}
When HAL_NAND_Erase_Block() is not excuted, Good Return.
But HAL_NAND_Erase_Block() excuted, Bad Return.
Why???