DFOTA BG95-M3 error codes

Hello I’m having some problems while updating BG95-M3 while doing DFOTA update.
I’ve already asked to FAE binary file. In some devices the update process work but there are a number of them that abort the process returning error codes.
The documentation is not clear with the user at the moment while the module returns for example:

511: Package is mismatched with the current firmware

Can I ask for a document to follow steps base on error codes for DFOTA procedures?
At the moment, I’m running DFOTA from version:
BG95M3LAR02A03_01.006.01.006 to BG95M3LAR02A03_A0.206.A0.206

Hi @mtinDuarte
If you need to upgrade the differential package BG95M3LAR02A03_01.006.006 to BG95M3LAR02A03_00.206.A0.206, you must ensure that the firmware version in the current module is BG95M3LAR02A03_01.006.01.006

Hello thank you for you response.
Let me copy a fragment of the update:

[2024-11-21_13:31:24:337]OK

[2024-11-21_13:31:24:488]AT

[2024-11-21_13:31:24:488]OK

[2024-11-21_13:31:24:716]AT

[2024-11-21_13:31:24:716]OK

[2024-11-21_13:31:43:573]AT

[2024-11-21_13:31:43:573]OK

[2024-11-21_13:31:48:093]AT+QGMR

[2024-11-21_13:31:48:093]BG95M3LAR02A03_01.006.01.006

[2024-11-21_13:37:48:324]+CPIN: READY

[2024-11-21_13:37:48:324]+QUSIM: 1

[2024-11-21_13:37:48:505]

[2024-11-21_13:37:48:505]+QIND: SMS DONE

[2024-11-21_13:37:50:604]

[2024-11-21_13:37:50:604]APP RDY

[2024-11-21_13:37:54:581]ATQ0

[2024-11-21_13:37:54:581]OK

[2024-11-21_13:37:54:703]ATV1

[2024-11-21_13:37:54:703]OK

[2024-11-21_13:37:54:794]ATE1

[2024-11-21_13:37:54:794]OK

[2024-11-21_13:37:54:901]AT+CGREG=2

[2024-11-21_13:37:54:901]OK

[2024-11-21_13:37:55:024]AT+CMEE=1

[2024-11-21_13:37:55:024]OK

[2024-11-21_13:37:55:130]AT+QURCCFG=“urcport”,“uart1”

[2024-11-21_13:37:55:130]OK

[2024-11-21_13:37:55:220]AT&C1

[2024-11-21_13:37:55:220]OK

[2024-11-21_13:37:55:343]AT+CFUN=1,0

[2024-11-21_13:37:55:343]OK

[2024-11-21_13:37:55:434]AT+QSIMSTAT=1

[2024-11-21_13:37:55:434]OK

[2024-11-21_13:37:55:554]AT+QCFG=“nwscanseq”,03,1

[2024-11-21_13:37:55:554]OK

[2024-11-21_13:37:55:660]AT+QCFG=“nwscanmode”,3,1

[2024-11-21_13:37:55:660]OK

[2024-11-21_13:37:55:750]AT+QCFG=“iotopmode”,2,1

[2024-11-21_13:37:55:750]OK

[2024-11-21_13:37:55:870]AT+QCFG=“band”,0,A00001B,800001B,1

[2024-11-21_13:37:55:870]OK

[2024-11-21_13:37:56:069]AT+QCFG=“ledmode”,1

[2024-11-21_13:37:56:069]OK

[2024-11-21_13:37:56:190]AT+CTZU =1

[2024-11-21_13:37:56:190]OK

[2024-11-21_13:37:56:282]AT+CEDRXS=0,3,“0000”

[2024-11-21_13:37:56:282]OK

[2024-11-21_13:37:56:387]AT+CEDRXS=0,4,“0000”

[2024-11-21_13:37:56:387]OK

[2024-11-21_13:37:56:508]AT+CEDRXS=0,5,“0000”

[2024-11-21_13:37:56:508]OK

[2024-11-21_13:37:56:598]AT+QGPSCFG=“priority”,1

[2024-11-21_13:37:56:598]OK

[2024-11-21_13:37:56:719]AT+QMTCFG=“version”,1,4

[2024-11-21_13:37:56:719]OK

[2024-11-21_13:37:56:809]AT+QMTCFG=“pdpcid”,1,1

[2024-11-21_13:37:56:809]OK

[2024-11-21_13:37:56:916]AT+QMTCFG=“keepalive”,1,120

[2024-11-21_13:37:56:916]OK

[2024-11-21_13:37:57:037]AT+QMTCFG=“session”,1,1

[2024-11-21_13:37:57:037]OK

[2024-11-21_13:37:57:128]AT+QMTCFG=“timeout”,1,30,5,1

[2024-11-21_13:37:57:128]OK

[2024-11-21_13:37:57:236]AT+QMTCFG=“ssl”,1,1,2

[2024-11-21_13:37:57:236]OK

[2024-11-21_13:37:57:358]AT+QSSLCFG=“sslversion”,2,4

[2024-11-21_13:37:57:358]OK

[2024-11-21_13:37:57:450]AT+QSSLCFG=“ciphersuite”,2,0xFFFF

[2024-11-21_13:37:57:450]OK

[2024-11-21_13:38:01:803]AT+QSSLCFG=“seclevel”,2,2

[2024-11-21_13:38:02:241]AT+QSSLCFG=“ignorelocaltime”,2,1

[2024-11-21_13:38:02:241]OK

[2024-11-21_13:38:02:332]AT+QSSLCFG=“session”,2,0

[2024-11-21_13:38:02:332]OK

[2024-11-21_13:38:02:438]AT+QSSLCFG=“sni”,2,0

[2024-11-21_13:38:02:438]OK

[2024-11-21_13:38:02:560]AT+QSSLCFG=“checkhost”,2,0

[2024-11-21_13:38:02:560]OK

[2024-11-21_13:38:02:651]AT+QSSLCFG=“negotiatetime”,2,60

[2024-11-21_13:38:02:651]OK

[2024-11-21_13:38:02:756]AT+QMTCFG=“recv/mode”,1,0,1

[2024-11-21_13:38:02:756]OK

[2024-11-21_13:38:02:863]AT+CREG?

[2024-11-21_13:38:02:863]+CREG: 0,1

[2024-11-21_13:38:02:863]OK

[2024-11-21_13:38:02:969]AT+CGREG?

[2024-11-21_13:38:02:969]+CGREG: 2,4

[2024-11-21_13:38:02:969]OK

[2024-11-21_13:38:03:089]AT+CEREG?

[2024-11-21_13:38:03:089]+CEREG: 0,1

[2024-11-21_13:38:03:089]OK

[2024-11-21_13:38:24:053]AT+QFOTADL=“https://***********.blob.core.windows.net/bg95/Update_BG95M3LAR02A03_01.006.01.006-R02A03_01.017.01.017.bin”

[2024-11-21_13:38:24:114]OK

[2024-11-21_13:38:24:114]+QIND: “FOTA”,“HTTPSTART”

[2024-11-21_13:39:10:192]AT+QFOTADL=“https://***********.blob.core.windows.net/bg95/Update_BG95M3LAR02A03_01.006.01.006-R02A03_01.017.01.017.bin”

[2024-11-21_13:39:10:284]+CME ERROR: 591

[2024-11-21_13:40:57:646]

[2024-11-21_13:40:57:646]+QIND: “FOTA”,“DOWNLOADING”,5%

[2024-11-21_13:42:22:748]

[2024-11-21_13:42:22:748]+QIND: “FOTA”,“DOWNLOADING”,10%

[2024-11-21_13:43:47:706]

[2024-11-21_13:43:47:706]+QIND: “FOTA”,“DOWNLOADING”,15%

[2024-11-21_13:44:03:216]AT+qcsq

[2024-11-21_13:44:03:216]+QCSQ: “NBIoT”,0,-90,202,-10

[2024-11-21_13:44:03:216]OK

[2024-11-21_13:44:04:489]AT+qcsq

[2024-11-21_13:44:04:489]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:04:489]OK

[2024-11-21_13:44:04:927]AT+qcsq

[2024-11-21_13:44:04:927]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:04:927]OK

[2024-11-21_13:44:05:291]AT+qcsq

[2024-11-21_13:44:05:291]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:05:291]OK

[2024-11-21_13:44:05:928]AT+qcsq

[2024-11-21_13:44:05:928]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:05:928]OK

[2024-11-21_13:44:06:125]AT+qcsq

[2024-11-21_13:44:06:125]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:06:125]OK

[2024-11-21_13:44:06:292]AT+qcsq

[2024-11-21_13:44:06:292]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:06:292]OK

[2024-11-21_13:44:06:443]AT+qcsq

[2024-11-21_13:44:06:443]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:06:443]OK

[2024-11-21_13:44:06:628]AT+qcsq

[2024-11-21_13:44:06:628]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:06:628]OK

[2024-11-21_13:44:06:780]AT+qcsq

[2024-11-21_13:44:06:780]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:06:780]OK

[2024-11-21_13:44:06:961]AT+qcsq

[2024-11-21_13:44:06:961]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:44:06:961]OK

[2024-11-21_13:45:09:877]+QIND: “FOTA”,“DOWNLOADING”,20%

[2024-11-21_13:46:32:225]+QIND: “FOTA”,“DOWNLOADING”,25%

[2024-11-21_13:48:00:631]+QIND: “FOTA”,“DOWNLOADING”,30%

[2024-11-21_13:49:22:127]+QIND: “FOTA”,“DOWNLOADING”,35%

[2024-11-21_13:50:44:506]+QIND: “FOTA”,“DOWNLOADING”,40%

[2024-11-21_13:52:05:873]+QIND: “FOTA”,“DOWNLOADING”,45%

[2024-11-21_13:52:09:711]AT+qcsq
[2024-11-21_13:52:09:711]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:52:09:711]OK

[2024-11-21_13:52:10:708]AT+qcsq

[2024-11-21_13:52:10:708]+QCSQ: “NBIoT”,0,-89,209,-10

[2024-11-21_13:52:10:708]OK

[2024-11-21_13:52:11:026]AT+qcsq

[2024-11-21_13:52:11:026]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:11:026]OK

[2024-11-21_13:52:11:192]AT+qcsq

[2024-11-21_13:52:11:192]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:11:192]OK

[2024-11-21_13:52:11:388]AT+qcsq

[2024-11-21_13:52:11:388]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:11:388]OK

[2024-11-21_13:52:11:571]AT+qcsq

[2024-11-21_13:52:11:571]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:11:571]OK

[2024-11-21_13:52:11:782]AT+qcsq

[2024-11-21_13:52:11:782]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:11:782]OK

[2024-11-21_13:52:11:981]AT+qcsq

[2024-11-21_13:52:11:981]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:11:981]OK

[2024-11-21_13:52:12:162]AT+qcsq

[2024-11-21_13:52:12:162]+QCSQ: “NBIoT”,0,-93,207,-10

[2024-11-21_13:52:12:162]OK

[2024-11-21_13:53:28:813]

[2024-11-21_13:53:28:813]+QIND: “FOTA”,“DOWNLOADING”,50%

[2024-11-21_13:54:50:431]

[2024-11-21_13:54:50:431]+QIND: “FOTA”,“DOWNLOADING”,55%

[2024-11-21_13:56:10:489]

[2024-11-21_13:56:10:489]+QIND: “FOTA”,“DOWNLOADING”,60%

[2024-11-21_13:57:40:262]

[2024-11-21_13:57:40:262]+QIND: “FOTA”,“DOWNLOADING”,65%

[2024-11-21_13:59:02:270]

[2024-11-21_13:59:02:270]+QIND: “FOTA”,“DOWNLOADING”,70%

[2024-11-21_14:00:22:559]

[2024-11-21_14:00:22:559]+QIND: “FOTA”,“DOWNLOADING”,75%

[2024-11-21_14:01:49:823]

[2024-11-21_14:01:49:823]+QIND: “FOTA”,“DOWNLOADING”,80%

[2024-11-21_14:03:21:382]

[2024-11-21_14:03:21:382]+QIND: “FOTA”,“DOWNLOADING”,85%

[2024-11-21_14:04:45:609]

[2024-11-21_14:04:45:609]+QIND: “FOTA”,“DOWNLOADING”,90%

[2024-11-21_14:06:17:465]

[2024-11-21_14:06:17:465]+QIND: “FOTA”,“DOWNLOADING”,95%

[2024-11-21_14:07:40:950]

[2024-11-21_14:07:40:950]+QIND: “FOTA”,“DOWNLOADING”,100%

[2024-11-21_14:07:42:310]

[2024-11-21_14:07:42:310]+QIND: “FOTA”,“HTTPEND”,511

The most likely reason for this issue is that the differential package does not match. You can remake the differential package and try again.

I could represent the issue by trying to download a DFOTA package from v6 to v206 failing. After that I tried to download a smaller package from v6 to v17. This download finished successfully but returns 511 error.
How can I erase all previous download information/configuration to start from scratch?
I’ve more than one module that could update successfully with this package, so I think that it’s a configuration feature that I missed.