2025-10-04 7:06 PM
Spend full week trying to get NOTIFY response during mxwifi_init()
Hope that accurately reproduced main steps of demo for Wi-Fi Web Server for the U585 board that is by miracle working
Accurately Removed all code related to Web Server
Failed to implement LPTIM1 properly so dropped it
Long story short - stuck in the middle
in webserver_wifi_connect(void) line 92 >> Netif = NetInterfaceOn(mx_wifi_driver, hnet_notify);
app_entry()-> wf_wifi_init() completed
->wf_wifi_connect a start CS=1 and reset, notify, cs =0
Netif = NetInterfaceOn(mx_wifi_driver, hnet_notify);
MX_WIFI_STATUS_T MX_WIFI_Init(MX_WIFIObject_t *Obj) // printf("MX_WIFI_INIT_START OK\r\n");
/* 1. Initialize the WiFi low level IO (UART/SPI). */
(void)(Obj->fops.IO_Init(MX_WIFI_INIT));
{ printf("MX_WIFI_io_INIT_started OK\r\n");
if (MIPC_CODE_SUCCESS == mipc_init(Obj->fops.IO_Send)) //Stuck here Sent but no Notify
See Console /dev/ttyUSB0>>
...
[804][SYSTEM: system_misc.c: 305] MXOS version: fw_v2.3.4_rc13
[810][SYSTEM: system_misc.c: 306] Kernel version: 0.1-99-ga352a24
[816][SYSTEM: system_misc.c: 307] Wi-Fi driver version 0.1-99-ga352a24
[822][SYSTEM: system_misc.c: 308] Wi-Fi mac address: 04:78:63:B5:1F:94
[829][SYSTEM: system_misc.c: 310] Free memory 97064 bytes
[834][main: main.c: 68] MXOS system init [OK]
[839][main: main.c: 75] MX_IPC start ...
[843][mx_spi: spi.c: 193] wait spi host ready...
[848][mx_spi: spi.c: 199] spi host & slave ready.
[852][main: main.c: 78] MX_IPC start [OK]
$ [856][mx_ipc: mx_ipc.c: 52] mx_ipc started.
----------------------stuck here-------------------
See console port /dev/ttyACM0
X_WIFI IO [OK]
MX_WIFI REBOOT(HW) ...
[1335] MX_WIFI_HW_RESET
MX_WIFI_INIT_START OK
MX_WIFI_io_INIT_started OK
MX_WIFI_MIPC_INIT COMPLETED OK
MX_WIFI_INIT_check wIFI firmware OK
mipc_request (): Allocate 6 bytes
mipc_request (): req_id: 0x00000001 : 6
mx_wifi_hci_send: exit at i=0 flow=0 notify=0
------------stuck here no notify and checking 10 sec every 200 ms -----------------
mx_wifi_hci_send: exit at i=1 flow=0 notify=0
mx_wifi_hci_send: exit at i=2 flow=0 notify=0
mx_wifi_hci_send: exit at i=3 flow=0 notify=0
mx_wifi_hci_send: exit at i=4 flow=0 notify=0
mx_wifi_hci_send: exit at i=5 flow=0 notify=0
...
MX_WIFI_SPI_Write()> 6
MX_WIFI_SPI_Write()< 6
mx_wifi_hci_send/notify: exit at i=10
Timeout: NOTIFY did not rise after SPI send.
FLOW is LOW — module not ready, aborting init.
NOTIFY is LOW — no response pending.
FLOW is LOW — module not ready, aborting init.
NOTIFY is LOW — no response pending.
...
Path to archive /home/isla55/u585/u585wf/U585wf/
Zip is attached
Will appreciate any real help Thanks
2025-10-04 7:25 PM
MX 3080 firmware updated to latest. Saleae Analyzer shows some 0 and 1s moving on pin 13 14 but ZEROES on D14 and E15. Checked pins and modes hundred times and 100% validated them to working app for Web Server. BTW the Web Server app is not compiling so can not be used for debugging though i see obviously that it is working and producing same log in console until stuck in Notify. Please do not recommend anything basic - all possible was already tried and checked.