flash writing speed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SeKi_2184131
Level 2
Level 2
First like given

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?

0 Likes
1 Reply
Anonymous
Not applicable

Are you able to issue generic openocd commands to erase, read and write sectors in your flash?

0 Likes