关于s32k312擦除和写入flash时,采用同步方式和异步方式花费时间存在巨大差异的问题

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

关于s32k312擦除和写入flash时,采用同步方式和异步方式花费时间存在巨大差异的问题

423件の閲覧回数
vurtual
Contributor II

在向Flash擦除和写入大约550K以内的bin的情况下,采用同步的方式(使用INT_SYS_DisableIRQGlobal)大概会用时25秒左右。采取异步的方式(用INT_SYS_DisableIRQGlobal)大概会用时80秒左右。请教下NXP的技术大佬,是什么原因导致的?有没有办法让异步方式缩短时间?

0 件の賞賛
返信
1 返信

395件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @vurtual 

how do you call MainInterface function or Fls_MainFunction? Is there any code executed in between?

Anyway, a lot of additional code is executed if asynchronous method is used. This is supposed to be used when other operations need to be done in parallel and when longer programming time is not a problem.

If you do not need to run other operations in parallel and if programming time is important, use synchronous method.

Regards,

Lukas

0 件の賞賛
返信