RFQ/BOM 0 サインイン / 登録する

所在地を選択してください

ユーザーイメージ

Is there room for improvement in Flash programming speed?

Hardware design
10月 22, 2020 by Mia 160

To write Flash in IAP mode, it takes about 100S for 34KB of data, including write and page erase. But it can be done with the emulator about 5S. Is there room for improvement? Of course, the IAP method is the serial port to connect the data, and the emulator is the SWD interface.

すべてのコメント

user image

Luke ポストする October 22, 2020

The emulator uses an axf file, which contains debugging information and a bin file. Generally, the bin file is much smaller than the hex file, and basically less than 50%. Maybe this is also the reason.

Of course, SWD is actually a serial port, but it is still more efficient than ISP.

0
user image

Oliver ポストする October 22, 2020

34K? 100S? One and a half minutes? Too slow, what is the serial port baud rate?

In my impression, it takes only 2 minutes for a few hundred K, so I forgot the details.

The data transmission time can be calculated according to the baud rate, and the rest is the time to erase and write FLASH.

Wipe the manual and see how much time it takes to wipe, which is the main time.

0
user image

Lucas ポストする October 22, 2020

100S is definitely slow.

When the emulator is downloaded, it runs the programming algorithm program in RAM, and then writes data to the internal Flash.

You can also try to run the program in RAM, and then IAP writes data to Flash. This is just to test writing to Flash.

0

答えを書く

返信するにはログインする必要があります。 サインイン | 登録する