Author Topic: Snap-On automotive scan tool system date not set in flash memory  (Read 3720 times)

0 Members and 1 Guest are viewing this topic.

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Snap-On automotive scan tool system date not set in flash memory
« on: November 06, 2024, 08:32:45 pm »
Let me start by saying snap-on no longer supports this tool so contacting them just gets a sorry we can't help you.  |O

I have a snap-on solus ultra automotive scan tool. The tool has a 3V coin cell battery on the main PCB that died. When this died the date on the tool became set to 01/02/1970. This also made the tool say the software was unregistered so the tool can no longer be used. I replaced the coin cell battery but the date issue still persists. The positive side of the coin cell seems to disappear to know where, and I can not seem to find anything with continuity to it.

What I do know is snap-on could fix this issue by connecting to the tool over the internet through the usb port when it was supported. The tool runs an embedded SMXcf operating system. The operating system is run off a micro SD card. If the micro SD card is removed a GEP utilities screen comes up with some information and says clock not set. This indicated to me that the clock needs set in the flash memory, but I'm just guessing. The tool has a MXIC MX29LV640EBXEI-70G flash chip and Coldfire MCF5232CVM100 processor.

Is there anyway to write the date to the chip? Or Dump the flash and edit it to add the date? This was a $3000 tool 10 years ago, and would still be usable for a very long time if it could be fixed. I'll add some pictures of the tool and main PCB front and back. I can get better pictures of anything iff needed.
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #1 on: November 07, 2024, 07:58:06 am »
The chip that is next to J7 (top right of board, near mcu) is the RTC chip and is programmed via I2c(the pads marked SDA/SCK), if you peal the yellow tape off you will see the chips code, using this we can figure out how to set the date/time via the i2c connecter using a arduino or similar, if the date code is set right it should work, normally i assume the dealer can do this via debug software.


darkspr1te

 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #2 on: November 07, 2024, 08:04:01 am »
from the pictures and layout the rtc might be a ds1307 m if so this arduino lib will help you program it.


https://docs.arduino.cc/libraries/ds1307rtc/
 
The following users thanked this post: Agentfoot

Online mikerj

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: gb
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #3 on: November 07, 2024, 08:43:04 am »
Can you not set the clock through the settings menu?
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #4 on: November 07, 2024, 01:46:35 pm »
You can only set the time in the settings menu. There is no option to set the date.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #5 on: November 07, 2024, 02:03:40 pm »
Thanks for your help. That chip is marked 1371 323A2 + Picture is included. It does receive power from the coin cell battery on the pin opposite of pin 1 (pin 8?). I do not have a Arduino but will purchase one if needed. I do have a raspberry pi 4 if that would work.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #6 on: November 07, 2024, 02:13:11 pm »
Found the data sheet for the chip.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 7205
  • Country: ca
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #7 on: November 07, 2024, 02:18:07 pm »
i used an arduino sketch and a small duino board  on the spi lines to push the clock settings to an similar one  ...

since on the main board you have the sda sck ... lines  almost all the job is already done ....

maybe one trick  would be to hold the main mcu in reset,   push the configs into the clock and try   


since the duino library is posted  ... should be relatively easy,   you may find others  who could push all the configs when you connect
...  or other who need the arduino ide terminal opened and you type the infos and send ....


the link ------>     DS1307RTC/examples/SetTime/SetTime.ino      should do the job perfectly
« Last Edit: November 07, 2024, 02:25:49 pm by coromonadalix »
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #8 on: November 07, 2024, 03:25:03 pm »
I have no experience with Arduino but I'm willing to learn. Which board would be recommended for this?

To make sure I got this right
1. Get Arduino
2. Learn to program Arduino with code from DS1307RTC/examples/SetTime/SetTime.ino
3. Use Arduino to program DS1371 clock
 
Would those be the correct steps? Does that code need modified to the correct date?

Guess I have some learning to do. Any links with relevent information on any of this is appreciated.
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #9 on: November 07, 2024, 03:49:54 pm »
As you have a pi4 then use these links

https://www.instructables.com/DIY-RTC-DS1307-Module-and-use-with-Raspberry-Pi/
https://wiki.seeedstudio.com/Pi_RTC-DS1307/

you will only need SDA/SCL/GND from pi to the chip, i dont know if it will program via coin cell only power so you may need to connect the power , the i2c bus should be accesed only only a few times on boot up then the system would just hang, thats when you should be able to to connect and run the right programs

darkspr1te



 
The following users thanked this post: Agentfoot

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #10 on: November 07, 2024, 04:20:59 pm »
Thank you. I will give it a try.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2519
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #11 on: November 07, 2024, 07:16:31 pm »
Isn't there a way to set the date and time from the menu? Or does that not help?

It's also possible there is a tamper sensor, in which case it needs to go to Snap-On to reactivate.  I'd contact them, Snap-On has very good customer support.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #12 on: November 07, 2024, 07:25:10 pm »
Seems like you skipped reading much of this thread. You can only set the time in the software, no option to set the date. Snap-on is no help since the tool is no longer supported. It seems the date must be written directly to a timer chip on the main PCB.
 

Offline u666sa

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #13 on: November 07, 2024, 08:55:14 pm »
You can only set the time in the settings menu. There is no option to set the date.
Could be a long shot and totally into dark. In that settings menu could you enter 1731012801 into where you set the time?
I mean, perhaps it takes time and date formatted as one number. Nah?
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #14 on: November 07, 2024, 09:03:55 pm »
Can only enter 2 digits in an hour box then 2 digits in the minutes box. So that is not possible.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #15 on: November 07, 2024, 09:52:28 pm »
So I got my Raspberry pi 3 out updated it, turned on I2C in the configuration and did a reboot. I then soldered jumper wires directly to the SDA and SCK pads on the solus ultra. Running the "sudo i2cdetect -y 1" command results in nothing being detected. I have tried with the solus ultra powered on, powered off with battery power, and battery removed powered by the pi 3.3V.

One place mentioned the pi needs a Bi-directional level shifter because I2C bus of Raspberry Pi uses 3.3V, however the chip DS1307 works at 5V. So I looked at the DS1307 and DS1371 data sheets and noticed some differences.

DS1307  Vcc=4.5-5.5V typical 5V   Then pin3 is Vbat for the 3V battery

DS1371 Vcc=1.7-5.5V typical 3.3V Then pin3 is WDS for the watchdog timer.  This chip is powered by the coin cell directly and the tool provides 3V when its on.

So it appears the DS1371 I'm dealing with does not require the 5V. Am I doing something incorrect?
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #16 on: November 08, 2024, 05:28:26 am »
did you enable i2c ?
https://www.mathworks.com/help/matlab/supportpkg/enable-the-i2c-interface-onraspberry-pi-hardware-kernel.html
i would also put a multimeter on the sda /sck lines to see it it changes when you run the i2c detect command.

another mad option is to use this app
https://github.com/superzerg/logic-analyzer
on the pi as well and see if it does pickup data on the i2c bus both when you power up the device and when you run the i2c detect command.

darkspr1te
 
The following users thanked this post: Agentfoot

Online MrAl

  • Super Contributor
  • ***
  • Posts: 1702
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #17 on: November 08, 2024, 05:57:13 am »
Let me start by saying snap-on no longer supports this tool so contacting them just gets a sorry we can't help you.  |O

I have a snap-on solus ultra automotive scan tool. The tool has a 3V coin cell battery on the main PCB that died. When this died the date on the tool became set to 01/02/1970. This also made the tool say the software was unregistered so the tool can no longer be used. I replaced the coin cell battery but the date issue still persists. The positive side of the coin cell seems to disappear to know where, and I can not seem to find anything with continuity to it.

What I do know is snap-on could fix this issue by connecting to the tool over the internet through the usb port when it was supported. The tool runs an embedded SMXcf operating system. The operating system is run off a micro SD card. If the micro SD card is removed a GEP utilities screen comes up with some information and says clock not set. This indicated to me that the clock needs set in the flash memory, but I'm just guessing. The tool has a MXIC MX29LV640EBXEI-70G flash chip and Coldfire MCF5232CVM100 processor.

Is there anyway to write the date to the chip? Or Dump the flash and edit it to add the date? This was a $3000 tool 10 years ago, and would still be usable for a very long time if it could be fixed. I'll add some pictures of the tool and main PCB front and back. I can get better pictures of anything iff needed.

Hi,

I am just curious, how did you come to the conclusion that setting the date would make it work again?
I am not saying you are wrong, just how you figured that out.  Or is that just a guess in a last ditch attempt to get it working again?
I am wondering if the activation code has to be changed or reentered also after a battery change.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #18 on: November 08, 2024, 12:29:33 pm »
I’ve called snap-on and they have confirmed the battery probably died causing the date changed and license issue. They confirmed the battery needs changed and date reset. They just won’t do it anymore since this tool is no longer supported. They say sorry we can’t help that tool is unsupported but a new one.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #19 on: November 08, 2024, 12:44:20 pm »
I did enable i2c. A multi meter did show some activity. I have an automotive oscilloscope I should be able to view the signals on, so I’ll try that. I also ordered a RTC board for the pi so I can verify I can program that. One thing I noticed is my PCB has a SCK pad is this the same as SCL? I understand this should be the clock signal. On the back of the PCB it does have a pad labeled clock out. I’m wondering if my connections are right.

edit: I see SCK and SCL are both names for the clock line. So my connections are right.
« Last Edit: November 08, 2024, 01:57:58 pm by Agentfoot »
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #20 on: November 08, 2024, 02:11:20 pm »
your ground looks very wrong, use the battery ground point for this as we know it goes almost direct to the chip.
i looked up the pinouts for rasp pi,
according to your wire colours green from pi is going to SCL or clock but that pin is SDA, so with bad ground choice and swapped SDA/SCL it wont work, fix those two issues and it should work.

so to confirm,
when looking at the pads with the RTC chip above SDA is on the left and SCL on the right , on the Pi pin 3 is SDA and pin 5 is SCL.

darkspr1te

« Last Edit: November 08, 2024, 02:17:13 pm by darkspr1te »
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #21 on: November 08, 2024, 02:20:23 pm »
see this picture wiring
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #22 on: November 08, 2024, 06:22:01 pm »
Tried today again making sure the wires were correct. Also used the battery ground even though the ground I was using was a direct connection to the battery. Used power from the pi and power from the tool and still couldn't detect the chip.

I also hooked up my Oscilloscope and was able to see activity from the tool and the pi. I will add a pic of what the pi sent out during detection. I was expecting to see the line high at 3V and low at -3V, But the line stayed at 0 and was pulled down to -3. When starting the scan tool I did see both lines go high to probably around 3V for a second.

I get my DS1307RTC for the pi tomorrow and will see if I can program that. If I can't program that then I know I'm doing something wrong. If I can then it must be something with the DS1371 chip that won't work. At that point I may just buy a new DS1371 to see if it will program off the PCB.
 

Online MrAl

  • Super Contributor
  • ***
  • Posts: 1702
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #23 on: November 09, 2024, 08:45:46 am »
I’ve called snap-on and they have confirmed the battery probably died causing the date changed and license issue. They confirmed the battery needs changed and date reset. They just won’t do it anymore since this tool is no longer supported. They say sorry we can’t help that tool is unsupported but a new one.

Yeah these companies are nasty sometimes.  Maybe you can claim the "right to repair" law.  Would have to contact a lawyer.
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #24 on: November 09, 2024, 10:15:02 am »
things you could try,
wait a little while before trying to detect the chip. plug in usb side as tthis may put the cpu into a different mode and bus contention wont be a issue. i think you cant detect it because the cpu is talking to it maybe.


darkspr1te

 

Offline u666sa

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #25 on: November 09, 2024, 10:57:27 am »
I wonder if this is possible? Lift the two pins sor SCL and SDL. Program the RTC. Then solder those pins back?

 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #26 on: November 09, 2024, 05:53:23 pm »
I wonder if this is possible? Lift the two pins sor SCL and SDL. Program the RTC. Then solder those pins back?



Something like this may need to be done. I did order a new 1371 to try to program off the PCB. I figured that should prove if something on the PCB is preventing programing. Will have the new 1371 to try in a few days.
 

Offline u666sa

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #27 on: November 09, 2024, 06:30:21 pm »
You can't try it off PCB. Because it needs PCB to work.
When you do this, microscope, smallest tip you have, smallest T12 will be fine. You can't short things on PCB with your tip, keep in mind. Nor can you short things with your tweezers. Opt for ceramic teezers, or really careful work under microscope.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #28 on: November 09, 2024, 07:11:49 pm »
You can't try it off PCB. Because it needs PCB to work.
When you do this, microscope, smallest tip you have, smallest T12 will be fine. You can't short things on PCB with your tip, keep in mind. Nor can you short things with your tweezers. Opt for ceramic teezers, or really careful work under microscope.

I was confused to why you said off PCB would not work, so I checked the data sheet. I then saw the typical operating circuit does include a crystal between X1 and X2 and a resistor Between Vcc and SQW/INT.

So If I add the crystal and resistor and The raspberry pi provides the 3.3V, ground, SDA, SCL, and pull-up resistors, it should work off the PCB correct?

Edit I also now see there is a connection to the WDS pin also. Can anyone explain what this watchdog timer is or does?
« Last Edit: November 09, 2024, 07:22:52 pm by Agentfoot »
 

Offline u666sa

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #29 on: November 09, 2024, 08:06:11 pm »
it should work off the PCB correct?

What happens when you disconnect the battery? RTC gets reset, correct?
So..
You would have to program it in board, with device off, then solder data lines back and turn on your device.  :horse:
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #30 on: November 09, 2024, 08:26:43 pm »
it should work off the PCB correct?

What happens when you disconnect the battery? RTC gets reset, correct?
So..
You would have to program it in board, with device off, then solder data lines back and turn on your device.  :horse:

I think you misunderstood my thought process. I figured if I could order a new chip and program it off the PCB then it will prove something on the PCB is preventing the onboard chip from being programed. Then I know I may have to lift a pin or do something else for the onboard chip to be programed. I unfortunately do not have a microscope for soldering so lifting a pin for me is not exactly easy. Programming the chip and then soldering it to the PCB was never in my thought process because like you said it won't work.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #31 on: November 09, 2024, 09:41:29 pm »
I found when I remove the micro SD card and boot the tool with no operating system the Raspberry pi does seem to find the chip.


Unfortunately the links darkspr1te mentioned in post #9 seem to be outdated. First link results in "hwclock: cannot access the hardware clock via any known method. The second link used an outdated driver.

Ill see if I can find more current information to get the programming done.

Edit- sorry for the big picture still figuring out how to use the forum.
« Last Edit: November 09, 2024, 09:43:26 pm by Agentfoot »
 

Offline u666sa

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #32 on: November 09, 2024, 09:47:12 pm »
Now you just have to modify it to current date and time, insert SD and reboot.  :box:
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #33 on: November 10, 2024, 03:00:15 am »
Some progress was made. I received my DS1307RTC for the pi and was able to get it programmed and running with these instructions https://pimylifeup.com/raspberry-pi-rtc/.

So with my new knowledge and confidence I connected my scan tool with the DS1371RTC  back up to the pi. Im able to write the date, then read the date. But when the scan tool is restarted I can no longer read the date. It says "hwclock: ioctl9RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument". Then if I write the date again it reads just fine. I tried writing the date then rebooting into the operating system but the date was still invalid.

So it seems I can temporarily write the date to the DS1371 on the tool but something prevents it from saving after a reboot. The coin cell battery is installed when this happens.
 

Offline u666sa

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #34 on: November 10, 2024, 08:18:57 am »
On leg 8 there is 3 volts when scan tool is off and nothing connected to it?

 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #35 on: November 10, 2024, 01:12:59 pm »
On leg 8 there is 3 volts when scan tool is off and nothing connected to it?



Leg 8, Vcc is always powered. It receives power from the battery when the scan tool is off. The tool provides 3.3V when it is on.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #36 on: November 10, 2024, 02:09:41 pm »
It seems the ds1307 and ds1371 count and store time differently. Below is the descriptions. This must explain why I can not program the ds1371 on my tool.


The DS1371 is a real-time clock (RTC) with a I2C serial interface that provides elapsed seconds from a
user-defined starting point in a 32-bit counter (Figure 2). A 24-bit counter can be configured as either a
watchdog counter or as an alarm counter.
The time-of-day counter is a 32-bit up counter. The contents can be read or written by accessing the
address range 00h–03h. When the counter is read, the current time of day is latched into a register, which
is output on the serial data line while the counter continues to increment. Writing to the counter resets the
countdown chain for the time-of-day counter (Figure 2). The watchdog countdown chain is unaffected. If
the square-wave output is enabled and is set to 1Hz, the output resets when the countdown chain is reset.
Because the other square-wave frequencies are derived before the section of the countdown chain that is
reset, the other frequencies are unaffected by a write to the time-of-day counter.

The DS1307 is a low-power clock/calendar with 56 bytes of battery-backed SRAM. The clock/calendar provides
seconds, minutes, hours, day, date, month, and year information. The date at the end of the month is automatically
adjusted for months with fewer than 31 days, including corrections for leap year.The time and calendar information is obtained by reading the appropriate register bytes. Table 2 shows the RTC
registers. The time and calendar are set or initialized by writing the appropriate register bytes. The contents of the
time and calendar registers are in the BCD format. The day-of-week register increments at midnight. Values that
correspond to the day of week are user-defined but must be sequential (i.e., if 1 equals Sunday, then 2 equals
Monday, and so on.) Illogical time and date entries result in undefined operation. Bit 7 of Register 0 is the clock halt
(CH) bit. When this bit is set to 1, the oscillator is disabled. When cleared to 0, the oscillator is enabled. On first
application of power to the device the time and date registers are typically reset to 01/01/00 01 00:00:00
(MM/DD/YY DOW HH:MM:SS). The CH bit in the seconds register will be set to a 1. The clock can be halted
whenever the timekeeping functions are not required, which minimizes current (IBATDR).
The DS1307 can be run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the 12-hour or
24-hour mode-select bit. When high, the 12-hour mode is selected. In the 12-hour mode, bit 5 is the AM/PM bit with
logic high being PM. In the 24-hour mode, bit 5 is the second 10-hour bit (20 to 23 hours). The hours value must be
re-entered whenever the 12/24-hour mode bit is changed.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #37 on: November 15, 2024, 03:35:30 pm »
I was able to set the time on the DS1371 chip and get my scan tool working again. It took loading a custom driver to the raspberry pi to communicate with the DS1371.

Thank you all for your help in learning how to do this!
 

Offline darkspr1te

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: zm
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #38 on: November 17, 2024, 01:24:06 pm »
Well Done matey!.
You should also paste/post here the custom driver and guide to assist others in achieving this.




I know the elation you can feel when you have a situation like this and win.




darkspr1te

 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #39 on: November 24, 2024, 12:17:06 am »
Just found out a custom driver is not needed for this on the raspberry pi. Just load and use the DS1374 driver. The time setting part is the same as the DS1371. There is some differences with the more advanced features though.
 

Offline tazarian

  • Newbie
  • Posts: 6
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #40 on: January 25, 2025, 11:05:59 pm »
how were you able to add that driver im getting an error that i cant use hwclock but got it to read 68 when detecting with i2c
thanks
 

Offline tazarian

  • Newbie
  • Posts: 6
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #41 on: January 25, 2025, 11:10:11 pm »
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #42 on: January 26, 2025, 01:24:52 am »
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.

This will load the driver and set the driver the the correct i2c address. Then you should be able to set time.

Code: [Select]
sudo modprobe rtc-ds1374
echo ds1374 0x68 |sudo tee /sys/class/i2c-adapter/i2c-?/new_device/code]

 

Offline tazarian

  • Newbie
  • Posts: 6
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #43 on: January 26, 2025, 04:29:20 am »
so that installs the driver without getting it off of github?
 

Offline tazarian

  • Newbie
  • Posts: 6
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #44 on: January 26, 2025, 08:00:31 am »
 echo ds1374 0x68 |sudo tee /sys/class/i2c-adapter/i2c-?/new_device
ds1374 0x68
tee: /sys/class/i2c-adapter/i2c-1/new_device: Device or resource busy
tee: /sys/class/i2c-adapter/i2c-2/new_device: Device or resource busy
 

Offline AgentfootTopic starter

  • Contributor
  • Posts: 45
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #45 on: January 26, 2025, 01:36:09 pm »
The driver is already included in linux. The first line loads the driver. The second line sets it to the correct i2c address.

I never saw that error. My guess is the chip is communicating with another chip with is blocking you from communicating. Are you doing this to a solus ultra? If so take out the micro SD card and turn on the scanner. When the scanner shows the insert memory card screen you should be able to communicate with the chip.
 

Offline tazarian

  • Newbie
  • Posts: 6
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #46 on: January 26, 2025, 02:13:05 pm »
yes i have solus ultra thanks
 

Offline tazarian

  • Newbie
  • Posts: 6
  • Country: us
Re: Snap-On automotive scan tool system date not set in flash memory
« Reply #47 on: January 26, 2025, 05:11:56 pm »
got it to finally work i had to just add that to the raspberry pi instead of all the other stuff and then it worked using that driver. thanks again for all your help this thing has been a thorn in my side for years. finally someone got it to work lol. i accidentally pulled battery a long time ago thinking that is what was wrong with it and nope it was just the date the whole time. there was someone on mhh auto that was able to tell me that at least. i was trying to change date with ttl usb adapter and it wouldnt do anything.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf