-
1. Re: How to define the gpio pin on platform of BCM94343WWCD1?
RaktimR_11 Jun 17, 2018 10:30 PM (in response to newmoon002_1570756)Hello Chris,
Could you please share which WICED Studio version are you using? I checked with WICED Studio 6.2 on the same platform and it worked just fine. If you want to check the WICED_LED1 GPIO assignment, you can check the same in the platform folder (43xxx_Wi-Fi/platforms/CYW94343WWCD1_EVB/platform.h).
-
2. Re: How to define the gpio pin on platform of BCM94343WWCD1?
newmoon002_1570756 Jun 18, 2018 7:47 AM (in response to RaktimR_11)Hello rroy,
Thanks for your reply.
I keep using WICED Studio version 4.4.2 as the local FAE told me the newer version can not support the platform board of BCM94343WWCD1, I also can not find CYW94343WWCD1_EVB platform listed in the older WICED Studio version.
So, are you sure the 6.2 version could support the board of BCM94343WWCD1?
Chris
-
3. Re: How to define the gpio pin on platform of BCM94343WWCD1?
RaktimR_11 Jun 18, 2018 9:38 PM (in response to newmoon002_1570756)1 of 1 people found this helpfulHello Chris,
For older WICED Studio, the platform name is BCM94343WWCD1, which is updated to CYW94343WWCD1_EVB from WICED Studio 6.2. BTW, could you please provide the console log that you are seeing?
-
4. Re: How to define the gpio pin on platform of BCM94343WWCD1?
newmoon002_1570756 Jun 19, 2018 7:04 PM (in response to RaktimR_11)Hi rroy,
I tried to update WICED to version 6.2 and find \platform\CYW94343WWCD1_EVB under new WICED version, but those pin assignments were still not right in the gpio.c file, eg. in the line of wiced_gpio_output_high( WICED_LED1 ); 'WICED_LED1 ' was hinted as 'WICED_GPIO_15' , actully it should be 'WICED_GPIO_11' defined by platform.h of CYW94343WWCD1_EVB.
the listed below is console display:
09:32:18 **** Build of configuration Default for project 43xxx_Wi-Fi ****
"C:\\Users\\Administrator\\Documents\\WICED-Studio-6.2\\43xxx_Wi-Fi\\make.exe" snip.gpio-CYW94343WWCD1_EVB download run
MAKEFILE MAKECMDGOALS=snip.gpio-CYW94343WWCD1_EVB download run OTA2_SUPPORT is disabled
Building Bootloader
Building Serial Flash Loader App
MAKEFILE MAKECMDGOALS=waf.sflash_write-NoOS-CYW94343WWCD1_EVB-SDIO OTA2_SUPPORT is disabled
waf.sflash_write-NoOS-CYW94343WWCD1_EVB-SDIO
----------------------------------|---------|
| Static |
Module | RAM |
----------------------------------+---------|
App | 21130 |
Host MCU-family library | 11604 |
Interrupt Vectors | 388 |
libc | 556 |
platform | 1104 |
Ring_Buffer | 40 |
SPI_Flash_Library_CYW94343WWCD1_EV| 936 |
Startup Stack & Link Script fill | 486 |
WWD | 188 |
----------------------------------+---------|
TOTAL (bytes) | 36432 |
----------------------------------|---------|
Build complete
Finished Building Bootloader
Finished Building Serial Flash Loader App
snip.gpio-CYW94343WWCD1_EVB
----------------------------------|---------|---------|
| | Static |
Module | Flash | RAM |
----------------------------------+---------+---------|
App | 172 | 0 |
crc | 1060 | 0 |
Host MCU-family library | 15777 | 2691 |
Interrupt Vectors | 388 | 0 |
libc | 24599 | 3372 |
Networking | 694 | 9155 |
NetX-Duo - Interfaces & Stacks | 0 | 16 |
Other | 11816 | 519 |
Packet Buffers | 0 | 22470 |
platform | 1456 | 288 |
RAM Initialisation | 2668 | 0 |
resources | 44 | 0 |
Ring_Buffer | 112 | 0 |
SPI_Flash_Library_CYW94343WWCD1_EV| 510 | 0 |
Startup Stack & Link Script fill | 20 | 4 |
ThreadX | 7876 | 400 |
WICED | 3226 | 1028 |
Wiced_RO_FS | 566 | 0 |
WWD | 13605 | 3153 |
----------------------------------+---------+---------|
TOTAL (bytes) | 81921 | 43096 |
----------------------------------|---------|---------|
Downloading Bootloader ...
Building apps lookup table
No changes detected
Downloading DCT ...
No changes detected
Downloading resources filesystem ... build/snip.gpio-CYW94343WWCD1_EVB/filesystem.bin at sector 1 size 96...
Downloading apps lookup table in wiced_apps.mk ... build/snip.gpio-CYW94343WWCD1_EVB/APPS.bin @ 0x0000 size
Downloading Application ...
No changes detected
Resetting target
Target running
Build complete
Making .gdbinit
09:33:25 Build Finished (took 1m:6s.635ms)
-
5. Re: How to define the gpio pin on platform of BCM94343WWCD1?
RaktimR_11 Jun 19, 2018 10:38 PM (in response to newmoon002_1570756)When you right click and open the declaration for WICED_LED1, it should be correctly mapped to WICED_GPIO_11 in the platform.h file. Are you seeing the LEDs to be flashing now? If not, what is the debug terminal log you are seeing?
-
6. Re: How to define the gpio pin on platform of BCM94343WWCD1?
newmoon002_1570756 Jun 20, 2018 7:17 AM (in response to RaktimR_11)Hi RaktimR_11
When I right click and open the declaration for WICED_LED1,it says :"Selected text cannot be mapped to a symbol name",
and those wrong declarations have a red line under the text.
-
7. Re: How to define the gpio pin on platform of BCM94343WWCD1?
RaktimR_11 Jun 25, 2018 2:56 AM (in response to newmoon002_1570756)1 of 1 people found this helpfulHello Chris,
I hope now you are able to see the LEDs blinking. The wrong suggestion is an Eclipse specific issue but intenrally it correctly gets mapped to the particular platform.h in the platform directory which you can verify by clicking on the Open Declaration option.
-
8. Re: How to define the gpio pin on platform of BCM94343WWCD1?
newmoon002_1570756 Jun 26, 2018 2:46 AM (in response to RaktimR_11)1 of 1 people found this helpfulHi rroy,
I try to update WICED to version6.2 and select CYW94343WWCD1_EVB platform, then it can work properly.
Thanks a lot.
Chris