Ref.: https://www.swedespeed.com/threads/obd- ... ues.61070/
C0 is said to start the Primary Boot Loader, but it is normally already running when you send commands to it, so I am not sure how useful it is.
A0 starts the uploaded program after setting the start address with 9C.
A8 is of no use I believe.
A8+number of bytes to write is the write command
B4 is checksum, and useful on many controllers, and can be used to read flash one byte at the time when running PBL. (Not CEM)
Vida CEM swapping
-
rkam
- Posts: 102
- Joined: 19 October 2022
- Year and Model: 14473_96090_XC7007
- Location: Norway
- Has thanked: 5 times
- Been thanked: 25 times
My first flash readers used the checksum command which is very slow.
Later I modified SBL files to make the 9C response include 6-bytes of data from the given address.
For experimenting and debugging I have used plain serial. (K-line).
Later I modified SBL files to make the 9C response include 6-bytes of data from the given address.
For experimenting and debugging I have used plain serial. (K-line).
-
rkam
- Posts: 102
- Joined: 19 October 2022
- Year and Model: 14473_96090_XC7007
- Location: Norway
- Has thanked: 5 times
- Been thanked: 25 times
In general.
If you write your own software and run it in any type of controller where there are hardware components routing the serial port of the CPU to a pin on the outside connector, it is often easier to use this for communication and feedback than CAN bus.
Many/Most car controllers have serial port accessible, typically connected for K-line physical protocol.
If you write your own software and run it in any type of controller where there are hardware components routing the serial port of the CPU to a pin on the outside connector, it is often easier to use this for communication and feedback than CAN bus.
Many/Most car controllers have serial port accessible, typically connected for K-line physical protocol.
-
dikidera
- Posts: 1304
- Joined: 15 August 2022
- Year and Model: S60 2005
- Location: Galaxy far far away
- Has thanked: 67 times
- Been thanked: 175 times
I'm getting closer bit by bit(almost literally). When I attempted to execute my code, the chip gets reset perhaps externally from what I observed on the pins. I was told there may be an external watchdog and that must be the case. As soon as I disable that or find the condition on which it reset and satisfy it, it should be smooth sailing from there.
Probing the circuit is difficult because of the protective coating on the PCB to prevent moisture. I managed to remove some parts by using nail polish, but I am unsure if it will cause other problems.
And don't get me started on soldering on the QFP256 chip's pins, small buggers.
Probing the circuit is difficult because of the protective coating on the PCB to prevent moisture. I managed to remove some parts by using nail polish, but I am unsure if it will cause other problems.
And don't get me started on soldering on the QFP256 chip's pins, small buggers.
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
Out of curiosity what cem are you trying to read , decode , decrypt , program , make something for ??dikidera wrote: ↑03 Dec 2022, 14:00 I'm getting closer bit by bit(almost literally). When I attempted to execute my code, the chip gets reset perhaps externally from what I observed on the pins. I was told there may be an external watchdog and that must be the case. As soon as I disable that or find the condition on which it reset and satisfy it, it should be smooth sailing from there.
Probing the circuit is difficult because of the protective coating on the PCB to prevent moisture. I managed to remove some parts by using nail polish, but I am unsure if it will cause other problems.
And don't get me started on soldering on the QFP256 chip's pins, small buggers.
-
dikidera
- Posts: 1304
- Joined: 15 August 2022
- Year and Model: S60 2005
- Location: Galaxy far far away
- Has thanked: 67 times
- Been thanked: 175 times
It's the ECM, I will tackle the CEM as soon as I can modify maps/code on the Denso ECM .oscilloscope wrote: ↑03 Dec 2022, 15:00Out of curiosity what cem are you trying to read , decode , decrypt , program , make something for ??dikidera wrote: ↑03 Dec 2022, 14:00 I'm getting closer bit by bit(almost literally). When I attempted to execute my code, the chip gets reset perhaps externally from what I observed on the pins. I was told there may be an external watchdog and that must be the case. As soon as I disable that or find the condition on which it reset and satisfy it, it should be smooth sailing from there.
Probing the circuit is difficult because of the protective coating on the PCB to prevent moisture. I managed to remove some parts by using nail polish, but I am unsure if it will cause other problems.
And don't get me started on soldering on the QFP256 chip's pins, small buggers.
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
Ahh I see are you trying to dump the eeprom & flash ?dikidera wrote: ↑03 Dec 2022, 15:09It's the ECM, I will tackle the CEM as soon as I can modify maps/code on the Denso ECM .oscilloscope wrote: ↑03 Dec 2022, 15:00Out of curiosity what cem are you trying to read , decode , decrypt , program , make something for ??dikidera wrote: ↑03 Dec 2022, 14:00 I'm getting closer bit by bit(almost literally). When I attempted to execute my code, the chip gets reset perhaps externally from what I observed on the pins. I was told there may be an external watchdog and that must be the case. As soon as I disable that or find the condition on which it reset and satisfy it, it should be smooth sailing from there.
Probing the circuit is difficult because of the protective coating on the PCB to prevent moisture. I managed to remove some parts by using nail polish, but I am unsure if it will cause other problems.
And don't get me started on soldering on the QFP256 chip's pins, small buggers.
-
dikidera
- Posts: 1304
- Joined: 15 August 2022
- Year and Model: S60 2005
- Location: Galaxy far far away
- Has thanked: 67 times
- Been thanked: 175 times
I actually did. Dumping them was easy(the internal on-chip rom and external flash of the ecm) from the Hilton commands. It's writing that is the core issue. You need your own code to run on the IC, but at the same time, satisfy the condition as to not reset the chip.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






