- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working on a project with custom board featuring CY43012 radio chip. I try to start a WIFI access point using my device.
I ported WHD library, and have SDIO part working. The firmware is being uploaded to CY43012, firmware starts, then I have succesfull communication with device (write/read to function 2).
I copied WiFi scan example and the whole cy_wcm_init(&wcm_config) function executes with no issues. Unfortunately after that I get a communication error. Console log below:
WLAN MAC Address : 48:EB:62:E3:EA:20
WLAN Firmware : wl0: Apr 26 2021 04:04:15 version 13.10.271.265 (aa096f9 CY) FWID 01-29e05f8
WLAN CLM : API: 18.2 Data: 9.10.0 Compiler: 1.36.1 ClmImport: 1.34.1 Creation: 2020-09-09 01:19:03
WHD VERSION : v1.94.0 : v1.94.0 : GCC 9.3 : 2021-04-27 16:54:34 +0800
Info: Scanning without any filter
----------------------------------------------------------------------------------------------------
# SSID RSSI Channel MAC Address Security
----------------------------------------------------------------------------------------------------
fwhd_bus_sdio_cmd53:869 cyhal_sdio_bulk_transfer SDIO_BYTE_MODE failed
Function whd_bus_sdio_abort_read failed at line 1041 checkres = 33555501
Error during SDIO receive, whd_bus_sdio_read_frame failed at 612
Function whd_management_set_event_handler failed at line 427 checkres = 101580800
The program fails at cy_rtos_get_semaphore(&cdc_bdc_info->ioctl_sleep,...) after function whd_cdc_send_iovar() is executed inside whd_management_set_event_handler()
In the main thread I ran whd_thread_receive_one_packet() and whd_thread_send_one_packet(), but both of those functions give me response of 0
Solved! Go to Solution.
- Labels:
-
Wireless
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found an issue with my implementation of cyhal_sdio_bulk_transfer function. By code error I was rounding down the block count number when the result was not a natural number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you give details on what does the project does? Can you provide some pointers to reproduce the issue at our end?
Thanks
Aditi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found an issue with my implementation of cyhal_sdio_bulk_transfer function. By code error I was rounding down the block count number when the result was not a natural number.