Serial control of the Burn2 and Jaybird

This is where the BIN Hackers and definition junkies discuss the inner workings of the EEC code and hardware. General tuning questions do not go here. Only technical/hardware-specific/code questions and discussions belong here.

Moderators: cgrey8, EDS50, 2Shaker, Jon 94GT

Post Reply
motorhead1991
Regular
Posts: 165
Joined: Tue Nov 21, 2017 2:32 am

Serial control of the Burn2 and Jaybird

Post by motorhead1991 » Thu Jun 13, 2019 1:12 pm

I've read the documentation a handful of times, so I get the gist of it, but there are a couple things I'm stuck on:

This command specifically has me stumped:

Code: Select all

'J'+'R'+n+MMSB+MSB+LSB+CS
J and R are ASCII values, obviously, but no notes are given for 'n', MSB or LSB. MMSB has a note, saying that it should be between 0 and 3, which is what 'n' is in the previous command.

Any clues, hints or tips?
1990 Ford Ranger FLH2 conversion. Ford forged/dished pistons, Total Seal file-fit rings, Clevite rod and main bearings, Clevite cam bearings, IHI turbo, Siemens Deka 60lb/hr injectors, Ford slot MAF in custom 3" housing. Moates Quarterhorse with Binary Editor, using the PAAD6 database.

OpenEEC Telegram Chat:
Telegram

jsa
Tuning Addict
Posts: 698
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Serial control of the Burn2 and Jaybird

Post by jsa » Thu Jun 13, 2019 2:35 pm

EDIT, REREAD PROTOCOL INFO and chaged my opinion.

Most most significant byte, most significant byte, least significant byte and checksum all bundled together in that order.
Last edited by jsa on Thu Jun 13, 2019 3:35 pm, edited 1 time in total.
Cheers

John

95 Escort RS Cosworth - GHAJ0 / ANTI on a COSY box code
Moates QH & BE
ForDiag

motorhead1991
Regular
Posts: 165
Joined: Tue Nov 21, 2017 2:32 am

Re: Serial control of the Burn2 and Jaybird

Post by motorhead1991 » Thu Jun 13, 2019 2:58 pm

jsa wrote:
Thu Jun 13, 2019 2:35 pm
n is the number of bytes of data to follow in the range of 1 to 3.

Most most significant byte, most significant byte, least significant byte and checksum all bundled together in that order. Leaveing out M and MM for n=2 and 1.
And you lost me again :grin:
1990 Ford Ranger FLH2 conversion. Ford forged/dished pistons, Total Seal file-fit rings, Clevite rod and main bearings, Clevite cam bearings, IHI turbo, Siemens Deka 60lb/hr injectors, Ford slot MAF in custom 3" housing. Moates Quarterhorse with Binary Editor, using the PAAD6 database.

OpenEEC Telegram Chat:
Telegram

jsa
Tuning Addict
Posts: 698
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Serial control of the Burn2 and Jaybird

Post by jsa » Thu Jun 13, 2019 3:14 pm

Edit; new interpretation of protocol doc below.
Last edited by jsa on Thu Jun 13, 2019 3:46 pm, edited 1 time in total.
Cheers

John

95 Escort RS Cosworth - GHAJ0 / ANTI on a COSY box code
Moates QH & BE
ForDiag

motorhead1991
Regular
Posts: 165
Joined: Tue Nov 21, 2017 2:32 am

Re: Serial control of the Burn2 and Jaybird

Post by motorhead1991 » Thu Jun 13, 2019 3:21 pm

jsa wrote:
Thu Jun 13, 2019 3:14 pm
Each byte is a hexadecimal number.
N=03
xx xx xx cs
N=02
xx xx cs
N=01
xx cs
I think I see... So I had the command partially correct:

Code: Select all

4a 52 31 33 
J  R  1  3
MSB and LSB are where I get stuck.
1990 Ford Ranger FLH2 conversion. Ford forged/dished pistons, Total Seal file-fit rings, Clevite rod and main bearings, Clevite cam bearings, IHI turbo, Siemens Deka 60lb/hr injectors, Ford slot MAF in custom 3" housing. Moates Quarterhorse with Binary Editor, using the PAAD6 database.

OpenEEC Telegram Chat:
Telegram

jsa
Tuning Addict
Posts: 698
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Serial control of the Burn2 and Jaybird

Post by jsa » Thu Jun 13, 2019 3:43 pm

Hmm plenty of scope for misunderstanding that protocol doc.

MSB and LSB must be a word address of a chosen bank to read from.

Either n or MMSB must be the bank number and inversly MMSB or n must be how many bytes to read.

Edited above posts, let us know which way works.
Cheers

John

95 Escort RS Cosworth - GHAJ0 / ANTI on a COSY box code
Moates QH & BE
ForDiag

jsa
Tuning Addict
Posts: 698
Joined: Sat Nov 23, 2013 7:28 pm
Location: 'straya

Re: Serial control of the Burn2 and Jaybird

Post by jsa » Thu Jun 13, 2019 4:13 pm

I reckon set n as 00, mmsb as 00, msb as 00 and lsb as 00 followed by cs. That should get 256 bytes from the begining of one of the eecv banks.
Cheers

John

95 Escort RS Cosworth - GHAJ0 / ANTI on a COSY box code
Moates QH & BE
ForDiag

sailorbob
BIN Hacker
Posts: 1678
Joined: Tue Jul 12, 2005 6:10 am

Re: Serial control of the Burn2 and Jaybird

Post by sailorbob » Fri Jun 14, 2019 1:29 am

My understanding of it is:

n = number of bytes to read (starting from the address defined by MMSB, MSB, LSB)
MMSB = bank ( 0, 1, 2 or 3)
MSB = high byte of address
LSB = low byte if address

It will probably baulk if you try to read more bytes than there are between the start address and the end of the bank.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest