I have added OpenOCD flash algorithm of our company's MCU, and i confirmed target identification (probe) of MCU as reading ID register of device.
I have also confirme d to control (write or read ) data from peripheral registers is enabled, but writing or erasing code to flash memory, it is always failed.
it takes a much time about 78 seconds (0.098KiB/s) while 7KB binary code (bootloader) is writing to flash memory.
Although Adapter speed is replaced 1MHz (up to 3 MHz) from 100khz to connect JTAG, what is the reason that the speed of writing to flash memory is too slow?
Are you able to issue generic openocd commands to erase, read and write sectors in your flash?