I have written some code for a Sodaq One rev4 board based on the Sodaq libraries and every time I compile I get several warnings;
“ld.exe: warning: changing start of section .bss by 4 bytes”
And when I try to upload the code to my device I get a “SAM-BA operation failed”. The board seems to be working with the code (though it does not go to proper sleep mode, the power usage stays at 7 mAmp). Doesnt matter how often I retry the download, the warnings stay.
First question; should I be worried about the warnings?
Second question: Could these warnings be related to the board not entering proper sleep mode?
I use the code supplied here on the forum;
Sleep code GPS;
Do you have an idea what could be causing that? I get that error no matter what code I use, even your demo code (low power mode) that only has 25 lines of code. I have already tried to change to a different USB port on my laptop (Lenovo T440p) but that doesn’t help.
Unfortunately, another cable and another laptop does not help. My collegue has the same messages when uploading to the Sodaq One boards (we have several and we get those messages with all boards). We use IDE version 1.6.13 and 1.6.9 of the board package.
What I can try is to download the application using a normal PC. Maybe that helps.
I compiled and downloaded the same software into the same board using a PC and now I don’t get the SAM-BA error and also no message that there was an error while uploading. So it seems to be related to the use of a laptop.