IAP_ReinvokeISP on LPC54606 with FreeRTOS

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

IAP_ReinvokeISP on LPC54606 with FreeRTOS

ソリューションへジャンプ
1,327件の閲覧回数
gph
Contributor III

Hi,

I want to run the ISP mode on UART from program using FreeRTOS.

It's working before running FreeRTOS tasks, but when i call this in a FreeRTOS Task, the program stop but the ISP doesn't respond.

The call :

 

uint32_t st=0;
IAP_ReinvokeISP((uint8_t)6, &st);

 

I'll try with "__disable_irq();" before the call, same result.

 

Context : MCUXPRESO V11.8, FreeRTOS V10.5.1, IAP SDK 2.0.7

If someone have a suggestion, i take it

Thanks, Philippe.

 

 

0 件の賞賛
返信
1 解決策
1,256件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @gph 

I made a simple demo for you, it is based on LPC54628, the same with your chip, you can refer to it.

Also, you can send your project to me, I help to check the issue.

 

BR

Alice

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,304件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @gph 

Please use latest SDK version, also based on a simple FreeRTOS demo to check.

 

BR

Alice

0 件の賞賛
返信
1,296件の閲覧回数
gph
Contributor III

Hello,

This is the latest SDK version. (The version give is not the SDK but only the IAP drivers given by the manager).

As i sayed : SDK function is working out of FreeRTOS task, but not in FreeRTOS task.

In my case the decision to swap to ISP mode can be made only in FreeRTOS task.

Is there a way to do ReinvokeISP in FreeRTOS task ?

 

Thanks, Philippe.

 

0 件の賞賛
返信
1,257件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @gph 

I made a simple demo for you, it is based on LPC54628, the same with your chip, you can refer to it.

Also, you can send your project to me, I help to check the issue.

 

BR

Alice

0 件の賞賛
返信
1,233件の閲覧回数
gph
Contributor III

Thanks.

I use a workaround.

I put a TAG in Eeprom and reset when i am in FreeRTOS. In startup i'll check the TAG and switch to ISP mode if needed.

 

0 件の賞賛
返信