CarTechnoloGY
Changing adjustblock - Printable Version

+- CarTechnoloGY (https://cartechnology.co.uk)
+-- Forum: Discussions All about Software and Hardware (https://cartechnology.co.uk/forumdisplay.php?fid=310)
+--- Forum: Automotive Help & Discussions / Software and Hardware (https://cartechnology.co.uk/forumdisplay.php?fid=40)
+---- Forum: BMW - Mini - Rolls Royce (https://cartechnology.co.uk/forumdisplay.php?fid=61)
+---- Thread: Changing adjustblock (/showthread.php?tid=59517)

Pages: 1 2 3 4 5 6 7


RE: Changing adjustblock - walkernight88 - 24-01-2023

(24-01-2023, 03:25 AM)RomeyRome Wrote:  
(23-01-2023, 22:15 PM) walkernight88 Wrote:  In the end was a success? Curios as I never tried... Yes, about the G7, it's the bunch of components soldered to the board, using the ublox G7 chip. I can take these days a photo of it under microscope to give you an idea from another HU that I have around.

No yet. No GPS yet. I put a logic analyzer on the gps module, and I'm not seeing any data going in or out.

Are you sure they would be considered different GPS "type" They're just passthrough pins to the LEA size module. I feel like they would share the same GPS config.

But yes, if you can provide a high res image of the populated one, that would be great.

I have a regular NBT, and it's set to GPS 0x01

I don't have a higher res for the moment...


RE: Changing adjustblock - RomeyRome - 24-01-2023

(24-01-2023, 11:36 AM)walkernight88 Wrote:  
(24-01-2023, 10:52 AM)Jartsa Wrote:  If needed I can run adjustblock dump thru hutool adjblock editor and change wanted parameters

We've already passed that point, also reversed engineered the adj block and the checksum calculator. But thank you biggrin

Would you mind changing GPS to 0x02 for me & sending it back? just so I have both options to play with.


RE: Changing adjustblock - walkernight88 - 25-01-2023

(24-01-2023, 20:51 PM) RomeyRome Wrote:  
(24-01-2023, 11:36 AM)walkernight88 Wrote:  
(24-01-2023, 10:52 AM)Jartsa Wrote:  If needed I can run adjustblock dump thru hutool adjblock editor and change wanted parameters

We've already passed that point, also reversed engineered the adj block and the checksum calculator. But thank you biggrin

Would you mind changing GPS to 0x02 for me & sending it back? just so I have both options to play with.



RE: Changing adjustblock - RomeyRome - 25-01-2023

Well, I have one on the board. It's communicating on /dev/ser3, it's outputting something. I can see it on my logic analyzer, and if I send stuff to /dev/ser3, it shows up on the RX pin on the gps module.

ubx output on startup:
Code:
$GPTXT,01,01,02,u-blox ag - www.u-blox.com*50
$GPTXT,01,01,02,HW  UBX-G60xx  00040007 777FFFFFf*45
$GPTXT,01,01,02,EXT CORE 7.03 (67496) Apr  9 2013 13:12:02*47
$GPTXT,01,01,02,ROM BASE 7.03 (45969) Mar 17 2011 16:18:34*57
$GPTXT,01,01,02,MOD LEA-6R-0*37
$GPTXT,01,01,02,DR 6R C0 2.02*72
$GPTXT,01,01,02,ANTSUPERV=AC SD PDoS SR*20
$GPTXT,01,01,02,ANTSTATUS=DONTKNOW*33
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,,,,,V,N*64
$GPTXT,01,01,02,ANTSTATUS=SHORT*6D
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99\xFC\x84

I'm sure a configuration has to be fed to it. Probably /etc/gps_G6_V7_ver20.cfg
dev-navsens command looks interesting. Didn't seem to do much. Saw some activity going out on ser3, but I didn't spend too much time with it yet.

Code:
hu-omap:/etc> use dev-navsens

the %C recource manager provides GPS and sensor data for Navigation.

Call:
dev-navsens [-vvvvv] [-C filename,...] [-G v=..,d=..,r=..] [-S v=..,d=..,r=..] [-t path]


Options:
-v  increase verbosity
-C  GPS config-file
-G  parameter for GPS-Receiver:
   v=.. verbosity level for GPS slog messages
   d=.. device to read GPS raw data (default: /dev/ser2)
   r=.. device for GPS reset (default: /dev/sysregs/GpsReset)
-S  parameter for Sensors (Gyro,Accelerometer):
   v=.. verbosity level
   d=.. device to read sensor raw data (default: /dev/ipc/ipc7)
-t  path to dev-timesync device

Example:
dev-navsens -C /opt/sys/etc/gps_G6_V7_ver20
dev-navsens -C /opt/sys/etc/gps_G6_V7_ver20 -G d=/dev/ser2,r=/dev/sysregs/GpsReset
dev-navsens -C /opt/sys/etc/gps_G6_V7_ver20 -t /dev/timesync


Code:
dev-navsens -C /etc/gps_G6_V7_ver20.cfg  -G d=/dev/ser3,r=/dev/sysregs/GpsReset

Above command sends stuff to ser3 in images attached. Looks like it's sending the .cfg file, after the first line, seems like the baud rate changes (from 9600) and I start getting framing errors in my analyzer. Have to look up what each of the each bits does to the ubx.

Anyway, for another day....


RE: Changing adjustblock - RomeyRome - 26-01-2023

Getting places (pun intended)....

Code:
apiJob("NBTEVO","status_gps_position","","")

Satz : 0
 OBJECT                          = nbtevo
 SAETZE                          = 1
 JOBNAME                         = status_gps_position
 VARIANTE                        = NBTEVO
 JOBSTATUS                       =
 UBATTCURRENT                    = -1
 UBATTHISTORY                    = -1
 IGNITIONCURRENT                 = -1
 IGNITIONHISTORY                 = -1
Satz : 1
 STAT_GPS_POSITION_VALIDITY      = 0                    00  .                    
 STAT_GPS_POSITION_VALIDITY_TEXT = GPS Position ist gueltig
 STAT_GPS_POSITION_LATITUDE      = N <edited out> Grad 50 Min 32 Sek 142 100stel Sek
 STAT_GPS_POSITION_LONGITUDE     = W <edited out> Grad 19 Min 43 Sek 71 100stel Sek
 STAT_GPS_POSITION_HEIGHT        = 103
 JOB_STATUS                      = OKAY
 _REQUEST                        = 3 Bytes
   0000 : 22 D0 39                                           "Ð9
 _RESPONSE                       = 16 Bytes
   0000 : 62 D0 39 00 00 2F 32 20   8E 01 86 13 2B 47 00 67  bÐ9../2   ?.?.+G.g

Works in navi as expected. It's obviously on my bench and I haven't driven around with it.
I put my old eeprom back. It didn't seem to make a difference.

I'll post everything once have have all the details ironed out. Couple of other gps modules I want to try too.


RE: Changing adjustblock - RomeyRome - 28-01-2023

New thread: https://cartechnology.co.uk/showthread.php?tid=74430


RE: Changing adjustblock - sammy3502 - 01-02-2023

(24-01-2023, 11:36 AM)walkernight88 Wrote:  
(24-01-2023, 10:52 AM)Jartsa Wrote:  If needed I can run adjustblock dump thru hutool adjblock editor and change wanted parameters

We've already passed that point, also reversed engineered the adj block and the checksum calculator. But thank you biggrin

Where to get this tool? [Image: speechless.gif]


RE: Changing adjustblock - walkernight88 - 02-02-2023

(01-02-2023, 16:28 PM)sammy3502 Wrote:  
(24-01-2023, 11:36 AM)walkernight88 Wrote:  
(24-01-2023, 10:52 AM)Jartsa Wrote:  If needed I can run adjustblock dump thru hutool adjblock editor and change wanted parameters

We've already passed that point, also reversed engineered the adj block and the checksum calculator. But thank you biggrin

Where to get this tool? [Image: speechless.gif]

I don't think the guy shares it...


RE: Changing adjustblock - NWBMW - 17-07-2023

Can someone check / change my Adjblock to GPS activated? GPS Port seems to be retrofitted but i can't flash.


RE: Changing adjustblock - RuleNormaliai - 17-07-2023

(17-07-2023, 11:29 AM)NWBMW Wrote:  Can someone check / change my Adjblock to GPS activated? GPS Port seems to be retrofitted but i can't flash.

if GPS port installed correctly, it does not affect flashing in any way. also no adjblock editing is needed.