factory mode issue.

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

cross mob
Anonymous
Not applicable

factory mode document(WICED-AN800-R-Factory-Programming.pdf) run and checked.

SDK 3.1.2 is normal behavour.

But, I'm used develop SDK 3.5.2.

SDK 3.5.2 is not work dct set value.

factort_reset_dct run step.

1.temp_control,mk add "GLOBAL_DEFINES     :=  MAC_ADDRESS_SET_BY_HOST"

2.make demo.temp_control-BCM9WCDPLUS114
3.make demo.temp_control-BCM9WCDPLUS114 factory_reset_dct Apps\demo\temp_control\mfg\0001.txt
4.set JTAG_CFG=./tools/OpenOCD/BCM9WCD1EVAL1.cfg
5.set MCU_CFG=./Tools/OpenOCD/stm32f2x.cfg
6.set FLASH_CFG=./Tools/OpenOCD/stm32f2x-flash-app.cfg
7. .\Tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -f %JTAG_CFG% -f %MCU_CFG% -f %FLASH_CFG% -c "flash write_image erase build/waf.bootloader-NoOS-BCM9WCDPLUS114/binary/waf.bootloader-NoOS-BCM9WCDPLUS114.elf" -c shutdown

8. .\Tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -f %JTAG_CFG% -f %MCU_CFG% -f %FLASH_CFG% -c "flash write_image erase build/demo.temp_control-BCM9WCDPLUS114/binary/demo.temp_control-BCM9WCDPLUS114.elf" -c shutdown

9. .\Tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -f %JTAG_CFG% -f %MCU_CFG% -f %FLASH_CFG% -c "flash write_image erase build/demo.temp_control-BCM9WCDPLUS114/factory_reset/factory_reset_dct_0001.elf" -c shutdown >> build/openocd_log.txt 2>&1 && echo Download complete && "./Tools/common/Win32/echo.exe" || echo "**** Download failed ****"

app download run but, dct value is not set.

If you ever changed SDK3.5.2 factory mode?

How to Run SDK3.5.2 factory mode?

This issue is very important.

I want SDK3.5.2 used resolve solution

0 Likes
1 Reply
Anonymous
Not applicable

Add to I'm try SDK3.3.1 test.

But, step 3 is build error... do not test SDK3.3.1.

make demo.temp_control-BCM9WCDPLUS114 factory_reset_dct Apps\demo\temp_control\mfg\0001.txt

G:\WICED\SK Planet\WICED_3.3.1\WICED-SDK-3.3.1\WICED-SDK>make demo.temp_control-BCM9WCDPLUS114 factory_reset_dct Apps\demo\temp_control\mfg\0001.txt

Makefile:187: warning: overriding recipe for target 'demo.temp_control-BCM9WCDPLUS114'

Makefile:157: warning: ignoring old recipe for target 'demo.temp_control-BCM9WCDPLUS114'

Makefile:187: warning: overriding recipe for target 'Apps\demo\temp_control\mfg\0001.txt'

Makefile:157: warning: ignoring old recipe for target 'Apps\demo\temp_control\mfg\0001.txt'

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

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

Making Factory Reset DCT image

In file included from build/demo_temp_control-BCM9WCDPLUS114/factory_reset/factory_reset_dct_factory_reset_dct.c:15:0:

././WICED/platform/include/platform_dct.h:18:29: fatal error: wiced_constants.h: No such file or directory

#include "wiced_constants.h"

                             ^

compilation terminated.

wiced_factory_reset.mk:43: recipe for target 'demo.temp_control-BCM9WCDPLUS114' failed

make.exe[1]: *** [demo.temp_control-BCM9WCDPLUS114] Error 1

Makefile:225: recipe for target 'factory_reset_dct' failed

make: *** [factory_reset_dct] Error 2

So, I'm copy wiced_constats.h file \WICED\platform\inclue folder after rebuilding try.

build/demo_temp_control-SSBWMN01/factory_reset/factory_reset_dct_factory_reset_dct.c:68:26: error: expected expression before ',' token

     .platform.mfg_info = ,

                          ^

wiced_factory_reset.mk:43: recipe for target 'demo.temp_control-BCM9WCDPLUS114' failed

make.exe[1]: *** [demo.temp_control-BCM9WCDPLUS114] Error 1

Makefile:225: recipe for target 'factory_reset_dct' failed

make: *** [factory_reset_dct] Error 2

only SDK3.3.1 is build error.

SDK3.1.2 or 3.5.2 is building is normal work.

I want qiucky this issue answer.

factory mode is very important issue.

0 Likes