Page 3 of 3

Re: OTA 3G REPROGRAMMING ERROR

Posted: Wed May 02, 2018 4:17 am
by xung
Hi,
Sorry,

I want to ask a question
Yesterday I had the SD format.
Currently I'm trying to use OTA. I see the results of all downloads are good.
The program I noticed was "boot start". Version has been changed. But at startup the program does not change.

When does the format change the OTA?

Re: OTA 3G REPROGRAMMING ERROR

Posted: Thu May 03, 2018 10:02 am
by libelium-dev
Hi,

Could you share the output of the code? What program are you trying to upload? Did you increase the version in the UPGRADE.TXT file?

Regards

Re: OTA 3G REPROGRAMMING ERROR

Posted: Mon May 07, 2018 4:48 am
by xung
Yes,

Version's increase.

Re: OTA 3G REPROGRAMMING ERROR

Posted: Mon May 07, 2018 4:51 am
by xung
Yes,

Version's increase.
Upload Success.

I see it near the same in the description blow.

H#
[dbg] Enter OTA
[dbg] boot_start()
H#
[dbg] Enter OTA
[dbg] boot_start()
H#
[dbg] Enter OTA
[dbg] app_start()
Start program

But firmware not change.

Re: OTA 3G REPROGRAMMING ERROR

Posted: Mon May 07, 2018 6:16 am
by xung
My code.

void request_OTA() {
int8_t error_OTA;
char ver_str[3];
uint8_t ver = Utils.getProgramVersion();
dtostrf( ver, 1, 2, ver_str);

USB.println(F("==> Request OTA..."));
error_OTA = _4G.requestOTA(ftp_server, ftp_port, ftp_user, ftp_pass);

if (error_OTA != 0)
{
USB.print(F("OTA request failed. Error code: "));
printErrorOTA(error_OTA,ver_str);
}else {
getHTTP("UpdatedOK",ver_str);
}
}

// Get request data to Server
void getHTTP(char err[100], char pID[10]) {
uint8_t error;
char data[200] = "";
snprintf(data,sizeof(data),"/waspmote/updateFirmwareStatus?wasp_id=%s&version=%s&status=%s", wasp_id, pID, err);
USB.println(data);
error = _4G.http( Wasp4G::HTTP_GET, host, port, data);
if (error == 0)
{
USB.print(F("Done resending. HTTP code: "));
USB.println(_4G._httpCode);
}
else
{
USB.print(F("Still Failed Error code: "));
USB.println(error, DEC);
}
}

BRs,

Re: OTA 3G REPROGRAMMING ERROR

Posted: Mon May 07, 2018 11:17 am
by libelium-dev
Hi,

Please try with the example code to perform OTA, just replace the ftp settings
http://www.libelium.com/development/was ... 4g-20-ota/

Then please share with us the output of the code with debug mode 2 enabled for 4G module
viewtopic.php?f=51&t=22542

Regards

Re: OTA 3G REPROGRAMMING ERROR

Posted: Mon May 07, 2018 11:37 am
by xung
Hi,
Sorry, My device has integrated into the sea.

I testing with a device SWI - 3G. I enabled debug_mode = 1.

Result:

Program version: 10
[3G] Debug mode 1
[3G] Module status: 0
[3G] Module status: 0
[3G] Module status: 0
[3G] Module status: 0
[3G] Module status: 1
[3G] Send command with 1 answer: AT+CMEE=1
[3G] Answer: 1
[3G] Send command with 1 answer: ATE0
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFUN=1
[3G] Answer: 1
3G+GPS module ready...
Connecting to the network
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CREG?
[3G] Answer: 1
[3G] Network status: 1
3G+GPS module connected to the network
Starting OTA process
[3G] Send command with 2 answers: AT+CGSOCKCONT=1,"IP","apn"
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CSOCKAUTH=1,1,"password","login"
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFTPSERV="ashrimp.agtexo.com"
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFTPPORT=45000
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFTPMODE=1
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFTPTYPE=I
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFTPUN="waspmoteswi"
[3G] Answer: 1
[3G] Send command with 2 answers: AT+CFTPPW="123456"
[3G] Answer: 1
[3G] Send command with 1 answer: AT+CGREG?
[3G] Answer: 1
[3G] Network status: 1
[3G] Send command with 2 answers: AT+CFTPLIST="/UPGRADE.TXT"
[3G] Answer: 1
[3G] Max download time: 30042
[3G] Send command with 1 answer: AT+CGREG?
[3G] Answer: 1
[3G] Network status: 1
[3G] Send command with 3 answers: AT+CFTPGETFILE="UPGRADE.TXT",0
[3G] Answer: 1
[3G] Origin: UPGRADE.TXT
[3G] Destiny: /UPGRADE.TXT
[3G] Send command with 2 answers: AT+FSATTRI=UPGRADE.TXT
[3G] Answer: 1
[3G] File size: 42
[3G] Send command with 2 answers: AT+CTXFILE="UPGRADE.TXT"
[3G] Answer: 1
[3G] Header value: 1 Packet numbers: 1; -2 Checksum value: 09 Generated checksum: 09 Checksum correct[3G] Size: 42
[3G] *******************************
[3G] Header value: 4 Packet numbers: 0; -1 Checksum value: FF[3G] EOF
[3G] Send command with 2 answers: AT+FSDEL=UPGRADE.TXT
[3G] Answer: 1
[3G] OTA file: AGTECHG
[3G] File path: /
[3G] Version: 30
[3G] Downloading OTA file
[3G] File to download: /AGTECHG
[3G] File to save: AGTECHG
[3G] Send command with 1 answer: AT+CGREG?
[3G] Answer: 1
[3G] Network status: 1
[3G] Send command with 2 answers: AT+CFTPLIST="/AGTECHG"
[3G] Answer: 1
[3G] Max download time: 49448
[3G] Send command with 1 answer: AT+CGREG?
[3G] Answer: 1
[3G] Network status: 1
[3G] Send command with 3 answers: AT+CFTPGETFILE="AGTECHG",0
[3G] Answer: 1
[3G] Origin: AGTECHG
[3G] Destiny: AGTECHG
[3G] Send command with 2 answers: AT+FSATTRI=AGTECHG
[3G] Answer: 1
[3G] File size: 19448
[3G] Send command with 2 answers: AT+CTXFILE="AGTECHG"
[3G] Answer: 1
[3G] Header value: 1 Packet numbers: 1; -2 Checksum value: 70 Generated checksum: 70 Checksum correct[3G] Size: 128
[3G] Header value: 1 Packet numbers: 2; -3 Checksum value: 00 Generated checksum: 00 Checksum correct[3G] Size: 256
[3G] Header value: 1 Packet numbers: 3; -4 Checksum value: 00 Generated checksum: 00 Checksum correct[3G] Size: 384
[3G] Header value: 1 Packet numbers: 4; -5 Checksum value: 00 Generated checksum: 00 Checksum correct[3G] Size: 512
[3G] Header value: 1 Packet numbers: 5; -6 Checksum value: F7 Generated checksum: F7 Checksum correct[3G] Size: 640
[3G] Header value: 1 Packet numbers: 6; -7 Checksum value: D1 Generated checksum: D1 Checksum correct[3G] Size: 768
[3G] Header value: 1 Packet numbers: 7; -8 Checksum value: B7 Generated checksum: B7 Checksum correct[3G] Size: 896
[3G] Header value: 1 Packet numbers: 8; -9 Checksum value: A9 Generated checksum: A9 Checksum correct[3G] Size: 1024
[3G] Header value: 1 Packet numbers: 9; -10 Checksum value: 72 Generated checksum: 72 Checksum correct[3G] Size: 1152
[3G] Header value: 1 Packet numbers: 10; -11 Checksum value: 13 Generated checksum: 13 Checksum correct[3G] Size: 1280
[3G] Header value: 1 Packet numbers: 11; -12 Checksum value: E4 Generated checksum: E4 Checksum correct[3G] Size: 1408
[3G] Header value: 1 Packet numbers: 12; -13 Checksum value: 2C Generated checksum: 2C Checksum correct[3G] Size: 1536
[3G] Header value: 1 Packet numbers: 13; -14 Checksum value: 19 Generated checksum: 19 Checksum correct[3G] Size: 1664
[3G] Header value: 1 Packet numbers: 14; -15 Checksum value: F0 Generated checksum: F0 Checksum correct[3G] Size: 1792
[3G] Header value: 1 Packet numbers: 15; -16 Checksum value: D8 Generated checksum: D8 Checksum correct[3G] Size: 1920
[3G] Header value: 1 Packet numbers: 16; -17 Checksum value: B4 Generated checksum: B4 Checksum correct[3G] Size: 2048
[3G] Header value: 1 Packet numbers: 17; -18 Checksum value: D1 Generated checksum: D1 Checksum correct[3G] Size: 2176
[3G] Header value: 1 Packet numbers: 18; -19 Checksum value: F2 Generated checksum: F2 Checksum correct[3G] Size: 2304
[3G] Header value: 1 Packet numbers: 19; -20 Checksum value: 4F Generated checksum: 4F Checksum correct[3G] Size: 2432
[3G] Header value: 1 Packet numbers: 20; -21 Checksum value: 1F Generated checksum: 1F Checksum correct[3G] Size: 2560
[3G] Header value: 1 Packet numbers: 21; -22 Checksum value: 83 Generated checksum: 83 Checksum correct[3G] Size: 2688
[3G] Header value: 1 Packet numbers: 22; -23 Checksum value: F0 Generated checksum: F0 Checksum correct[3G] Size: 2816
[3G] Header value: 1 Packet numbers: 23; -24 Checksum value: F4 Generated checksum: F4 Checksum correct[3G] Size: 2944
[3G] Header value: 1 Packet numbers: 24; -25 Checksum value: C8 Generated checksum: C8 Checksum correct[3G] Size: 3072
[3G] Header value: 1 Packet numbers: 25; -26 Checksum value: CF Generated checksum: CF Checksum correct[3G] Size: 3200
[3G] Header value: 1 Packet numbers: 26; -27 Checksum value: C1 Generated checksum: C1 Checksum correct[3G] Size: 3328
[3G] Header value: 1 Packet numbers: 27; -28 Checksum value: 37 Generated checksum: 37 Checksum correct[3G] Size: 3456
[3G] Header value: 1 Packet numbers: 28; -29 Checksum value: 9B Generated checksum: 9B Checksum correct[3G] Size: 3584
[3G] Header value: 1 Packet numbers: 29; -30 Checksum value: 56 Generated checksum: 56 Checksum correct[3G] Size: 3712
[3G] Header value: 1 Packet numbers: 30; -31 Checksum value: 76 Generated checksum: 76 Checksum correct[3G] Size: 3840
[3G] Header value: 1 Packet numbers: 31; -32 Checksum value: C0 Generated checksum: C0 Checksum correct[3G] Size: 3968
[3G] Header value: 1 Packet numbers: 32; -33 Checksum value: CB Generated checksum: CB Checksum correct[3G] Size: 4096
[3G] Header value: 1 Packet numbers: 33; -34 Checksum value: FE Generated checksum: FE Checksum correct[3G] Size: 4224
[3G] Header value: 1 Packet numbers: 34; -35 Checksum value: B3 Generated checksum: B3 Checksum correct[3G] Size: 4352
[3G] Header value: 1 Packet numbers: 35; -36 Checksum value: A1 Generated checksum: A1 Checksum correct[3G] Size: 4480
[3G] Header value: 1 Packet numbers: 36; -37 Checksum value: 92 Generated checksum: 92 Checksum correct[3G] Size: 4608
[3G] Header value: 1 Packet numbers: 37; -38 Checksum value: E9 Generated checksum: E9 Checksum correct[3G] Size: 4736
[3G] Header value: 1 Packet numbers: 38; -39 Checksum value: 80 Generated checksum: 80 Checksum correct[3G] Size: 4864
[3G] Header value: 1 Packet numbers: 39; -40 Checksum value: B1 Generated checksum: B1 Checksum correct[3G] Size: 4992
[3G] Header value: 1 Packet numbers: 40; -41 Checksum value: 31 Generated checksum: 31 Checksum correct[3G] Size: 5120
[3G] Header value: 1 Packet numbers: 41; -42 Checksum value: 33 Generated checksum: 33 Checksum correct[3G] Size: 5248
[3G] Header value: 1 Packet numbers: 42; -43 Checksum value: CC Generated checksum: CC Checksum correct[3G] Size: 5376
[3G] Header value: 1 Packet numbers: 43; -44 Checksum value: CD Generated checksum: CD Checksum correct[3G] Size: 5504
[3G] Header value: 1 Packet numbers: 44; -45 Checksum value: BB Generated checksum: BB Checksum correct[3G] Size: 5632
[3G] Header value: 1 Packet numbers: 45; -46 Checksum value: 41 Generated checksum: 41 Checksum correct[3G] Size: 5760
[3G] Header value: 1 Packet numbers: 46; -47 Checksum value: 3D Generated checksum: 3D Checksum correct[3G] Size: 5888
[3G] Header value: 1 Packet numbers: 47; -48 Checksum value: F8 Generated checksum: F8 Checksum correct[3G] Size: 6016
[3G] Header value: 1 Packet numbers: 48; -49 Checksum value: B1 Generated checksum: B1 Checksum correct[3G] Size: 6144
[3G] Header value: 1 Packet numbers: 49; -50 Checksum value: 4D Generated checksum: 4D Checksum correct[3G] Size: 6272
[3G] Header value: 1 Packet numbers: 50; -51 Checksum value: 67 Generated checksum: 67 Checksum correct[3G] Size: 6400
[3G] Header value: 1 Packet numbers: 51; -52 Checksum value: E3 Generated checksum: E3 Checksum correct[3G] Size: 6528
[3G] Header value: 1 Packet numbers: 52; -53 Checksum value: CD Generated checksum: CD Checksum correct[3G] Size: 6656
[3G] Header value: 1 Packet numbers: 53; -54 Checksum value: 43 Generated checksum: 43 Checksum correct[3G] Size: 6784
[3G] Header value: 1 Packet numbers: 54; -55 Checksum value: 6F Generated checksum: 6F Checksum correct[3G] Size: 6912
[3G] Header value: 1 Packet numbers: 55; -56 Checksum value: 38 Generated checksum: 38 Checksum correct[3G] Size: 7040
[3G] Header value: 1 Packet numbers: 56; -57 Checksum value: 3F Generated checksum: 3F Checksum correct[3G] Size: 7168
[3G] Header value: 1 Packet numbers: 57; -58 Checksum value: 6B Generated checksum: 6B Checksum correct[3G] Size: 7296
[3G] Header value: 1 Packet numbers: 58; -59 Checksum value: 27 Generated checksum: 27 Checksum correct[3G] Size: 7424
[3G] Header value: 1 Packet numbers: 59; -60 Checksum value: 9F Generated checksum: 9F Checksum correct[3G] Size: 7552
[3G] Header value: 1 Packet numbers: 60; -61 Checksum value: E7 Generated checksum: E7 Checksum correct[3G] Size: 7680
[3G] Header value: 1 Packet numbers: 61; -62 Checksum value: 98 Generated checksum: 98 Checksum correct[3G] Size: 7808
[3G] Header value: 1 Packet numbers: 62; -63 Checksum value: 14 Generated checksum: 14 Checksum correct[3G] Size: 7936
[3G] Header value: 1 Packet numbers: 63; -64 Checksum value: 14 Generated checksum: 14 Checksum correct[3G] Size: 8064
[3G] Header value: 1 Packet numbers: 64; -65 Checksum value: 15 Generated checksum: 15 Checksum correct[3G] Size: 8192
[3G] Header value: 1 Packet numbers: 65; -66 Checksum value: 83 Generated checksum: 83 Checksum correct[3G] Size: 8320
[3G] Header value: 1 Packet numbers: 66; -67 Checksum value: E1 Generated checksum: E1 Checksum correct[3G] Size: 8448
[3G] Header value: 1 Packet numbers: 67; -68 Checksum value: 41 Generated checksum: 41 Checksum correct[3G] Size: 8576
[3G] Header value: 1 Packet numbers: 68; -69 Checksum value: 58 Generated checksum: 58 Checksum correct[3G] Size: 8704
[3G] Header value: 1 Packet numbers: 69; -70 Checksum value: 1E Generated checksum: 1E Checksum correct[3G] Size: 8832
[3G] Header value: 1 Packet numbers: 70; -71 Checksum value: 9F Generated checksum: 9F Checksum correct[3G] Size: 8960
[3G] Header value: 1 Packet numbers: 71; -72 Checksum value: 0A Generated checksum: 0A Checksum correct[3G] Size: 9088
[3G] Header value: 1 Packet numbers: 72; -73 Checksum value: E6 Generated checksum: E6 Checksum correct[3G] Size: 9216
[3G] Header value: 1 Packet numbers: 73; -74 Checksum value: EB Generated checksum: EB Checksum correct[3G] Size: 9344
[3G] Header value: 1 Packet numbers: 74; -75 Checksum value: A7 Generated checksum: A7 Checksum correct[3G] Size: 9472
[3G] Header value: 1 Packet numbers: 75; -76 Checksum value: 29 Generated checksum: 29 Checksum correct[3G] Size: 9600
[3G] Header value: 1 Packet numbers: 76; -77 Checksum value: 03 Generated checksum: 03 Checksum correct[3G] Size: 9728
[3G] Header value: 1 Packet numbers: 77; -78 Checksum value: 89 Generated checksum: 89 Checksum correct[3G] Size: 9856
[3G] Header value: 1 Packet numbers: 78; -79 Checksum value: 54 Generated checksum: 54 Checksum correct[3G] Size: 9984
[3G] Header value: 1 Packet numbers: 79; -80 Checksum value: 71 Generated checksum: 71 Checksum correct[3G] Size: 10112
[3G] Header value: 1 Packet numbers: 80; -81 Checksum value: 2D Generated checksum: 2D Checksum correct[3G] Size: 10240
[3G] Header value: 1 Packet numbers: 81; -82 Checksum value: 1A Generated checksum: 1A Checksum correct[3G] Size: 10368
[3G] Header value: 1 Packet numbers: 82; -83 Checksum value: 13 Generated checksum: 13 Checksum correct[3G] Size: 10496
[3G] Header value: 1 Packet numbers: 83; -84 Checksum value: 73 Generated checksum: 73 Checksum correct[3G] Size: 10624
[3G] Header value: 1 Packet numbers: 84; -85 Checksum value: E4 Generated checksum: E4 Checksum correct[3G] Size: 10752
[3G] Header value: 1 Packet numbers: 85; -86 Checksum value: 03 Generated checksum: 03 Checksum correct[3G] Size: 10880
[3G] Header value: 1 Packet numbers: 86; -87 Checksum value: 04 Generated checksum: 04 Checksum correct[3G] Size: 11008
[3G] Header value: 1 Packet numbers: 87; -88 Checksum value: D2 Generated checksum: D2 Checksum correct[3G] Size: 11136
[3G] Header value: 1 Packet numbers: 88; -89 Checksum value: D2 Generated checksum: D2 Checksum correct[3G] Size: 11264
[3G] Header value: 1 Packet numbers: 89; -90 Checksum value: 30 Generated checksum: 30 Checksum correct[3G] Size: 11392
[3G] Header value: 1 Packet numbers: 90; -91 Checksum value: 8F Generated checksum: 8F Checksum correct[3G] Size: 11520
[3G] Header value: 1 Packet numbers: 91; -92 Checksum value: C4 Generated checksum: C4 Checksum correct[3G] Size: 11648
[3G] Header value: 1 Packet numbers: 92; -93 Checksum value: 27 Generated checksum: 27 Checksum correct[3G] Size: 11776
[3G] Header value: 1 Packet numbers: 93; -94 Checksum value: B1 Generated checksum: B1 Checksum correct[3G] Size: 11904
[3G] Header value: 1 Packet numbers: 94; -95 Checksum value: C5 Generated checksum: C5 Checksum correct[3G] Size: 12032
[3G] Header value: 1 Packet numbers: 95; -96 Checksum value: F5 Generated checksum: F5 Checksum correct[3G] Size: 12160
[3G] Header value: 1 Packet numbers: 96; -97 Checksum value: 5C Generated checksum: 5C Checksum correct[3G] Size: 12288
[3G] Header value: 1 Packet numbers: 97; -98 Checksum value: 8D Generated checksum: 8D Checksum correct[3G] Size: 12416
[3G] Header value: 1 Packet numbers: 98; -99 Checksum value: F1 Generated checksum: F1 Checksum correct[3G] Size: 12544
[3G] Header value: 1 Packet numbers: 99; -100 Checksum value: B0 Generated checksum: B0 Checksum correct[3G] Size: 12672
[3G] Header value: 1 Packet numbers: 100; -101 Checksum value: CA Generated checksum: CA Checksum correct[3G] Size: 12800
[3G] Header value: 1 Packet numbers: 101; -102 Checksum value: 73 Generated checksum: 73 Checksum correct[3G] Size: 12928
[3G] Header value: 1 Packet numbers: 102; -103 Checksum value: 0A Generated checksum: 0A Checksum correct[3G] Size: 13056
[3G] Header value: 1 Packet numbers: 103; -104 Checksum value: 9D Generated checksum: 9D Checksum correct[3G] Size: 13184
[3G] Header value: 1 Packet numbers: 104; -105 Checksum value: FB Generated checksum: FB Checksum correct[3G] Size: 13312
[3G] Header value: 1 Packet numbers: 105; -106 Checksum value: FD Generated checksum: FD Checksum correct[3G] Size: 13440
[3G] Header value: 1 Packet numbers: 106; -107 Checksum value: DE Generated checksum: DE Checksum correct[3G] Size: 13568
[3G] Header value: 1 Packet numbers: 107; -108 Checksum value: AA Generated checksum: AA Checksum correct[3G] Size: 13696
[3G] Header value: 1 Packet numbers: 108; -109 Checksum value: BF Generated checksum: BF Checksum correct[3G] Size: 13824
[3G] Header value: 1 Packet numbers: 109; -110 Checksum value: 96 Generated checksum: 96 Checksum correct[3G] Size: 13952
[3G] Header value: 1 Packet numbers: 110; -111 Checksum value: FC Generated checksum: FC Checksum correct[3G] Size: 14080
[3G] Header value: 1 Packet numbers: 111; -112 Checksum value: C9 Generated checksum: C9 Checksum correct[3G] Size: 14208
[3G] Header value: 1 Packet numbers: 112; -113 Checksum value: C7 Generated checksum: C7 Checksum correct[3G] Size: 14336
[3G] Header value: 1 Packet numbers: 113; -114 Checksum value: 8C Generated checksum: 8C Checksum correct[3G] Size: 14464
[3G] Header value: 1 Packet numbers: 114; -115 Checksum value: 59 Generated checksum: 59 Checksum correct[3G] Size: 14592
[3G] Header value: 1 Packet numbers: 115; -116 Checksum value: B3 Generated checksum: B3 Checksum correct[3G] Size: 14720
[3G] Header value: 1 Packet numbers: 116; -117 Checksum value: A0 Generated checksum: A0 Checksum correct[3G] Size: 14848
[3G] Header value: 1 Packet numbers: 117; -118 Checksum value: 7D Generated checksum: 7D Checksum correct[3G] Size: 14976
[3G] Header value: 1 Packet numbers: 118; -119 Checksum value: 66 Generated checksum: 66 Checksum correct[3G] Size: 15104
[3G] Header value: 1 Packet numbers: 119; -120 Checksum value: 9A Generated checksum: 9A Checksum correct[3G] Size: 15232
[3G] Header value: 1 Packet numbers: 120; -121 Checksum value: DB Generated checksum: DB Checksum correct[3G] Size: 15360
[3G] Header value: 1 Packet numbers: 121; -122 Checksum value: 17 Generated checksum: 17 Checksum correct[3G] Size: 15488
[3G] Header value: 1 Packet numbers: 122; -123 Checksum value: 59 Generated checksum: 59 Checksum correct[3G] Size: 15616
[3G] Header value: 1 Packet numbers: 123; -124 Checksum value: 75 Generated checksum: 75 Checksum correct[3G] Size: 15744
[3G] Header value: 1 Packet numbers: 124; -125 Checksum value: 96 Generated checksum: 96 Checksum correct[3G] Size: 15872
[3G] Header value: 1 Packet numbers: 125; -126 Checksum value: 09 Generated checksum: 09 Checksum correct[3G] Size: 16000
[3G] Header value: 1 Packet numbers: 126; -127 Checksum value: 0B Generated checksum: 0B Checksum correct[3G] Size: 16128
[3G] Header value: 1 Packet numbers: 127; -128 Checksum value: 8C Generated checksum: 8C Checksum correct[3G] Size: 16256
[3G] Header value: 1 Packet numbers: -128; 127 Checksum value: 71 Generated checksum: 71 Checksum correct[3G] Size: 16384
[3G] Header value: 1 Packet numbers: -127; 126 Checksum value: 4F Generated checksum: 4F Checksum correct[3G] Size: 16512
[3G] Header value: 1 Packet numbers: -126; 125 Checksum value: 23 Generated checksum: 23 Checksum correct[3G] Size: 16640
[3G] Header value: 1 Packet numbers: -125; 124 Checksum value: CC Generated checksum: CC Checksum correct[3G] Size: 16768
[3G] Header value: 1 Packet numbers: -124; 123 Checksum value: 1D Generated checksum: 1D Checksum correct[3G] Size: 16896
[3G] Header value: 1 Packet numbers: -123; 122 Checksum value: BF Generated checksum: BF Checksum correct[3G] Size: 17024
[3G] Header value: 1 Packet numbers: -122; 121 Checksum value: 01 Generated checksum: 01 Checksum correct[3G] Size: 17152
[3G] Header value: 1 Packet numbers: -121; 120 Checksum value: B5 Generated checksum: B5 Checksum correct[3G] Size: 17280
[3G] Header value: 1 Packet numbers: -120; 119 Checksum value: CD Generated checksum: CD Checksum correct[3G] Size: 17408
[3G] Header value: 1 Packet numbers: -119; 118 Checksum value: FE Generated checksum: FE Checksum correct[3G] Size: 17536
[3G] Header value: 1 Packet numbers: -118; 117 Checksum value: 57 Generated checksum: 57 Checksum correct[3G] Size: 17664
[3G] Header value: 1 Packet numbers: -117; 116 Checksum value: D4 Generated checksum: D4 Checksum correct[3G] Size: 17792
[3G] Header value: 1 Packet numbers: -116; 115 Checksum value: CD Generated checksum: CD Checksum correct[3G] Size: 17920
[3G] Header value: 1 Packet numbers: -115; 114 Checksum value: 1E Generated checksum: 1E Checksum correct[3G] Size: 18048
[3G] Header value: 1 Packet numbers: -114; 113 Checksum value: 55 Generated checksum: 55 Checksum correct[3G] Size: 18176
[3G] Header value: 1 Packet numbers: -113; 112 Checksum value: C4 Generated checksum: C4 Checksum correct[3G] Size: 18304
[3G] Header value: 1 Packet numbers: -112; 111 Checksum value: 37 Generated checksum: 37 Checksum correct[3G] Size: 18432
[3G] Header value: 1 Packet numbers: -111; 110 Checksum value: 0C Generated checksum: 0C Checksum correct[3G] Size: 18560
[3G] Header value: 1 Packet numbers: -110; 109 Checksum value: E1 Generated checksum: E1 Checksum correct[3G] Size: 18688
[3G] Header value: 1 Packet numbers: -109; 108 Checksum value: 4E Generated checksum: 4E Checksum correct[3G] Size: 18816
[3G] Header value: 1 Packet numbers: -108; 107 Checksum value: BA Generated checksum: BA Checksum correct[3G] Size: 18944
[3G] Header value: 1 Packet numbers: -107; 106 Checksum value: 5C Generated checksum: 5C Checksum correct[3G] Size: 19072
[3G] Header value: 1 Packet numbers: -106; 105 Checksum value: C2 Generated checksum: C2 Checksum correct[3G] Size: 19200
[3G] Header value: 1 Packet numbers: -105; 104 Checksum value: 2B Generated checksum: 2B Checksum correct[3G] Size: 19328
[3G] Header value: 1 Packet numbers: -104; 103 Checksum value: 20 Generated checksum: 20 Checksum correct[3G] Size: 19448
[3G] *******************************
[3G] Header value: 4 Packet numbers: 0; -1 Checksum value: FF[3G] EOF
[3G] Send command with 2 answers: AT+FSDEL=AGTECHG
[3G] Answer: 1
E#
REPROGRAMMING ERROR
Program version: 30
[3G] Debug mode 1
[3G] Module status: 0

Firmware's not update.

Re: OTA 3G REPROGRAMMING ERROR

Posted: Tue May 08, 2018 11:10 am
by libelium-dev
Hi,

Is your ftp passive or active? Could you share with us the UPGRADE.TXT file and binary file in order to try to replicate the issue in our site? You can share a public link from dropbox or google drive with the files

Also, could you try to perform OTA with this files?
libelium_files/OTA_files.zip

Regards