Hi
I try to connect to AWS woth Sterling-EWB, WICED SDK 6.6.
When I got the certificate or private key from AWS the stop on wiced_tls_init_identity() function.
/* initialize credentials list to store credential info */
linked_list_init( &identity->credentials );
if ( credential_info != NULL )
{
if ( ( result = tls_load_certificate_key( identity, credential_info, certificate_data, certificate_length, private_key, key_length ) != WICED_SUCCESS ) )
{
WPRINT_SECURITY_ERROR((" Failed to load certificate & private key \n"));
goto ERROR_INIT;
}
}
Hi,
We are testing mesh gateway firmware from https://github.com/cypresssemiconductorco/mbed-os-example-bluetooth-mesh-gateway. We are facing a compilation issue with the above firmware. Below is the setup details,
1. System: Windows 10 64Bit
2. Python: Python 3.7.9
We are attaching an error screenshot for your reference. We have tried to remove the "-std=gnu++14" flag from JSON files present in the "mbed-os\tools\profiles" directory but it results in other errors.
Please help with this issue.
Show LessSince the following error occurred when the program was started, the problem has been resolved by taking the action described in [1].
************************************************** **
** ERROR: WLAN: could not download clm_blob file
** FATAL ERROR: system unusable, CLM blob file not found or corrupted.
************************************************** **
[1]Details of support
When the Wi-Fi FW was updated, an error occurred due to an inconsistency between the placement of memory sectors managed by the application and the placement of external Flash.
"RESOURCES_LOCATION ? = RESOURCES_IN_WICEDFS", the external Flash could not be updated, which resulted in the inconsistency.
Changed the setting to "RESOURCES_LOCATION ? = By changing the configuration to "RESOURCES_IN_DIRECT_RESOURCES", the error will not occur.
Because the build error occurred when the above settings were changed, added the following settings so that the LUT can be written to the external Flash.
-----
/tools/makefiles/standard_platform_targets.mk
#ifeq ($(RESOURCES_LOCATION),RESOURCES_IN_WICEDFS)
download: $(STRIPPED_LINK_OUTPUT_FILE) display_map_summary download_bootloader $(if $(findstring no_dct,$(MAKECMDGOALS)),,download_dct) APPS_LUT_DOWNLOAD
#else
#download: $(STRIPPED_LINK_OUTPUT_FILE) display_map_summary download_bootloader $(if $(findstring no_dct,$(MAKECMDGOALS)),,download_dct)
#endif
-----
[2] Confirmation
There is a confirmation of the behavior when the software with "RESOURCES_IN_DIRECT_RESOURCES" is updated against the module with "RESOURCES_IN_WICEDFS" set.
It works with the current configuration, but I'm not sure how WICED affects it, so I'm asking.
1. If you set "RESOURCES_IN_DIRECT_RESOURCES", the filesystem will be included in the application and no inconsistency will occur?
2. Update "RESOURCES_IN_DIRECT_RESOURCES" software to "RESOURCES_IN_WICEDFS" module.
If I update the software again in this state, is it correct that "FR_APP" will not be destroyed when updating to APP0 because the LUT of the external flash will not be changed?
Show LessHi,
We have problems setting up debugging.
We use WICED 6.4.0.61, and our target is STM32F427II on custom HW platform.
We can program target with both Olimex ARM-USB-TINY-H and Segger J-link Ultra+ via Segger driver. RTOS is ThreadX.
Now we need to be able to debug the application. We are to single step until rtos is startet, then we stop at
Program received signal SIGTRAP, Trace/breakpoint trap.
0x08046356 in mbedtls_pem_read_buffer (ctx=0x0, header=<optimized out>, footer=<optimized out>, data=<optimized out>, pwd=0xc1 "\004", pwdlen=1414025796, use_len=0x0) at WICED/security/BESL/mbedtls_open/library/pem.c:330
330 return( MBEDTLS_ERR_PEM_ALLOC_FAILED );
Note, when not debugging, the application continue running.
Yours sincerely,
Anton
Show LessHi
Where I can find to see ERRATA document of SDK 6.6?
Harel
Dear all.
Our customer wants to use AP role through CYW4373 or CYW4343W chipset.
Those chipsets supports AP role?
if These chipsets supports AP role, could chipsets Contention-Free Service Feature use possible?
Best regard.
BRK.
Show LessHello.
I bought CYW943907AEVAL1F.
I have to connect I2C interface (I use I2C_0 : pins 23, 25 of J6)
with intelligent battery that uses SMBus.
I have to read Battery Voltage.
For read the Battery Voltage I have to write a specific "command_code" and the read two words.
The Battery I2C address is 0001 011 ,
the "command_code" for read Voltage is 0x09 in mV.
The datasheet of the intelligent Battery states that you can read Word in this way
I write this routine :
/* i2c battery */
wiced_i2c_device_t i2c_battery;
/* setup 'i2c_battery' params */
i2c_battery.port = WICED_I2C_1;
i2c_battery.speed_mode = I2C_STANDARD_SPEED_MODE;
i2c_battery.flags = I2C_DEVICE_USE_DMA;
i2c_battery.address = 0x16 >> 1; // 0001 011 Smart Battery Data Specification V1.1 December 1998
i2c_battery.address_width = I2C_ADDRESS_WIDTH_7BIT;
/* init 'i2c_battery' i2c */
status = wiced_i2c_init ( &i2c_battery );
if ( status != WICED_SUCCESS )
{
WPRINT_APP_INFO( ("wiced_i2c_init 'i2c_battery' failed, status = %d\n", status) );
return;
}
uint8_t command_code = 0x09;
/* write command_code */
wiced_result = wiced_i2c_write ( &i2c_battery, WICED_I2C_START_FLAG, (void*)&command_code, 1U );
if ( wiced_result != WICED_SUCCESS )
{
WPRINT_APP_INFO( ("[##] wiced_i2c_write failed, status = %d\n", (int)wiced_result) );
return wiced_result;
}
/* read word */
wiced_result = wiced_i2c_read ( &i2c_battery, WICED_I2C_REPEATED_START_FLAG, (void*)&word, 2U );
if ( wiced_result != WICED_SUCCESS )
{
WPRINT_APP_INFO( ("[##] wiced_i2c_read failed, status = %d\n", (int)wiced_result) );
return wiced_result;
}
The code does't work because wiced_i2c_write fails with result 4 (WICED_ERROR).
The signals that I observe with scope are ...
What I'm wrong ?
The battery responds ACK for the Write command_code ...
Show Less
In WICED code the list of network that store in DCT is 5 due to the define(CONFIG_AP_LIST_SIZE (5))
I can change this number? to be 50 ?
if I want to store a lot of network what is the recomended way to do this?
Show LessI am looking for any documentation or tutorials on creating a stand alone project outside of the Wiced Studio folder that can be stored in a git repository. The expectation is that there would be the typical .cproject and .project files as well as custom makefiles and that the project folder could be imported into Wiced Studio and built. Thank you.
Show LessWe are performing EMC testing on our product which uses the CYW43907 WiFi combo chip on a WM-AN-BM-23 module.
We are doing the testing with the wl_tool provided and have not had problems until now. We are using Wiced Studio 6.2.
Our testing house is reporting a failure with an error of -20 which seems to be BCME_BADCHAN.
However we have not found this error code in the documentation, could you tell us where to look.
.\wl --serial (comport) chanspec -c 3 -b 2 -w 40 -s 1
They tried changing the channel, they get the same result.
43909B0.exe
They can transmit fine in the 5 Ghz band, eg using:
.\wl43909B0.exe --serial (comport) chanspec -c 38 -b 5 -w 40 -s
Is it possible that your team could provide insight into whether 802.11n 40 Mhz is supported in the 2.4 Ghz band and if so could you provide a bat file or at least provide the commands to transmit.
Show Less
Honored Contributor
Employee
Employee
Employee
Contributor II
Employee