Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Error : [CYW43] do_ioctl(2, 263, 16): timeout
Page 2 of 2 | |||||
Author | Message | ||||
Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 158 |
Ahh, OK... thanks Gents. I presumed it was a timeout, but with no reference I didn't want to take it for granted. The manuals are top-notch anyway, SOMEthing, sometimes gets missed somewhere. I was just curious, thinking maybe I'd missed a vital clue John |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
I am aware that this lockup in the software is different to that being covered by this thread as it didn't show the error code. I am curious to see that the code recovered but the watchdog timer did not restart the program and the program dropped to a prompt after reconnecting. ntp address 67.219.111.127 got ntp response: 03/05/2024 17:00:00 [133] WEB TCP CLIENT REQUEST Query, buff%() Error : No connection Error: Invalid address - resetting PICOE66178758B3 connecting to WiFi... Connected 192.168.1.115 Would this be the effect of the ON ERROR SKIP? 0A47 |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5915 |
Option Autorun ON ? VK7JH MMedit MMBasic Help |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Thanks Jim, Autorun on is back now. 0A47 EDIT But!!!! > option autorun on > option list WebMite MMBasic Version 5.08.00 OPTION SYSTEM SPI GP18,GP19,GP16 OPTION SYSTEM I2C GP26,GP27 OPTION AUTORUN ON OPTION LCDPANEL ILI9488, RLANDSCAPE,GP15,GP14,GP13,GP17 OPTION WIFI ???????, ?????? , PICOE66178758B3 OPTION TOUCH GP12,GP11 OPTION SDCARD GP22 OPTION AUDIO GP2,GP3', ON PWM CHANNEL 1 > run [133] WEB TCP CLIENT REQUEST Query, buff%() Error : No connection > Still locks at prompt after run. Will see what happens. 0A47 Edited 2024-05-03 22:14 by OA47 |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 1805 |
I may have this wrong but I believe certain errors cause OPTION AUTORUN to be removed to prevent an infinite loop of crash - reboot - run - crash. If you don't think that is going to be an issue apply OPTION AUTORUN OFF then add this to the top of the program:- Sub MM.Startup : Run : End Sub So far that has worked for me. Edit. As far as I know that has always been the case. Not connecting at start-up causes a crash, WiFi needs to be available before booting. Edited 2024-05-04 07:22 by phil99 |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Thanks Phil, that explains why the Option AUTORUN disappears. 0A47 |
||||
Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 158 |
I think this is related - from the manual... John |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5915 |
As far as I now, "Error : No connection" refers to the WEB OPEN connection, not WiFi. WEB OPEN TCP CLIENT "xxxx", 80 WEB TCP CLIENT REQUEST Query, buff%() WEB CLOSE TCP CLIENT He is getting past his NTP so the WiFi is running OK. "Error: Invalid address - resetting" indicates that you are heading to a cancelled autorun and a softreset The reason could be anyof these:. exception_set_exclusive_handler(HARDFAULT_EXCEPTION,sigbus); exception_set_exclusive_handler(SVCALL_EXCEPTION,sigbus); exception_set_exclusive_handler(PENDSV_EXCEPTION,sigbus); exception_set_exclusive_handler(NMI_EXCEPTION ,sigbus); exception_set_exclusive_handler(SYSTICK_EXCEPTION,sigbus); Jim VK7JH MMedit MMBasic Help |
||||
Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 158 |
So, I've been running tests for a few days (VB to WM on TCP port 1111 and sending regular packets when a timer fires) MMbasic ver 5.09.00RC4 As yet, I haven't seen the error code in the subject line crop up... Thanks Peter, maybe it's the last we've seen of that one? Still having a lot of random freezes, so just trying to work through some ideas there. John |
||||
Page 2 of 2 |
Print this page |