When using OTA with external sflash, can DCT be placed in internal flash?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HiIw_4620611
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

Hello.

My platform's component is MPU:STM32F412 with external sflash added.

According to WICED-OTA.pdf 2.1 Internal + External FLASH.

In OTA(not OTA2) external sflash can understand LUT, DCT and OTA_APP and APP_image to be arranged.

Then is it possible to place DCT in the built-in flash?

If possible, please tell me how to changing.

According to WICED-WAF.pdf 2, the DCT used is described as internal flash side only.

The result of "make snip.ota_fr-<platform_name> download download_apps" is that DCT looks like internal flash.

And when analyze the source of WICED, it seems that EXTERNAL DUCT can be used to switch on making, but this definition alone will cause an error in make.

メッセージ編集者: Hiroyuki Iwasaki I wanted to get some answers, so translated it into English. Thank you.

1 Solution
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Iwasaki-san:

WICED SDKの現在の設定では、内部Flashのみが使用されます。

外部FLASHに、DCTを使用してOTA Applicationをテストしておりません。

もし外部フラッシュを試したい場合は、makefileで、macro:EXTERNAL_DCTを有効にする必要があります。

通常、OTA2にはEXTERNAL_DCTがあります。しかし、OTA2 documentにあるように、OTA2はSTM32F4xxのWICED SDKに実装されていません。

The current settings in WICED SDK uses internal flash only.

We have not tried to test the ota application with DCT located in external flash.

If need to try external flash, needs to enable EXTERNAL_DCT micro in the makefile.

Usually, OTA2 has EXTERNAL_DCT. But as the OTA2 Document says, OTA2 is not implemented in WICED SDK for STM32F4xx.

View solution in original post

0 Likes
2 Replies
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Iwasaki-san:

WICED SDKの現在の設定では、内部Flashのみが使用されます。

外部FLASHに、DCTを使用してOTA Applicationをテストしておりません。

もし外部フラッシュを試したい場合は、makefileで、macro:EXTERNAL_DCTを有効にする必要があります。

通常、OTA2にはEXTERNAL_DCTがあります。しかし、OTA2 documentにあるように、OTA2はSTM32F4xxのWICED SDKに実装されていません。

The current settings in WICED SDK uses internal flash only.

We have not tried to test the ota application with DCT located in external flash.

If need to try external flash, needs to enable EXTERNAL_DCT micro in the makefile.

Usually, OTA2 has EXTERNAL_DCT. But as the OTA2 Document says, OTA2 is not implemented in WICED SDK for STM32F4xx.

0 Likes

Thank you for answering.

It seems that DCT_IMAGE of wiced-ota.pdf-2.1 is assigned to the external FS, so it is a mistake.

It was good. Thank you!

0 Likes