Wi-Fi Combo Forum Discussions
We are trying to separate the bootloader from the application. However, it seems the application code and bootloader are consistently built together. I was wondering what the correct setting in either the platform makefile or WICED/MCU/STM32/makefile is the correct define to force it to build only the application? Since we need to do our own custom OTA I would like to make use of waf_bootloader and have it exist on the device much like the ota bootloader and be able to launch the application. I have hard coded the entry_point into bootloader.c and programmed the code up at the address desired -- but it does not boot. To be absolutely clear I:
1. Built the application
2. Dumped the elf header to get the entry point (entry_point fro elf header is : 0x8007580
3. Programmed my application at the desired location (used in the linker) (0x08007000)
4. Rebuilt the waf with platform_start_app(0x8007580) // using the entry point
5. Flashed the bootloader at (0x08000000)
6. reset the board -- nothing failure to boot
7. If I program the application both at (0x08000000) and (0x08007000) -- works like a charm
8. Reviewing the map file of both the app and waf -- the both contain the same at the lowest part of the address -- so basically by programming the app at 0x8000 it looks like the same exact code as the WAF -- but no boot.
-- yes I have looked at the linker file (attached)
Any help would be greatly appreciated -- What I want is to separate the app from the bootloader -- so I can just update the application. Not sure where I am going wrong.
Show LessOnce in a while (not sure what causes it) when I execute the build/download script for my project I get a fatal toolchain error:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Cannot create temporary file in C:\Windows\: Permission denied
The bad thing is that once this happens, the toolchain is broken *forever*. Even rebooting the machine does not fix the error. The only solution I have found when this happens is to reinstall the SDK !!
There is plenty of disk space on the computer and I'm fairly certain its an internal corruption of some kind in the SDK, because reinstalling the SDK (and thus recreating the Make Target) fixes the problem without making any other changes. As you can imagine this is very disruptive to a development.
WICED SDK 3.3.1
Roger
So got the following errors:
Description Resource Path Location Type
Symbol 'GATT_ATTRIBUTE_REQUEST_EVT' could not be resolved ble_wifi_introducer.c /43xxx_Wi-Fi/apps/demo/ble_wifi_introducer line 1103 Semantic Error
Description Resource Path Location Type
Symbol 'GATT_CONNECTION_STATUS_EVT' could not be resolved ble_wifi_introducer.c /43xxx_Wi-Fi/apps/demo/ble_wifi_introducer line 1099 Semantic Error
Description Resource Path Location Type
Symbol 'PLATFORM_BUTTON_1' could not be resolved ble_wifi_introducer.c /43xxx_Wi-Fi/apps/demo/ble_wifi_introducer line 224 Semantic Error
Description Resource Path Location Type
Symbol 'WICED_UART_1' could not be resolved ble_wifi_introducer.c /43xxx_Wi-Fi/apps/demo/ble_wifi_introducer line 641 Semantic Error
Description Resource Path Location Type
Invalid project path: Include path not found (43xxx_Wi-Fi\Tools\ARM_GNU\arm-none-eabi\include). 43xxx_Wi-Fi pathentry Path Entry Problem
I looked at the "Path and Symbols" and realized the paths shown below are wrong.
Below is a picture of the directory where the folders shown above should be.
Can someone tell me what the proper include paths are or tell me what files contain the variables that are giving me the errors?
*EDIT*: I realize the reason for the errors was because the variables were included in a header of a header of a header. I'm guessing the variables can't be reached until the program is compiled. However, I am still looking for the proper paths for the include directories.
Message was edited by: Cody Cook
Show LessI am in the process of incorporating Enterprise Wi-Fi into the application based upon the "join_ent" demo app.
I normally have an HTTPS server running on the WICED device. When connected to Personal Wi-Fi, everything is fine. When the WICED device connects to Enterprise Wi-Fi (via a freeradius server) configured for TTLS, the WICED device is authenticated by the Radius server and connects properly. It can ping, etc. Looks good.
However, the Enterprise Wi-Fi appears to also "kill" the TLS connectivity to the HTTPS server somehow. I can run an HTTP server (no TLS) with no problem.
Has anyone got both working at the same time?
Thanks!
Show LessIs it available or can I somehow port the X-CUBE-VS4A (STM32F7xx compatible) onto my Nebula board?
怎么判断CYW43455进入休眠模式了,按照说明当芯片进入休眠模式后,引脚BT_HOSTWAKE和BT_DEVWAKE的高低电平会有变化的:
BT_HOSTWAKE 引脚功能说明:无数据交互时, BT_HOSTWAKE 为高电平。当手机端发出读写数据交互请求后, BT_HOSTWAKE将会被蓝牙模块拉低为低电平。
BT_DEVWAKE 引脚功能说明:无数据交互时, BSA 协议栈将会拉高 BT_DEVWAKE 引脚,允许蓝牙模块休眠。与蓝牙模块数据交互时, BSA 协议栈将会拉低 BT_DEVWAKE 引脚,唤醒蓝牙模块。
上面的引脚是怎么操作的,或在什么情况下会进入休眠模式,我测量引脚BT_DEVWAKE时,引脚高低都没有变化。
另外CYW43455进入休眠模式后,BT和WIFI的功耗大概是多少,是否有数据提供。
Show LessHello,how can I activate MCS8. When trying the command: 5g_rate -h 8 ,I am getting this error: remote cdc header return error code (-29).
if I set the similar command for VHT : 5g_rate -v 0 -s 2
Device used: CYW954907AEVAL1F
Thanks,
Ana
Show Less- Any recommendation on what JRE (or) JDK version to be used with Mac Mojave?.
- Not able to get SDK working with latest macOS available in the market.
- Please recommend the required settings.
WICED-Studio-6.4/.metadata/.log
!ENTRY org.eclipse.core.resources 4 2 2019-09-12 13:39:04.663
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.activities.WorkbenchActivityHelper.isFiltering(WorkbenchActivityHelper.java:236)
at org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$3.resourceChanged(IDEWorkbenchActivityHelper.java:158)
at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:378)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1498)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Show LessHi
Our device has the chip CYW943907 running FreeRTOS and we are not using OTA2 support. We have used OTA support.We have 8 MB external Flash on the board.
We have a requirement to maintain the unique serial number per device, which gets flashed in the production line.
We are planning to keep Manufacturing information and WIFI AP details separately and Application DCT separately, To avoid the losing the information when Application DCT .bin has been updated.
Help we are looking for is ,
Is there a way to store the Manufacturing Information such as serial number , production details and Application DCT.bin separately . Where Manufacturing information shall be retained over the product life.
Show Less