Difference between revisions of "BoSL Board V0.5 Debug"

From BoSL Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
This page contains a list of observations from using the BoSL v0.5.x, they may be items which need to be kept in mind when developing and improving code for the BoSL v0.5
  
 
== Issue List ==
 
== Issue List ==
=== ATMega issue ===
+
=== ATmega issue ===
 
'''Description:'''<br>
 
'''Description:'''<br>
Get no response from BoSL Serial, looks like ATMega is dead. This happened twice on 2 boards. <br>
+
On the code ported from v0.4.x, there is sometimes no response on the USB serial ports. This may be because the ATmega has crashed. This issue has been observed two times <br>
 
'''Test:'''<br>
 
'''Test:'''<br>
The first time, the code used RTC for deep sleep. To exclude the RTC issue, the second<br> time used watchdog timer for deep sleep.
+
This has been observed on both when using the RTC for timed-sleep and when using delay().
  
 
=== SIM7000 issue ===
 
=== SIM7000 issue ===
 
'''Description: '''<br>
 
'''Description: '''<br>
When Sim7000 is power on, get no response from Sim7000.<br>
+
The sim7000 may be unresponsive on power up. <br>
 
'''Test: '''<br>
 
'''Test: '''<br>
Tried using different baud rates talk to Sim7000.<br>
+
The sim7000 was powered up and the "AT" command was sent. No response was received, even when the baud rate was adjusted. <br>
Tried keep sending "AT" to Sim7000.<br>
+
This issue was resolved once the BoSLboard reset button was pressed.<br>
None of the above method work.<br>
 
After pressing reset button, sim7000 started to response.<br>
 
  
 
=== Network register issue ===
 
=== Network register issue ===
 
''' Description:'''<br>
 
''' Description:'''<br>
Some boards cannot register to network.<br>
+
Network registration was not achieved on some boards<br>
 
''' Test:'''<br>
 
''' Test:'''<br>
Tested 6 boards by using same code, 4 of them cannot register to network.<br>
+
Of 6 new boards tested with the same code, 4 were not able to register to the network. These boards gave "+CREG: 0,2" meaning that they were searching for operators to register to. <br>
Keep receiving "+CREG: 0,2", resetting sim7000 and re-connecting to battery won't fix it.
+
This difficulty persisted across resetting the sim7000 and reconnecting the battery.
  
 
== Debug history ==
 
== Debug history ==
 
=== 6th Feb 2024 ===
 
=== 6th Feb 2024 ===
Yesterday(cloudy) tested 6 BoSL 0.5 boards, and found out 4 of them cannot register to network.<br>
+
Yesterday (cloudy) six BoSL v0.5 boards were tested. Four of these were not able to register to the network.<br>
Today(clear day) tested the 4 "problematic" boards again, using the same sim card and same code. <br>
+
Today (clear day) the four board which were not able to register to the network were retested using the same sim card and same code. <br>
2 of them are easy to register to network, no idea why, the weather?<br>
+
2 of them registered to the network, no idea why, the weather?<br>
1 of them cannot register to network at first, even tried "sendATcmd(F("AT+COPS=0"), "OK", 150000, 1);".<br>
+
1 of them still could not register to the network, even after "sendATcmd(F("AT+COPS=0"), "OK", 150000, 1);".<br>
 
but after reconnecting to the battery 2 or 3 times, it was able to register to network.<br>
 
but after reconnecting to the battery 2 or 3 times, it was able to register to network.<br>
 
There is still one board cannot register to network, reconnecting to the battery or await "AT+COPS" for 150s not work.<br>
 
There is still one board cannot register to network, reconnecting to the battery or await "AT+COPS" for 150s not work.<br>
Line 37: Line 37:
  
 
=== 8th Feb 2024 ===
 
=== 8th Feb 2024 ===
Stephen got the same network register issue with BoSL 0.5 board today. <br>
+
Stephen said he got a BoSL V0.5 board that cannot register to the network neither. <br>
He tested sending ATCommand "AT+CEREG=1" and got the network registered.<br>
+
He tried to fix it and found that sending "AT+CEREG=1" ATCommand to SIM7000 solved the problem.<br>
We can test this ATCommand on more boards that have the same issue.
+
It is a good finding. We can test this ATCommand on more boards that have network register issues.<br>
 +
Once we confirm that this ATCommand always works, we can add this ATCommand to our BoSL logger code.<br>
 +
 
 +
=== 19 Feb 2024 ===
 +
B5_TurbDepth_3 recovered after stopping logging for seven days.
 +
 
 +
=== 20 Feb 2024 ===
 +
B5_DT_SD_2 is not logging for three days after being set up. It starts to log today when connected to the PC USB port.<br>
 +
It looks like a board quality issue.<br>
 +
 
 +
B5_TurbDepth_3 stopped logging again.<br>
 +
The debug showed it keeps resetting.<br>
 +
It is a hardware bug and has already been fixed on V0.5.3.<br>
 +
For V0.5.1 to V0.5.2, we should avoid boards working at a voltage lower than 3.7V.
 +
 
 +
=== 26 Feb 2024 ===
 +
B5_DT_SD_2 stopped logging on 23 Feb when the battery voltage dropped below 3.38V.<br>
 +
It is good, the performance is better than expected (above 3.6V).<br>
 +
However, the low-voltage protection module does not satisfy our expectations.<br>
 +
The VBAT pin is expected to be above at least 1V but tested at 0.82V.<br>
 +
It logs again after the battery has been replaced.

Latest revision as of 06:14, 26 February 2024

This page contains a list of observations from using the BoSL v0.5.x, they may be items which need to be kept in mind when developing and improving code for the BoSL v0.5

Issue List

ATmega issue

Description:
On the code ported from v0.4.x, there is sometimes no response on the USB serial ports. This may be because the ATmega has crashed. This issue has been observed two times
Test:
This has been observed on both when using the RTC for timed-sleep and when using delay().

SIM7000 issue

Description:
The sim7000 may be unresponsive on power up.
Test:
The sim7000 was powered up and the "AT" command was sent. No response was received, even when the baud rate was adjusted.
This issue was resolved once the BoSLboard reset button was pressed.

Network register issue

Description:
Network registration was not achieved on some boards
Test:
Of 6 new boards tested with the same code, 4 were not able to register to the network. These boards gave "+CREG: 0,2" meaning that they were searching for operators to register to.
This difficulty persisted across resetting the sim7000 and reconnecting the battery.

Debug history

6th Feb 2024

Yesterday (cloudy) six BoSL v0.5 boards were tested. Four of these were not able to register to the network.
Today (clear day) the four board which were not able to register to the network were retested using the same sim card and same code.
2 of them registered to the network, no idea why, the weather?
1 of them still could not register to the network, even after "sendATcmd(F("AT+COPS=0"), "OK", 150000, 1);".
but after reconnecting to the battery 2 or 3 times, it was able to register to network.
There is still one board cannot register to network, reconnecting to the battery or await "AT+COPS" for 150s not work.

Adding:
The last board which cannot register to the network started to logging after being connected to battery for about 1 hour,
it looks like the Sim7000 module needs a warm up before work properly.

8th Feb 2024

Stephen said he got a BoSL V0.5 board that cannot register to the network neither.
He tried to fix it and found that sending "AT+CEREG=1" ATCommand to SIM7000 solved the problem.
It is a good finding. We can test this ATCommand on more boards that have network register issues.
Once we confirm that this ATCommand always works, we can add this ATCommand to our BoSL logger code.

19 Feb 2024

B5_TurbDepth_3 recovered after stopping logging for seven days.

20 Feb 2024

B5_DT_SD_2 is not logging for three days after being set up. It starts to log today when connected to the PC USB port.
It looks like a board quality issue.

B5_TurbDepth_3 stopped logging again.
The debug showed it keeps resetting.
It is a hardware bug and has already been fixed on V0.5.3.
For V0.5.1 to V0.5.2, we should avoid boards working at a voltage lower than 3.7V.

26 Feb 2024

B5_DT_SD_2 stopped logging on 23 Feb when the battery voltage dropped below 3.38V.
It is good, the performance is better than expected (above 3.6V).
However, the low-voltage protection module does not satisfy our expectations.
The VBAT pin is expected to be above at least 1V but tested at 0.82V.
It logs again after the battery has been replaced.