IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
francescogiglione
Posts: 6
Joined: Mon Jun 29, 2020 6:13 am

IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Post by francescogiglione »

Hi everybody!! Greetings from italy!!
I Just started working on FREEMATICS ONE+MODEL H (BOUGHT IN 2020 ID ORDER 11309)
Downloaded and installed freematics builder (latest version now is 1.3.1)
i loaded firmwarev5, setted clock 80Mhz, upload baudrate 115200,
everything works except gnss
the setup is the following:
Enable obd yes
Enable motion sensor yes
GNSS STANDALONE GNSS
Ext. sensor None
Cell. Net. APN local provider APN (ITALY, Sicily, provider TIM)
Wifi network OK
Wifi SSID wifiid
WifiPasswrd pswrd
Server Host hub.freematics.com
Server Port 0
Transport protocol UDP
Enable PSRAM yes

_______________________
if i choose cellular GNSS, once uploaded the OK check appears but nothing shows up on the hub, if i choose Standalone, the KO red creoo apears in dashboard but nothing shows up in the hub in terms of latitude, longitude, ecc.
everything else works properly (SIM transmists to the hub effortlessly)

OBVIOUSLY I TESTED IN THIS CONDITIONS
1)OPEN AIR
2)LOGGER OVER THE VEHICLE DASHBOARD
3) OBD AND USB CONNECTED

IN BOTH CASES, if i check the console opened on the device port i get this two lines :
E (574) esp_core_dump_flash: No core dump partition found!
E (574) esp_core_dump_flash: No core dump partition found!

P.S. I flashed the same firmware on my other FREEMATICS ONE+MODELB (perfetctly working), and it stopped working at all
I MADE ANOTHER ORDER YESTERDAY, FOR ANOTHER MODEL H . PLEASE HELP ME SOLVE THIS NGHTMARE, thanks in advance
please help me, thank you
francescogiglione
Posts: 6
Joined: Mon Jun 29, 2020 6:13 am

Re: IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Post by francescogiglione »

i worked a lil bit on freematicsPlus.cpp in order to find problems
I commented line 551 and uncommented line 553, since my 2 hardware are with M8 embedded instead of M10.
No positive outcome however.
is it possible that this code lines:

static GPS_DATA gpsData = {0};
// u-blox M10 commands for setting GGA to 5Hz, RMC to 1Hz and disabling NAV_PVT
static const uint8_t gpsSettings[] = {0xB5, 0x62, 0x06, 0x8A, 0x13, 0x00, 0x01, 0x01, 0x00, 0x00, 0xBB, 0x00, 0x91, 0x20, 0x02, 0xAC, 0x00, 0x91, 0x20, 0x0A, 0x07, 0x00, 0x91, 0x20, 0x00, 0x32, 0x74};

Need to be changed as well ??

Thanks in advance
Francesco
francescogiglione
Posts: 6
Joined: Mon Jun 29, 2020 6:13 am

Re: IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Post by francescogiglione »

Unfortunately it does not work with FREEMATICS ONE + MODEL B (older than 2020)
In the beginning (during 2019) I somehow have been capable to let it work, but since i Flashed the latest version of the firmware said above it still does not work. I tried to use firmware related to the commit b39413a https://github.com/stanleyhuangyc/Freem ... 6727423465
but no positive outcome. thanks in advance for your patience and help
francescogiglione
Posts: 6
Joined: Mon Jun 29, 2020 6:13 am

Re: IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Post by francescogiglione »

Also:
1) the strangest thing is that in model H a blue led blinks, while in this model B a red constant light is outputted by the led.
serial output obtained with the following setup:
Enable obd: OK
Enable motion sensor: OK
GNSS: Standalone GNSS
Storage: Micro SD
Ext. sensorns. NONE
Cellular Network APN: (EMPTY) - But it works as well, hologram sim
Wifi Network : (EMPTY)
Wifi SSID: (EMPTY)
Wifi Password: (EMPTY)
Server Host: hub.freematics.com
Server Port : 0
Transport Protocolo UDP
Enable PSRAM: (EMPTY)


It results a Type 12 model.......if it can be useful

thi is the serial output:
CPU:160MHz FLASH:16MB
IRAM:308KB
DEVICE ID:A0HLXXXX
[UART BEGIN]
[UART SEND]ATI

[UART RECV]OBD2USART V1.2


Bee Rx:16 Tx:17
Pin 27 pull up
Pin 27 pull down
TYPE:12
MEMS:NO
HTTPD:
192.168.4.1
[UART SEND]ATGPSON

[UART RECV]OK


[UART SEND]ATGDS00

[UART RECV]?


[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGRR
[UART RECV]No DATA

[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGPSOFF

[UART RECV]
GNSS:NO
[UART SEND]ATZ

[UART RECV]OK

>ELM327 v1.5


[UART SEND]ATE0

[UART RECV]OK


[UART SEND]ATH0

[UART RECV]OK


[UART SEND]010D

[UART RECV]UNABLE TO CONNECT


[UART SEND]010D

[UART RECV]UNABLE TO CONNECT


OBD:NO
E (324) esp_core_dump_flash: No core dump partition found!
E (324) esp_core_dump_flash: No core dump partition found!
E (328) psram: PSRAM ID read error: 0xffffffff
CPU:160MHz FLASH:16MB
IRAM:308KB
DEVICE ID:A0HLXXXX
[UART BEGIN]
[UART SEND]ATI

[UART RECV]OBD2USART V1.2


Bee Rx:16 Tx:17
Pin 27 pull up
Pin 27 pull down
TYPE:12
MEMS:NO
HTTPD:
192.168.4.1
[UART SEND]ATGPSON

[UART RECV]OK


[UART SEND]ATGDS00

[UART RECV]?


[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGRR

[UART RECV]No DATA

[UART SEND]ATGRR

[UART RECV]No DATA
stanley
Site Admin
Posts: 1034
Joined: Sat Mar 01, 2014 3:15 am

Re: IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Post by stanley »

For prior 2020 devices, please keep using the older code that worked for you.
francescogiglione
Posts: 6
Joined: Mon Jun 29, 2020 6:13 am

Re: IMPOSSIBLE TO SET GNSS WORKING MODEL B AND H

Post by francescogiglione »

unfortunately it is not so helpful your reply, since i changed computer and all my previous setup has been deleted. Please, if possible provide more precise infos. PLEASE
Post Reply