Wi-Fi Combo Forum Discussions
Hi,
I have quite a big issue with arm gcc provided with WICED.
When I try to build i have :
arm-none-eabi-gcc.exe: error: CreateProcess: No such file or directory
If I take one save i had from several month, it's working.
From the non working, if I just extract a new SDK, it's still not working.
I check a bit what arm gcc couldn't find and I found out that it was that it couldn't find other exe.
Working :
arm-none-eabi-gcc.exe -print-prog-name=cc1
c:/users/xxx/43xxx_wi-fi/tools/arm_gnu/bin/win32/internal/cc1.exe
Not working :
arm-none-eabi-gcc.exe -print-prog-name=cc1
cc1
I dump config for both and it's exactly the same, I checked the path that it search on (with -print-search-dirs) and they also are the same.
Also if I take one arm gcc i have for other project, I don't have a similar issue.
SDK is share internally in my company through git, and if clone the repo in another computer I have the same issue.
I tried replacing the whole ARM_GNU folder with the one working, same issue.
Basically, if I don't use the save, it's not working.
I'd like to understand what's wrong so I can fix this issue as i don't want to use an old save as once pushed on git, also have the issue.
I really need some help for that.
Regards,
Tony
Show LessI am working with the spi_new example in the blog post :
SPI in CYW43907
The SPI MISO line does not respond for either SPI1 or SPI2 when using the spi_gsio_driver. When using the spi_bb_driver I can receive data IF I use an alternate GPIO for the MISO pin.
The MISO for SPI1 also cannot be used as a GPIO, when configured as an IO (wiced_gpio_init), yet when SPI is not initialized this pin is toggling.
The software BB driver works great but I need at least 5Mhz clock speed for my application.
Does anyone have any idea why the MISO lines are dead with the spi_gsio_driver?
-
Show LessPer this closed thread Problems with OTA2: flashing device and firmware_reset
I have followed the same tutorial and got to the same point with the exception of being able to load new firmware via the web upload.
I am able to load the boot loader and default firmware and can restore from the factory download area holding sw1 for 10sec on boot.
I can get it into firmware upload mode sw1 for 5 seconds and load the webpage. I then start a transfer and the progress bar goes past 100 and the device never reboots and updates.
I have tried manually rebooting with no success. It just goes back to whatever firmware was currently active.
I am generating the firmware using ota2_image for the one I am using to update from the webpage.
Show LessThis is my cyw943907aeval1f board.
I have gone through the documentation and have everything working for ota2 except the webform upload. The webform reaches the end of the upload and the progress bar keeps going up without stopping and the device never reboots and extracts the firmware. The terminal shows it reaches the end as well but it never reboots and updates after the transfer.
I have the ota2_example as the factory firmware. I can restore it holding sw 1 for 10 seconds. I can boot into softap mode holding sw 1 for 5 seconds. I built snip.scan to be the file I am trying to upload.
here is what I am builiding
snip.ota2_extract-CYW943907AEVAL1F
snip.ota2_example-CYW943907AEVAL1F ota2_factory_download download download_apps run
snip.scan-CYW943907AEVAL1F ota2_image
I included wifi_config_dct in scan and added the following to scan.mk
#OTA SoftAp application
OTA_APPLICATION := snip.ota2_extract-$(PLATFORM)
OTA_APP := build/$(OTA_APPLICATION)/binary/$(OTA_APPLICATION).stripped.elf
# Use the local dct file instead of default from ../include
WIFI_CONFIG_DCT_H := wifi_config_dct.h
Any ideas why the web page upload doesn't work?
Show LessHi Support,
I am evaluating the cypress CYW943907AEVAL1F board and using SDK version 6.0.1.5. For example of TCP communication, I can see some apps in the snip for TCP client and TCP client power save.
Do you have any example application for TCP+SSL?
Or can you please guide me for how to load certificate and modify the TCP client application to use it with SSL?
I will use OpenSSL for opening the TCP server and I do have the required certificate for the connection . I am attaching the sample application that I am referring to and the certificate as well which needs to be loaded. The certificate that I have is in the .pem format.
Thanks
Akash
Show LessI'm using http_client for long term communications with my backend. Is it possible to use a local variable of type http_request_t (and have it be allocated on the stack), or must all http_request_t variables be declared static (and permanently consume memory)?
One issue with local http_request_t variables is that you must call http_request_deinit() after the request has completed, to clean up various resources. But the call to http_request_deinit() sends an asynchronous event to another thread (request->owner->thread) to perform some of the cleanup, and passes the http_request_t as a message parameter. If the http_request_t is allocated on your stack, and goes out of scope before the asynchronous cleanup is completed in the http_client's work thread, you run the very real risk of overwriting the http_request_t before the cleanup is complete, or of having that subsequent cleanup corrupt your stack.
If you do have a statically declared http_request_t, how do you know when it's safe to reuse that http_request_t? Again, calling http_request_deinit() invokes an asnchronous request to another thread, which is dependent on the initial state of the http_request_t -- you can't reuse the http_request_t until that cleanup is complete, but you don't know when that's true.
Thanks for any insights.
Dave
Show LessHi all ,
I am using Murata Type 1LD Board with WICED studio 6.1 ,So What are Features of Murata Type 1LD Board supported For automation Testing By Python script.
Based On that I need To Design Test cases For Automation Testing By Python Scripting, So, Please Let me Know All The Features supported In Device with WICED studio SDK.
Thanks ,
Srikrishna Pelluru.
Show LessOTA seems brooken in SDK 6.2.1
I'm following the "snip.ota_fr" app instructions and it doesn't work. I have verified my setup with SDK 6.1 and there it works.
In SDK 6.2.1, when trying to perform the OTA it only produces this output as for the upgrade web page:
-web page loads:
-stuck with "NaN%"
There is no activity on the console either, showing we are not reading any blocks:
- board boots fine and toggle LEDs
- No activity from OTA start
Show Less
Hi All ,
What are the Features I need to Test For Wi-Fi(802.11) Murata Type 1LD Evaluation Board With Test Console commands of WICED SDK 6.1.As of Now I has been communicating over UART By python scripting.
Thanks,
Srikrishna Pelluru.
Show Less