QSPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
2,243 次查看
AloysiusJegan
Contributor III

Hi,

 

I am new to MCF52259 and MQX. I wanted one information regarding QSPI before starting my project.

 

In the above mentioned chip, we have one QSPI. I wanted to read a time critical data for every 15ms and do firmware upgrade whenever it is available. For both operation I'll be using the same QSPI. Every 15 ms the hardware interrupt will be generated and it is given to QSPI to read the data.

 

Assume that now the firmware upgrade is going on through the same QSPI and the interrupt also generated with high priority, Now what will happen? please explain to me.

 

Thanks.

 

-AJ

0 项奖励
回复
1 解答
1,286 次查看
DavidS
NXP Employee
NXP Employee

Hi AJ,

This is an unusual setup so I am only making suggestions and observations.

Usually if doing a formware upgrade, the other capabilities in the system are disabled.

If however your application requires continue collection of samples at the 15ms rate, you would have to buffer the sample to RAM until the firmware update is complete and then copy the buffer to your desired location after the firmware upgrade completes.  This way you have minimal delay during firmware upgrade.

I usually see firmware upgrade as part of a bootloader application so that if there is a brown out (power failure) during upgrade the system will recover and restart the bootloader application.  I have not seen a bootloader collecting data samples too.

Best Regards,

David

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,287 次查看
DavidS
NXP Employee
NXP Employee

Hi AJ,

This is an unusual setup so I am only making suggestions and observations.

Usually if doing a formware upgrade, the other capabilities in the system are disabled.

If however your application requires continue collection of samples at the 15ms rate, you would have to buffer the sample to RAM until the firmware update is complete and then copy the buffer to your desired location after the firmware upgrade completes.  This way you have minimal delay during firmware upgrade.

I usually see firmware upgrade as part of a bootloader application so that if there is a brown out (power failure) during upgrade the system will recover and restart the bootloader application.  I have not seen a bootloader collecting data samples too.

Best Regards,

David

0 项奖励
回复