Generating DCT Images problems.

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

cross mob
haki_2218686
Level 2
Level 2
First like received First like given

my os is windows10 and develope environment is WICED Studio 4.1.1 IDE.

I want to create shadow example DCT Image. (refer to "WICED-AN800-R-Factory-Programming.pdf")

First, I downloaded this -> (https://github.com/wlljk2002/bcm-wiced-sdk/tree/master/apps/demo/temp_control)

and copy factory_reset_dct.c file , mfg folder (included files also)

Second, I modified factory_reset_dct.c and  mfg/0001.txt

**factory_reset_dct.c (I changed the contents to this code.)**

static const factory_reset_dct_t factory_reset_dct =

{

    /* Security Credentials for Config Section _______________________________________*/

    .Platform.security_credentials.certificate = _DYNAMIC_CERTIFICATE_STORE,

    .Platform.security_credentials.private_key = _DYNAMIC_PRIVATE_KEY_STORE,

};

**0001.txt***(I changed the contents to this code.Omit the contents of the security keys)

CERTIFICATE_STORE="-----BEGIN CERTIFICATE-----\r\n"\

                  "-----END CERTIFICATE-----\r\n"\

                  "\0"\

                  "\0"

PRIVATE_KEY_STORE="-----BEGIN CERTIFICATE-----\r\n"\

                  "-----END CERTIFICATE-----\r\n"\

                  "\0"\

                  "\0"

Third, I input Windows cmd shell command to build shadow application

> .\make demo.aws_iot.shadow-BCM943907WCD2 factory_reset_dct apps/demo/aws_iot/shadow/mfg/0001.txt

(This is done after moving to the path where 'make' file exists.)

But I got the error message.

MAKEFILE MAKECMDGOALS=demo.aws_iot.shadow-BCM943907WCD2 factory_reset_dct apps/demo/aws_iot/shadow/mfg/0001.txt OTA2_SUPPORT is disabled

Makefile:322: warning: overriding recipe for target 'demo.aws_iot.shadow-BCM943907WCD2'

Makefile:288: warning: ignoring old recipe for target 'demo.aws_iot.shadow-BCM943907WCD2'

Makefile:322: warning: overriding recipe for target 'apps/demo/aws_iot/shadow/mfg/0001.txt'

Makefile:288: warning: ignoring old recipe for target 'apps/demo/aws_iot/shadow/mfg/0001.txt'

Makefile:360: warning: overriding recipe for target 'factory_reset_dct'

Makefile:322: warning: ignoring old recipe for target 'factory_reset_dct'

make: *** No rule to make target 'wiced_factory_reset.mk', needed by 'factory_reset_dct'.  Stop.

and I found wiced_factory_reset.mk file , but this file is not exist

Please help me figure out what's wrong.

0 Likes
1 Solution
haki_2218686
Level 2
Level 2
First like received First like given

I received an answer via cypress.

At present WICED Studio 4.1.1 is not support R-factory-Programming process.

(R-factory-Programming.pdf donwload link: https://community.cypress.com/docs/DOC-3954)

it wiil support to again at Wiced Stduio 4.2.

View solution in original post

9 Replies
lock attach
Attachments are accessible only for community members.
JaeyoungY_71
Employee
Employee
First comment on KBA 25 solutions authored 10 solutions authored

Hello Hanbeom-nim,

The temp_control app you linked to is based on an older version of the SDK, 3.1.0. This will not work if your project is based on WICED Studio 4.1.1.

Please try with the attached version of factory_reset_dct.c included in the temp_control app folder and let us know if this works for you. Also, please try the original temp_control app attached here to verify that it works on your board before applying your changes.

Thanks,

Jaeyoung

thanks your answer .

I downloaded attached file, and entered a command line.(no applying my changes)

but same error message was printed.

command >>> .\make snip.temp_control-BCM943907WCD2 factory_reset_dct apps/snip/temp_control/mfg/0001.txt

MAKEFILE MAKECMDGOALS=snip.temp_control-BCM943907WCD2 factory_reset_dct apps/snip/temp_control/mfg/0001.txt OTA2_SUPPORT is disabled

Makefile:322: warning: overriding recipe for target 'snip.temp_control-BCM943907WCD2'

Makefile:288: warning: ignoring old recipe for target 'snip.temp_control-BCM943907WCD2'

Makefile:322: warning: overriding recipe for target 'apps/snip/temp_control/mfg/0001.txt'

Makefile:288: warning: ignoring old recipe for target 'apps/snip/temp_control/mfg/0001.txt'

Makefile:360: warning: overriding recipe for target 'factory_reset_dct'

Makefile:322: warning: ignoring old recipe for target 'factory_reset_dct'

make: *** No rule to make target 'wiced_factory_reset.mk', needed by 'factory_reset_dct'.  Stop.

0 Likes
haki_2218686
Level 2
Level 2
First like received First like given

I received an answer via cypress.

At present WICED Studio 4.1.1 is not support R-factory-Programming process.

(R-factory-Programming.pdf donwload link: https://community.cypress.com/docs/DOC-3954)

it wiil support to again at Wiced Stduio 4.2.

Hello Hanbeom,

Thank you for replying and keeping the thread updated. We assure you factory programming will be supported in Studio 4.2. Thank you for your patience.

Best,

Jaeyoung

0 Likes

Note that WICED Studio 5.0 will be the next release.

We should be releasing it to the community in early May.

0 Likes

mifo wrote:

Note that WICED Studio 5.0 will be the next release.

We should be releasing it to the community in early May.

May I get early access of sdk-5.0?

0 Likes

Check you inbox.

0 Likes
Anonymous
Not applicable

Hi Mifo,

Can I also get early access to SDK5.0? I'm working on the DCT part and looking for an easier way to flash firmware on 30 devices.

Thanks,

Josh

0 Likes

There is one question.

Is there any other way to mass produce and flash DCT images individually as in r-programming.pdf? (In version 4.1)

Is there any other way in the current version?

0 Likes