NTP issue with 9.02 but not 9.00 #28
Replies: 5 comments 2 replies
-
Hi Neil, Thank you for your good words and for your feedback. I know there has been changes in the Pico SDK update around the time I released Firmware Version 9.00 and I strongly suspect it impacted the NTP behavior in my code (see other thread on the subject). If ever you rebuild Version 9.02 (instead of using the .uf2 file in my repository, you may want to make sure that you have the latest SDK version. Other than that. while working on the NTP feature, I had to update / change different parts of the code that could have had impacts on the automatic Summer Time / Winter Time handling (explaining why your clock didn't change automatically). I'll have to recheck this aspect, although fine tuning NTP may be the simplest solution. As for the problems you encountered with your NTP connection, does your Network name (or Password) use special characters that have a special meaning in the C language ? (Like "Escape", "Back-slash", "Percent sign", etc... you said that Version 9.00 works fine, so I assume this is not the case since the problem would appear in 9.00 as well as 9.02). Also, I'm aware of the following bug: if your Green Clock remains On while your WiFi network goes down, then back On, the Green Clock will not properly re-sync with your network once it is restored. You will have to turn the clock Off, then back On to re-sync. I expect this bug will be simple to fix in the next release, but this is a bug in the current code. Not sure if this may explain some of your problems... Let me know if ever you find anything else... |
Beta Was this translation helpful? Give feedback.
-
So I've tried several times with a Pi server and windows based solutions to compile your 9.0.3 C file, but without success. I keep running into various problems and I never get to a final .uf2 file. I will be trying again soon though to give it another go as I would like to be running your latest version. Thanks again for the great code...bye for now |
Beta Was this translation helpful? Give feedback.
-
Hi Neil, You don't give much details about your problem, so it's difficult for me to help...
I must say that all my development is done on a Raspberry Pi 4 (waiting for the Pi 5 to be available), so if there is something special to know about a Windows environment, I may not be of great help... I'll try to help with the answers you give. If other users have an idea, they are welcome to join us... |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for the reply. I'll try to answer each point the best I can.
I will try again in the next few days and report back Neil |
Beta Was this translation helpful? Give feedback.
-
For what it's worth, I ran into a couple of problems when compiling the source for 9.03 back in September on a rpi 3. I don't know if they affect you, Neil, but I'll mention them in case you or others run into them. I'll also add that this was my first time building something for the Pico.
Googling turned up a post on sourceforge suggesting the fix is to edit the CMakeLists.txt and add "ASM C CXX" to the project() call and then run cmake again. George |
Beta Was this translation helpful? Give feedback.
-
Hi, firstly thanks for this work, its excellent.
I was running 9.02 with a Pico W. The NTP element is key for my use, but today when the UK clocks changed, my clock did not change as expected. Following a mornings investigating, I realised the NTP element was just not working at all, despite connecting to my router wifi just fine. The LED on the rear of the clock also remained on.
Following various re-downloads to the clock, nothing worked wrt NTP operation. In desperation, I tried 9.00 and hey presto, correct NTP operation and the LED on the rear was off. If I try and manually change the time now, the NTP function corrects it back to the correct time.
I cannot see any other comments on Github related to this problem, so throught I'd post my issue and seek further comment.
Regards
Neil
Beta Was this translation helpful? Give feedback.
All reactions