Wi-Fi Combo Forum Discussions
Hi all,
I'm facing the problem of unexpected behavior (mostly system freeze) when trying to initialize secure pRNG (Fortuna) with:
wiced_crypto_use_secure_prng()
Environment:
1. SDK 6.2.0.72
2. HW: ISM43903 module
In my case freeze happens when SDK is internally calling:
wiced_hw_sha256_starts()
Looks like more or less memory leak, but I might be wrong (didn't trace it carefully).
I saw that since SDK 6.1.0.85 introduced (enabled by default) alternative crypto functionalities basing on HW (eg. sha256_alt.c etc.).
Disabling usage of HW crypto alts fixes described problem:
GLOBAL_DEFINES += WICED_CONFIG_DONOT_USE_HW_CRYPTO
Is it possible to use HW crypto functionalities using 43903 platform and SDK 6.2?
Show Less06-27 14:44:48.991 | 0 | 0 I kernel: CFG80211-ERROR) wl_run_escan : Escan set error (-16) |
06-27 14:44:48.999 | 0 | 0 I kernel: CFG80211-ERROR) wl_run_escan : error (-16) |
06-27 14:44:49.009 | 0 | 0 I kernel: CFG80211-ERROR) __wl_cfg80211_scan : Scan err = (-16), busy?-16 |
06-27 14:44:49.029 | 0 | 0 I kernel: CFG80211-ERROR) wl_cfg80211_scan : |
06-27 14:44:49.034 | 0 | 0 W kernel: scan error (-16) |
06-27 14:44:50.117 | 0 | 0 I kernel: CFG80211-ERROR) wl_run_escan : Escan set error (-16) |
06-27 14:44:50.125 | 0 | 0 I kernel: CFG80211-ERROR) wl_run_escan : error (-16) |
06-27 14:44:50.132 | 0 | 0 I kernel: CFG80211-ERROR) __wl_cfg80211_scan : Scan err = (-16), busy?-16 |
06-27 14:44:50.141 | 0 | 0 I kernel: CFG80211-ERROR) wl_cfg80211_scan : |
06-27 14:44:50.160 | 0 | 0 W kernel: scan error (-16) |
06-27 14:44:51.230 | 0 | 0 I kernel: CFG80211-ERROR) wl_run_escan : Escan set error (-16) |
06-27 14:44:51.255 | 0 | 0 I kernel: CFG80211-ERROR) wl_run_escan : error (-16) |
06-27 14:44:51.280 | 0 | 0 I kernel: CFG80211-ERROR) __wl_cfg80211_scan : Scan err = (-16), busy?-16 |
06-27 14:44:51.296 | 0 | 0 I kernel: CFG80211-ERROR) wl_cfg80211_scan : |
06-27 14:44:51.302 | 0 | 0 W kernel: scan error (-16) |
[ 3945.915531] dhd_check_hang: Event HANG send up due to re=0 te=2 e=-110 s=2
We encountered problems in using CYW43012 for BT RF testing. I hope to get everyone's help
If we want to use MBT to test the BT RF performance , does the chip need to burn "bt_mfg_test" first?
It seems that only the HCI command was sent, but no .received HCI Event .
Show Less
We have encountered some problems and hope you help,
we can compile successfully with the “CYW943907WAE4” platform, but can not succeed on the “CYW943012EVB_02” platform. The version we use is WICED-Studio-6.2.0.72
What does the following error mean, how can I successfully compile?
//==================================================================
WICED/RTOS/ThreadX/ThreadX.mk:84: *** No ThreadX port for architecture. Stop.
make: *** No rule to make target 'build/test.bt_mfg_test-CYW943012EVB*/config.mk', needed by 'main_app'. Stop.
//=================================================================
Show Less
I just freshly installed WICED Studio 6.2 and am interested in learning how to build
FreeRTOS programs in the WICED Studio IDE for the CYW943907AEVAL1F Evaluation Board.
There is a Makefile provided by the WICED Studio 6.2 installation in this directory:
Documents/WICED-Studio-6.2/43xxx_Wi-Fi/WICED/RTOS/FreeRTOS/FreeRTOS.mk
As I understand, it is currently using the FreeRTOS 9.0.0 library.
I have been trying to understand how to build the sample program that this Makefile provides and learn exactly what it does,
so that I can use it as a template for building my own program, but I cannot figure out how to write a functioning 'Make Target' for it.
I tried to create a 'Make Target' using the string "FreeRTOS-CYW943907AEVAL1F download run", but it produces the following errors:
./tools/makefiles/wiced_config.mk:420: *** No application specified. Options are: README.txt demo snip test waf wwd. Stop.
make: *** No rule to make target `build/FreeRTOS-CYW943907AEVAL1F/config.mk', needed by `main_app'. Stop.
Can someone please help me understand the correct syntax for a 'Make Target' to build the FreeRTOS sample?
A little extra information:
- Running WICED Studio 6.2.
- The only experience I have with WICED Studio is from Alan Hawse's video series, linked here.
- I am on a Linux Ubuntu 16.04 machine.
- Working with a CYW943907AEVAL1F Evaluation Board.
- Will need to eventually upgrade from FreeRTOS to Amazon FreeRTOS, which I have been told is simply version 10.0.1.
Message was edited by: Jeremy Higgins Clarifying question. Would like to learn how to get WICED Studio to build the FreeRTOS kernel version 10.0.1 instead of version 9.0.0.
Show Lessludovicw and jerome_2594171
Thanks for the response here: AMQP Azure : receiver and sender functions.
Unfortunately when i implement this fix I get no activity on the Azure Cloud side. From the Device perspective status is OK on data transfer and it successfully detaches and it loops around, but again no message is received on cloud side. Were you able to see the message content successfully passed and displayed within Azure Device Explorer Twin?
Thx, Chuck
Show LessHello
We are trying to connect Adesto AT25SF641-MHB-T which is not supported by Wiced.
We can send JEDEC ID (9Fh) command and sometimes get the response from flash memory.
Since It isn't stable, we want to try to change the access timing.
How can we change the timing like SCK clock speed ?
Regards
Show LessI'm having issues with timing when I enable mcu powersave (wiced_platform_mcu_enable_powersave). I've attached a small program to demonstrates the issue.
The program just prints out the timestamp once a minute. When mcp powersave is disabled, the timing is very consistent. When enabled, the interval and the internal time-tracking are messed up.
Example output with each line timestamped:
Thu Apr 28 14:33:18 2016: Starting WICED
...
Thu Apr 28 14:33:42 2016: Enable MCU powersave
Thu Apr 28 14:33:42 2016: Create thread and timed event
Thu Apr 28 14:33:42 2016: Running
Thu Apr 28 14:34:20 2016: Time: 1970-01-01T00:02:19.043568 <-- Should be one minute intervals
Thu Apr 28 14:34:30 2016: Time: 1970-01-01T00:03:49.029000 <-- Printed 10 seconds later. Module thinks one minute 30 seconds has passed
Thu Apr 28 14:35:13 2016: Time: 1970-01-01T00:05:50.042392
Thu Apr 28 14:35:55 2016: Time: 1970-01-01T00:07:50.030248
Thu Apr 28 14:36:36 2016: Time: 1970-01-01T00:09:49.057640
Thu Apr 28 14:37:17 2016: Time: 1970-01-01T00:11:48.003000
Thu Apr 28 14:38:06 2016: Time: 1970-01-01T00:13:55.058392
Without mcu powersave enabled:
Thu Apr 28 15:02:36 2016: Starting WICED
...
Thu Apr 28 15:03:00 2016: Create thread and timed event
Thu Apr 28 15:03:00 2016: Running
Thu Apr 28 15:04:00 2016: Time: 1970-01-01T00:01:23.057712
Thu Apr 28 15:05:00 2016: Time: 1970-01-01T00:02:23.057712
Thu Apr 28 15:06:00 2016: Time: 1970-01-01T00:03:23.057712
Thu Apr 28 15:07:00 2016: Time: 1970-01-01T00:04:23.057712
Thu Apr 28 15:08:00 2016: Time: 1970-01-01T00:05:23.057712
Thu Apr 28 15:09:00 2016: Time: 1970-01-01T00:06:23.057712
Thu Apr 28 15:10:00 2016: Time: 1970-01-01T00:07:23.057712
Thu Apr 28 15:11:00 2016: Time: 1970-01-01T00:08:23.057712
Thu Apr 28 15:12:00 2016: Time: 1970-01-01T00:09:23.057712
Thu Apr 28 15:13:00 2016: Time: 1970-01-01T00:10:23.057712
Thu Apr 28 15:14:00 2016: Time: 1970-01-01T00:11:23.057712
I'm running WICED SDK 3.5.2 with the Avnet BCM4343W IoT module. Compiled with snip.mcu_powersave-BCM94343W_AVN download run. Anyone have any idea what's wrong?
Thanks,
-Rob
Show LessHello,
In WICED V6.1
When I'm trying to send a notification with BLE function wiced_bt_gatt_send_notification, I had :
00:02:03.955000 GKI_exception(): Task State Table
00:02:03.960000 GKI_exception 65535 Enqueue - Buffer corrupted
Can you help me to understand the problem ?
Show Less