Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:37 27 Mar 2025 Privacy Policy
Jump to

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 : Pico_w error message

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1919
Posted: 03:09am 10 Mar 2025
Copy link to clipboard 
Print this post

Pico-W  V6.0001
A clock that gets time from the wifi.
The program runs OK but at some stage it restarts and I get the following message

ntp address 162.159.200.123
got ntp response: 10/03/2025 13:06:51
Got time  13:06:51
D:\Dropbox\PicoMite\PicoMite\lfs.c:1895:warn: Superblock 0x0 has become unwritable

Can anyone tell me what is happening.
Edit..
I restarted and it ran for about 20 minutes and stopped with an error
'Invalid character  $'  but there was no such character when I checked.
Previously I was getting errors and when I checked, somehow 2 lines of code had changed
'If HourNum....' had changed to  )^ HourNum
and  'Text 130,50.....' had changed to 'Text 130,;0 '.......
Maybe time to reflash the chip.
Befor this started happening it ran OK for several weeks.
Edited 2025-03-10 13:36 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9800
Posted: 08:16am 10 Mar 2025
Copy link to clipboard 
Print this post

The error suggest you are writing to a file on the flash on a regular basis. Is this the case? How often?
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1919
Posted: 07:20pm 10 Mar 2025
Copy link to clipboard 
Print this post

Yes I was saving a variable every pass of my main loop, I have now changed things so that is not necessary. Have I worn out the flash ?
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9800
Posted: 07:27pm 10 Mar 2025
Copy link to clipboard 
Print this post

  Quote   Have I worn out the flash ?

Could have, the error indicates that one of the critical blocks used by the flash filesystem was/is unhappy
Edited 2025-03-11 05:27 by matherp
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1919
Posted: 08:16pm 10 Mar 2025
Copy link to clipboard 
Print this post

Thanks Peter, I am no longer using VarSave, I am using the library in Slot 3 and Slots 1 and 2 seem ok if that is the same area as used by VarSave. I know nothing about where the flash is saved.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2025