RFQ/BOM 0 로그인 / 등록하다

귀하의 위치를 선택하세요

사용자 이미지

Is there room for improvement in Flash programming speed?

Hardware design
10월 22, 2020 by Mia 147

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

답변 작성

답글을 달려면 로그인이 필요합니다. 로그인 | 등록하다