HL7692 PPP > 115200

Hi,

I have PPP working on an HL7692 but when I crank the baud rate (via AT+IPR) to 230400 it falls over. The connection establishes OK by then I get several Tx retries and the link goes down, indicated by the bold line below. I suspected h/w handshaking was not working but I have configured AT&K3 and AT+KSLEEP=2 and I can see CTS changing. I am using Keil’s USART driver which has h/w flow control enabled. I realize it’s likely to be a problem my end but I am just making sure there is not a known issue with the HL7692 module. Has anyone used PPP at > 115200 baud successfully?

Tx: 7e 21 45 00 00 3c 00 00 00 00 80 11 b6 34 1f 62 3d 3d 6d f9 b9 e4 04 00 00 35 00 28 a0 02 ee af 01 00 00 01 00 00 00 00 00 00 04 73 6d 74 70 05 67 6d 61 69 6c 03 63 6f 6d 00 00 01 00 01 cc e2 7e

Rx: 7e 21 45 00 00 82 89 77 40 00 fc 11 70 76 6d f9 b9 e4 1f 62 3d 3d 00 35 04 00 00 6e 7c e2 ee af 81 80 00 01 00 03 00 00 00 00 04 73 6d 74 70 05 67 6d 61 69 6c 03 63 6f 6d 00 00 01 00 01 c0 0c 00 05 00 01 00 00 00 a0 00 1a 0e 67 6d 61 69 6c 2d 73 6d 74 70 2d 6d 73 61 01 6c 06 67 6f 6f 67 6c 65 c0 17 c0 2c 00 01 00 01 00 00 00 78 00 04 4a 7d 5d ce 6d c0 2c 00 01 00 01 00 00 00 78 00 04 4a 7d 5d ce 6c dd 7b 7e 

Tx: 7e 21 45 00 00 2c 00 01 40 00 80 06 85 41 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 81 24 7e 

Tx: 7e 21 45 00 00 2c 00 02 40 00 80 06 85 40 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 d0 bb 7e 

Tx: 7e 21 45 00 00 2c 00 03 40 00 80 06 85 3f 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 70 d8 7e 

[b]Rx: 0d 0a 2b 43 52 45 47 3a 20 32 0d 0a 0d 0a 2b 43 47 52 45 47 3a 20 32 0d 0a 0d 0a 2b 43 45 52 45 47 3a 20 32 0d 0a [/b]

Tx: 7e 21 45 00 00 2c 00 04 40 00 80 06 85 3e 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 88 64 7e 

Rx: 0d 0a 2b 43 52 45 47 3a 20 31 0d 0a 0d 0a 2b 43 47 52 45 47 3a 20 31 0d 0a 0d 0a 2b 43 45 52 45 47 3a 20 31 0d 0a 

Tx: 7e 21 45 00 00 2c 00 05 40 00 80 06 85 3d 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 c3 ee 7e 

Tx: 7e 21 45 00 00 2c 00 06 40 00 80 06 85 3c 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 92 71 7e 

Rx: 0d 0a 2b 53 49 4d 3a 20 31 0d 0a 0d 0a 2b 4b 53 55 50 3a 20 30 0d 0a 

Tx: 7e 21 45 00 00 2c 00 07 40 00 80 06 85 3b 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 44 f2 7e 

Rx: 0d 0a 2b 50 42 52 45 41 44 59 0d 0a 

Tx: 7e 21 45 00 00 2c 00 08 40 00 80 06 85 3a 1f 62 3d 3d 4a 7d 5d ce 6d 04 00 01 d1 42 9b 93 13 00 00 00 00 60 02 11 1c 36 01 00 00 02 04 05 b4 ee 09 7e

Having investigated this further it appears that during the PPP session running at 230400 baud the HL7692 seems to start sending the following unsolicited results:

+CREG: 2
+CGREG: 2
+CEREG: 2
+CREG: 1
+CGREG :1
+CEGREG :1
+SIM: 1
+KSUP: 0
+PBREADY

It’s like it has reset itself during the PPP session - watchdogged?

Attached is a trace log using the STT tool.This was run on the DevKit (f/w V2.18) at 230400 baud and hopefully offers some clues to why it fails.

Attached is a zip file (password is 1234) containing the trace log using the STT tool.
tracelog-COM11.zip (1.42 MB)

Attached is a zip file (password is 1234) containing the trace file, hopefully with core dump. Note that when the unit appears to reset itself, it is not ready to receive subsequent commands (CTS is in wrong state) so I then have to manually reset it in order to execute AT+EXCEPT.
tracelog-COM11.zip (3.06 MB)

Hi GaryATodd,

Selfrestarts I had running earlier.
Only from version 2.17 this was fixed. Currently I am using 2.18.
Unfortunately, other bugs regarding TCP traffic were not solved.

Ask your dealer for the latest firmware.