Wi-Fi Combo Forum Discussions
text.format{('custom.tabs.no.results')}
The https_client test fails:
Resolving IP address of HTTPS server␍␊
Server is at 54.243.145.223␍␊
Getting '/'...␍␊
Read the certificate Key from DCT␍␊
netconn_connect start_tls
Get failed: 4␍
Note, it was working in sdk-5.1, so this is clearly a regression.
Show LessHello,
Does wiced sdk for wifi support canbus? I have BCM43362+STM32F205 WICED based module. The uC supports canbus but I am not sure if Wiced SDK supports this?
Show LessI want to perform a firmware upgrade wherein a microcontroller (wifi-ready) will obtain the application thru wifi then thru I2C will send it to the PSOC BLE. Thank you for your response.
Show LessHi,
I am working with ISM43903 modules that currently run SDK 4.1.
When I use OTA2 mechanism to upgrade the software to one based on SDK 6.1 I get into trouble.
After some digging I think I have found why.
During OTA2 upgrade bootloader and failsafe app are not upgraded, so they stay as they were in SDK 4.1.
Extract app and main app are upgraded to SDK 6.1, so when they write DCT, it becomes marked with new version.
DCT 6.1 version is set to in wiced_dct_finish_new_dct() in wiced_dct_external_common.c as below:
new_dct_version->version | = DCT_BOOTLOADER_SDK_CURRENT; | |
new_dct_version->sequence++; | /* always increment the sequence */ |
Now when bootloader or failsafe (from SDK 4.1) tries to read OTA2 config structure from DCT written with software basaed on SDK 6.1 it gets to the function wiced_dct_get_current_address(), which in turn reads version of both DCTs using wiced_dct_validate_and_determine_version().
During determining version wiced_dct_minimal_check_dct_version() is called, which returns WICED_FALSE (we are reading DCT written by SDK 6.1 using code from SDK 4.1).
In this case the following code is used:
this_dct_version = DCT_BOOTLOADER_SDK_VERSION;
goto _version_test_done_and_deinit_sflash;
What is important, in such a case CRC is not checked and sequence number is not checked, only version from old SDK is returned (even for non-current DCT)
The code in wiced_dct_get_current_address() that decides which DCT is current looks as below:
use_dct1 = WICED_TRUE;
if ((dct1_sdk_version == DCT_BOOTLOADER_SDK_UNKNOWN) && (dct2_sdk_version == DCT_BOOTLOADER_SDK_UNKNOWN))
{
goto _both_dcts_invalid;
}
else if ((dct1_sdk_version != DCT_BOOTLOADER_SDK_UNKNOWN) && (dct2_sdk_version != DCT_BOOTLOADER_SDK_UNKNOWN))
{
/* Both DCTs are valid
* determine most recent using version # (and sequence # if versions are the same)
*/
if (dct1_sdk_version < dct2_sdk_version)
{
use_dct1 = WICED_FALSE;
}
else if (dct1_sdk_version == dct2_sdk_version)
{
/* if one of the version data has initial_write == 1, it is the correct one to use! */
if ((dct2_initial_write != 0) && (dct2_initial_write != 0xFF))
{
use_dct1 = WICED_FALSE;
}
else if ((dct1_initial_write != 0) && (dct1_initial_write != 0xFF))
{
use_dct1 = WICED_TRUE;
}
else if (dct1_sequence < dct2_sequence)
{
use_dct1 = WICED_FALSE;
}
}
}
else if (dct1_sdk_version == DCT_BOOTLOADER_SDK_UNKNOWN)
{
/* dct2 is valid, use that */
use_dct1 = WICED_FALSE;
}
In case when both DCTs were written with SDK 6.1 software and are read with SDK 4.1 software (bootloader or failsafe) we get dct1_sdk_version and dct2_sdk_version set to 0x401, dct1_sequence and dct2_sequence set to 0, so we end up with use_dct1 set to TRUE. But as CRC is not checked and sequence number not checked, DCT1 may be invalid in fact. So in this case bootloader or failsafe ends up with reading incorrect OTA2 boottype.
So the question is: how to make this upgrade working correctly ? (Without upgrading bootloader and failsafe on already produced devices)
Show LessWhen i try to extract the WICED 6.1 installer, it says to choose a different location to extract the installer to. I have tried 6 different locations and it always gives me this error. See attached screenshot
Show LessHello everyone,
I am using a batch file for our mass production. When I examined makefiles, I saw that project-BCM943903PS.stripped.elf, DCT.bin, filesystem.bin and APPS.bin are downloaded to the board by programmer. Therefore, to prepare my batch file, I need these files. By making target with project-BCM943903PS, I could not obtain APPS.bin file.
I want to build apps lookup table to obtain APPS.bin without using programmer with project-BCM943903PS JTAG=Olimex_ARM-USB-TINY-H download run. Actually, I am not very good at makefiles so my question is the following:
Is it possible to build apps lookup table by project-BCM943903PS with some change in makefiles?
Thank you,
Best regards,
Oguz.
Show LessHello all,
I am trying to build my code on a Jenkins Server running at a AWS EC2 instance. In order to install WICED installer, I followed the instructions at the link WICED Studio 4.1.1 (Linux 64-bit)
[user1]$ ./WICED-Studio-4.1.1.8-IDE-Installer.bin command did not work. So I tried [user1]$ ./WICED-Studio-4.1.1.8-IDE-Installer.bin -i Console command. It gives "Installer User Interface Mode Not Supported" error. But I have java installed my ec2 instance.
Sample terminal output is the following:
Is there any suggestions to install WICED_Studio_4.1.1 into my ec2 instance.
Best Regards,
Oguz.
Show Lessjaeyoung jakewtorres dkumar
I got below messages and device does not work, it happens sometimes.
[11:07:13:939] 00:00:42.030176 GKI_create_task func=0x803e409 id=1 name=BTU stack=0x0 stackSize=6144␍␍␊
[11:07:13:944] 00:00:42.038176 GKI_create_task func=0x803f929 id=0 name=HCISU stack=0x0 stackSize=4096␍␍␊
[11:07:14:050] 00:00:42.016104 GKI_exception(): Task State Table␍␍␊
[11:07:14:056] 00:00:42.020104 GKI_exception 65527 getbuf: Size is too big␍␍␊
[11:07:14:081] 00:00:42.026104 GKI_exception(): Task State Table␍␍␊
[11:07:14:081] 00:00:42.031104 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[11:07:18:049] 00:00:46.016104 GKI_exception(): Task State Table␍␍␊
[11:07:18:056] 00:00:46.020104 GKI_exception 65527 getbuf: Size is too big␍␍␊
[11:07:18:070] 00:00:46.026104 GKI_exception(): Task State Table␍␍␊
[11:07:18:070] 00:00:46.030104 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[11:07:22:050] 00:00:50.016104 GKI_exception(): Task State Table␍␍␊
[11:07:22:056] 00:00:50.020104 GKI_exception 65527 getbuf: Size is too big␍␍␊
[11:07:22:078] 00:00:50.026104 GKI_exception(): Task State Table␍␍␊
[11:07:22:078] 00:00:50.030104 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[11:07:26:260] 00:00:54.029496 GKI_exception(): Task State Table␍␍␊
[11:07:26:267] 00:00:54.033496 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[11:07:30:261] 00:00:58.030496 GKI_exception(): Task State Table␍␍␊
[11:07:30:267] 00:00:58.034496 GKI_exception 65527 getbuf: Size is too big␍␍␊
[11:07:30:291] 00:00:58.040496 GKI_exception(): Task State Table␍␍␊
[11:07:30:291] 00:00:58.044496 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[11:07:34:261] 00:01:02.030496 GKI_exception(): Task State Table␍␍␊
[11:07:34:267] 00:01:02.034496 GKI_exception 65527 getbuf: Size is too big␍␍␊
[11:07:34:275] 00:01:02.040496 GKI_exception(): Task State Table␍␍␊
[11:07:34:283] 00:01:02.044496 GKI_exception 65535 Send - Buffer corrupted␍␍␊
....
endless messages as above.
Show LessHi all,
Anybody knows if 43903 chip has internal (on-chip) temperature sensor?
If yes, I would be really grateful for any kind of info how to retrieve a temperature value from it...
Show Less