Wi-Fi Combo Forum Discussions
Okay this might be a dumb NOOB question, but I have never used Eclipse before and I am trying to figure out how to build a target that is release code only, no debug symbols, etc. I cannot seem to find how/where to do this. What is the trick? For example, calls to WPRINT_APP_INFO() should produce nothing on the UART if not in debug mode. Yet no matter what I do, it results in an error when building or those messages still appear. How to build/deploy release only?
Thanks.
Show LessHi,
I tried to executed the WICED "Appliance" DEMO. First, I did double click on "demo.appliance-BCM943362WCD4 download run" and appeared this:
(I using SDK 2.4.0, board: BCM943362WCD4_EVB and Windows 7 Professional)
**** Build of configuration Default for project Wiced-SDK ****
C:\Users\Documents\WICED\Wiced-SDK-2.4.0\Wiced-SDK\make.exe demo.appliance-BCM943362WCD4 download run
Building Bootloader
Building App
Making .gdbinit
demo_appliance-BCM943362WCD4
Build complete
Downloading Bootloader ...
The process can not access the file because it is being used by another process.
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
The process can not access the file because it is being used by another process.
The process can not access the file because it is being used by another process.
Downloading Application ...
The process can not access the file because it is being used by another process.
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
The process can not access the file because it is being used by another process.
Downloading DCT ...
The process can not access the file because it is being used by another process.
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Resetting target
Makefile:227: recipe for target 'run' failed
The process can not access the file because it is being used by another process.
make: *** [run] Error 1
When I opened the 'openocd_log.txt' file I saw this:
Info : only one transport option; autoselect 'jtag'
trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_deassert_srst
DEPRECATED! use 'adapter_khz' not 'jtag_khz'
adapter speed: 1000 kHz
DEPRECATED! use 'adapter_nsrst_delay' not 'jtag_nsrst_delay'
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config vectreset
Error: unable to open ftdi device: unable to claim usb device. Make sure the default FTDI driver is not in use
Runtime Error: ./Tools/OpenOCD/stm32f2x_gdb_jtag.cfg:19:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'init' called at file "./Tools/OpenOCD/stm32f2x_gdb_jtag.cfg", line 19
----------------------------------------------------------------------------------------------------
Error: couldn't initialize data bits high byte
Warn : couldn't blink LED on 'BCM9WCD1EVAL1' layout
Error: ftdi_write_data: usb bulk write failed
Error: couldn't write MPSSE commands to FT2232
Polling target stm32f2xxx.cpu failed, GDB will be halted. Polling again in 100ms
Any ideas what I am doing wrong?
Thank you,
Cristian
communityadministratoradminbnelsonnikvh
Show Lessstep:
1.compile with customer dct include ap ssid and password.
2. call wiced_network_up( WICED_STA_INTERFACE, WICED_USE_EXTERNAL_DHCP_SERVER, NULL );
we find module need about 5 times retries to join ap.how to join an ap quickly?
add printf in wiced_join_ap.
join_result = wiced_wifi_join_specific( &temp_scan_result, (uint8_t*) ap->security_key, ap->security_key_length, NULL );
printf("join specific details join_result=%d\r\n",join_result);
/* If join-specific failed, try scan and join AP */
join_result = wiced_wifi_join( (char*) ap->details.SSID.val, ap->details.security, (uint8_t*) ap->security_key, ap- >security_key_length, NULL );
printf("try scan and join AP =%d\r\n",join_result);
logo:
join specific details join_result=6
try scan and join AP =6
Show LessIs the electrical connection between the Wiced WiFi module and the bluetooth module for Smartbridge documented anywhere?
I can't find any documentation on the hardware level configuration required by the wiced SDK to interface with a bluetooth module. I see that in the BCM9WCDPLUS114 the bluetooth module is connected to UART2. However I don't see this defined anywhere in the smartbridge example code. Is this connection assumed by the SDK?
Additionally, is it possible to setup the bluetooth smartbridge on wiced wifi modules other than the WM-N-BM-14? We were planning on using the Inventek ISM43362, however it only has one UART, and I am only seeing references to the smartbridge as the USI WM-N-BM-14 wifi module paired with the USI BM-GP-BR-65 bluetooth module.
Show Lessprintf() doesn't seem to handle the format specifiers for 64-bit types correctly. It appears as though it retrieves 4-bytes of junk from the stack and formats that in place of the actual variable. Interestingly, attempting to print two 64-bit variables yields the correct value for the low-order 4 bytes of the first variable in place of the second format specifier. In this case, the second variable being printed gets missed altogether.
Some example code:
unsigned long long int bigint = 0x00000005FFFFFFFF;
printf("bigint: %llu\r\n", bigint);
printf("bigint: %llu, %llu\r\n", bigint, bigint);
printf("bigint-32: %lu\r\n", (unsigned long int)bigint);
printf("bigint-hex: %#llx, %#llx\r\n", bigint, bigint);
printf("bigint-hex32: %#lx\r\n", (uint32_t)bigint);
Which yields the following:
bigint: 1
bigint: 1, 4294967295
bigint-32: 4294967295
bigint-hex: 0x1, 0xffffffff
bigint-hex32: 0xffffffff
Where one would expect:
bigint: 25769803775
bigint: 25769803775, 25769803775
bigint-32: 4294967295
bigint-hex: 0x5ffffffff, 0x5ffffffff
bigint-hex32: 0xffffffff
I should note that I'm using WICED v2.4.1.
Cheers!
Show LessHello !
I have problem when starting a https server in softAP mode. The error obtained is TLS connection error. I do not have a TLS server, I use the brcm certificate using "USE_SELF_SIGNED_TLS_CERT". Is there any application example showing the usage of wiced_https_server_start/stop ?
The SDK used is 2.4.1, can I have access to the 3.x SDK?
Thank you !
Show LessHi
I have two SN8200x boards.
In one board I run web server with simple HTML main page that include two fields for user input: First name and last name.
The web server is at fixed IP address, so I can browse to it and watch the main page and enter the data to the fields.
In the second board i run http client . I need that the client will retrieve the two fields from the web server and display them on the serial port.
I use the "http_get", but i get in the result array the full HTML main page from the web server without the user data.
I want to retrieve only the two fields from the main HTML page in the web server and with the user data, not the full HTML page.
What is the correct way to do that ?
thanks
Show Less