|
From: Paul F. <fer...@gm...> - 2022-01-30 15:35:45
|
On Sun, Jan 30, 2022 at 06:27:49PM +0300, Dethernal wrote: > struct stm32x_flash_bank has to be filled, but what are user_data_offset, > option_offset, ppage_size etc? They all should come from the datasheet. Do a quick search in the driver code and you'll see how they're used. If anything's unclear feel free to ask on #openocd IRC channel. > Also, Flash memory size register is 0x1FFFF7E0, but in stm32x_get_flash_size > it linked to CORTEX_M3_PARTNO branch, but Artery AT32F415 is Cortex M4. I M3 vs. M4 is likely not essential, don't worry about it for now. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |