G_Flash0.P_Api- Erase

G_Flash0.P_Api- Erase



12/11/2018  · g_flash0.p_api ->close(g_flash0.p_ctrl)} return( Error ) My boot loader is very small 300Kbytes, so i wanted to put my application at 0xF0000. I tried to erase all the block at starting at 0xF0000 => bootloader crashed If the erase api is located in ram, it could be possible to erase it, thats whay i don’t understand, .accessWindowClear g_flash0.p_api – >accessWindowClear(g_flash0.p_ctrl) Clear any existing code-flash access window for FLASH device. .idCodeSet g_flash0.p_api – > idCodeSet(g_flash0.p_ctrl,id_bytes, mode) Write the ID code provided to the id coderegisters.

Advertiser