Página 7 de 9 PrimerPrimer ... 56789 ÚltimoÚltimo
Resultados 61 al 70 de 82

Tema: cambiar mapas centralita con tempomat

  1. #61
    Senior Member

    Nº de Usuario: 44793
    Fecha de Ingreso
    29-jul-2015
    Ubicación
    sevilla
    Mensajes
    665
    Coche
    Seat leon fr 150cv 2003
    Gracias
    287
    Agradecido 33 veces en 30 mensajes.

    Predeterminado

    Si a alguno le interesa que me diga por privado.

  2. Los Siguientes 2 Usuarios Agradecieron a manuel_sxgt por Este Mensaje:

    dewasha (14/11/2019), zx10 (14/06/2019)

  3. #62
    Senior Member
    Avatar de Serggy
    Nº de Usuario: 29059
    Fecha de Ingreso
    17-may-2014
    Ubicación
    NARNIA
    Mensajes
    3,216
    Coche
    Cupra 6kg/cv
    Gracias
    85
    Agradecido 1,009 veces en 824 mensajes.

    Predeterminado

    No hace falta soldar nada en la ecu.
    En estas caracolas solo se escucharan tsunamis
    I don't care what it was designed to do. I care about what it can do

  4. #63
    Senior Member
    Avatar de Whitsnak
    Nº de Usuario: 20450
    Fecha de Ingreso
    05-jun-2013
    Ubicación
    Euskadi
    Mensajes
    9,314
    Coche
    Passat Variant Highline 3B6 1.9 130cv AVF
    Gracias
    987
    Agradecido 2,178 veces en 1,894 mensajes.

    Predeterminado

    Cita Iniciado por BWF87 Ver Mensaje
    Actualmente los multimapas se pueden hacer por OBD, sin abrir la ECU. En edc15 edc16 edc17.
    Con tempomat, con combinacion de pedales.. Etc.

    Lo unico hay que saberlo programar bien.

    Enviado desde mi MI 9 mediante Tapatalk
    BWF87, sabías que la estructura, lo que es el hexdump de mi coche es diferente a cualquier otro edc15?
    En mi coche no se podía poner multimap pero un conocido parece ser que consiguió reestructurar los mapas para hacerlo funcional como las demás edc15 cotidianas para poder crear el multimap?, yo flipando, lo desconocía en absoluto
    No respondo a mensajes privados temas relacionados a mecánica. Utiliza el foro.

  5. #64
    Senior Member
    Avatar de BWF87
    Nº de Usuario: 37466
    Fecha de Ingreso
    06-ene-2015
    Ubicación
    Cataluña
    Mensajes
    453
    Coche
    Seat Cupra mk3 300cv (stage 1 motor, stage 3 DSG)
    Gracias
    46
    Agradecido 132 veces en 115 mensajes.

    Predeterminado

    Cita Iniciado por Whitsnak Ver Mensaje
    BWF87, sabías que la estructura, lo que es el hexdump de mi coche es diferente a cualquier otro edc15?
    En mi coche no se podía poner multimap pero un conocido parece ser que consiguió reestructurar los mapas para hacerlo funcional como las demás edc15 cotidianas para poder crear el multimap?, yo flipando, lo desconocía en absoluto
    Ea verdad cuando lo miramos, solo tenias un coding, te habra puesto una actualizacion de una ecu con dos codings, con edc15 ea facil q la lectura por obd es lectura completa.

    Cuando me refiero a multimap es cambiar de mapa usando los pedales o teclas de tempomat, se puede en todas las ecus, ni que solo tengan un coding


    Enviado desde mi MI 9 mediante Tapatalk

  6. #65
    Member
    Avatar de goyodesanctis
    Nº de Usuario: 10791
    Fecha de Ingreso
    04-nov-2011
    Ubicación
    Murcia
    Mensajes
    78
    Coche
    Seat León 1.9 TDI 150 CV Sport FR
    Gracias
    6
    Agradecido 3 veces en 3 mensajes.

    Predeterminado

    Si alguien necesita algo, como creador para que otros lo vendan como tal,en cualquier versión edc15 de cualquier motor que me lo diga,o le mando otra base actualizada con todo corregido y ya que lo haga si quiere para el día de mañana. Saludos!!!

    Enviado desde mi Aquaris_A4.5 mediante Tapatalk

  7. El Siguiente Usuario Agradeció a goyodesanctis Por Este Mensaje:

    dewasha (14/11/2019)

  8. #66
    Senior Member
    Avatar de zx10
    Nº de Usuario: 750
    Fecha de Ingreso
    16-oct-2008
    Ubicación
    cerca de A Coruña
    Mensajes
    6,587
    Coche
    Skoda Fabia 1.9 TDI 101 (ATD) Seat Ibiza SC 1.9 TDI 101 (BLS) Audi A2 1.6 FSI ( BAD)
    Gracias
    953
    Agradecido 2,014 veces en 1,619 mensajes.

    Predeterminado

    Cita Iniciado por Serggy Ver Mensaje
    No hace falta soldar nada en la ecu.
    Alguien que comente como se puede hacer...?
    Gracias

    Enviado desde mi Aquaris V mediante Tapatalk
    La buena ortografía me atrae textualmente

  9. #67
    Senior Member

    Nº de Usuario: 14225
    Fecha de Ingreso
    19-may-2012
    Ubicación
    Almeria
    Mensajes
    2,342
    Coche
    seat leon 2 2.0 tdi 140cv
    Gracias
    322
    Agradecido 689 veces en 632 mensajes.

    Predeterminado

    Y en las edc16 se podría? Que habría que hacer?

  10. #68
    Senior Member
    Avatar de BWF87
    Nº de Usuario: 37466
    Fecha de Ingreso
    06-ene-2015
    Ubicación
    Cataluña
    Mensajes
    453
    Coche
    Seat Cupra mk3 300cv (stage 1 motor, stage 3 DSG)
    Gracias
    46
    Agradecido 132 veces en 115 mensajes.

    Predeterminado

    En las edc16 se puede, y edc17 tambien. Todo por OBD mediante repro.

    Enviado desde mi MI 9 mediante Tapatalk

  11. El Siguiente Usuario Agradeció a BWF87 Por Este Mensaje:

    dewasha (14/11/2019)

  12. #69
    Senior Member
    Avatar de Whitsnak
    Nº de Usuario: 20450
    Fecha de Ingreso
    05-jun-2013
    Ubicación
    Euskadi
    Mensajes
    9,314
    Coche
    Passat Variant Highline 3B6 1.9 130cv AVF
    Gracias
    987
    Agradecido 2,178 veces en 1,894 mensajes.

    Predeterminado

    Cita Iniciado por goyodesanctis Ver Mensaje
    Si alguien necesita algo, como creador para que otros lo vendan como tal,en cualquier versión edc15 de cualquier motor que me lo diga,o le mando otra base actualizada con todo corregido y ya que lo haga si quiere para el día de mañana. Saludos!!!

    Enviado desde mi Aquaris_A4.5 mediante Tapatalk
    Tu también por aqui? venga barra libre para los que hacen repros que tanto nos ha ayudado a los novatos como yo! Jaja
    No respondo a mensajes privados temas relacionados a mecánica. Utiliza el foro.

  13. El Siguiente Usuario Agradeció a Whitsnak Por Este Mensaje:

    goyodesanctis (15/06/2019)

  14. #70
    Senior Member
    Avatar de zx10
    Nº de Usuario: 750
    Fecha de Ingreso
    16-oct-2008
    Ubicación
    cerca de A Coruña
    Mensajes
    6,587
    Coche
    Skoda Fabia 1.9 TDI 101 (ATD) Seat Ibiza SC 1.9 TDI 101 (BLS) Audi A2 1.6 FSI ( BAD)
    Gracias
    953
    Agradecido 2,014 veces en 1,619 mensajes.

    Predeterminado

    Hope this helps anyone, although there doesnt seem to be much interest in this ECU...

    Follow my other post and disable the checksums first.

    1st step is to find how the CANBUS is handled. There is a buffer in RAM in which the messages are stored before they are transmitted.
    On edc15, finding the buffer is easy. Example: Search for sequence of bytes: 0x280 or 0x288 or any other CAN id used by the ecu...
    This will point you to the code which handles canbus:

    Code:
    ROM:00094156 mov r5, #280h
    ROM:0009415A mov CAN_280, r5 ;CAN_280- RAM buffer handling id -0x280
    ROM:0009415E movb rl4, #8
    ROM:00094160 movb byte_C743, rl4
    ROM:00094164 mov r4, #288h
    ROM:00094168 mov CAN_288, r4
    ROM:0009416C movb rl4, #8
    ROM:0009416E movb byte_C74F, rl4
    ROM:00094172 mov r4, #380h
    ROM:00094176 mov CAN_380, r4
    ROM:0009417A movb rl4, #8
    ROM:0009417C movb byte_C75B, rl4
    ROM:00094180 mov r4, #480h


    Now that you've found the CAN buffer, refer to the FR CAN section.
    Below, Ive shown the CANBUS buffer handling id 0x280 in my file.

    Code:
    MEM_EXT:0000C744 CAN_280: ds 2 ; DATA XREF: ROM:0009415Aw
    MEM_EXT:0000C746 byte_C746: ds 1 ; DATA XREF: ROM:000945DCw
    MEM_EXT:0000C746 ; ROM:0009463Ew ...
    MEM_EXT:0000C747 byte_C747: ds 1 ; DATA XREF: ROM:0009468Aw
    MEM_EXT:0000C747 ; ROM:0009475Ew
    MEM_EXT:0000C748 can_nmot_low: ds 1 ; DATA XREF: ROM:0009468Ew
    MEM_EXT:0000C748 ; ROM:00094788w
    MEM_EXT:0000C749 can_nmot_high: ds 1 ; DATA XREF: ROM:00094692w
    MEM_EXT:0000C749 ; ROM:00094790w
    MEM_EXT:0000C74A byte_C74A: ds 1 ; DATA XREF: ROM:00094696w
    MEM_EXT:0000C74A ; ROM:00094814w ...
    MEM_EXT:0000C74B byte_C74B: ds 1 ; DATA XREF: ROM:loc_948A0w
    MEM_EXT:0000C74B ; ROM:000948CAw
    MEM_EXT:0000C74C byte_C74C: ds 1 ; DATA XREF: ROM:00094D2Ew
    MEM_EXT:0000C74C ; ROM:loc_94DB6w
    MEM_EXT:0000C74D byte_C74D: ds 1 ; DATA XREF: ROM:0009469Ew
    MEM_EXT:0000C74D ; ROM:000947E6w
    MEM_EXT:0000C74E byte_C74E: ds 1 ; DATA XREF: ROM:000945C0w
    MEM_EXT:0000C74F byte_C74F: ds 1 ; DATA XREF: ROM:0009416Ew


    To use the rpm gauge for showing the present map(or any other parameter like boost, SOI,etc), you'll have to modify the subroutine writing to bytes 3 and 4 of the CAN id 0x280.

    Code:
    ROM:00094780 calls 9, sub_94002
    ROM:00094784 add r0, #4
    ROM:00094786 mov r9, r4
    ROM:00094788 movb can_nmot_low, rl4
    ROM:0009478C mov r4, r9
    ROM:0009478E ashr r4, #8
    ROM:00094790 movb can_nmot_high, rl4
    ROM:00094794 mov r1, word_C420
    ROM:00094798 add r1, word_C426
    ROM:0009479C cmp r1, word_F962
    ROM:000947A0 jmpr cc_SGE, loc_947A6
    ROM:000947A2 mov r9, r1
    ROM:000947A4 jmpr cc_UC, loc_947AA


    r4 contains the actual RPM. We will modify this vaue to whatever we want; to show the map selected in our case.
    I inserted my call at 94784, to my routine. Its upto you to decide where to insert this call, but make sure you dont change the original logic.

    Next step is to take inputs like clutch, brake or cruise control.
    This can also be inferenced from the CAN buffer.
    example: id 0x280, byte 0, bit 4 is B_kuppl(clutch pedal).
    Find the code which writes to this bit, and you will find B_kuppl

    Code:
    ROM:00094EBC movb rl4, word_C49A+1
    ROM:00094EC0 jmpr cc_NZ, loc_94ED0
    ROM:00094EC2 mov r4, word_14D6
    ROM:00094EC6 movb rl5, [r4]
    ROM:00094EC8 jmpr cc_NZ, loc_94ED0
    ROM:00094ECA movb rl4, #8
    ROM:00094ECC orb byte_C746, rl4


    As seen in above code, 0xC94B contains the status of the clutch pedal. But this is not the global variable. I suppose, this is a temporary RAM address to which the clutch switch status is copied when this subroutine starts(so that as long as the subroutine is still being executed, any change in the clutch status will not be updated. Otherwise, it's possible that at the start of the subroutine the status of the clutch is different from that when the subroutine ends, resulting in unpredictable behaviour)
    Find the global variable by searching for xrefs to 0xc94b

    Code:
    ROM:0009433E movb rl2, byte_C370
    ROM:00094342 movb word_C49A+1, rl2


    0xc370 is the global variable for B_kuppl.

    Repeat this for other variables you want to use(cruise control status is on id 0x388/0x38A and brake pedals on 0x288)

    Now, for mapswitching, you need to change the DPP's
    Each datablock is referred using DPP0, DPP1 and DPP2. DPP3 is used for CAN.

    datablock 1:
    DPP0- 0x34
    DPP1- 0x35
    DPP2- 0x36

    datablock 2:
    DPP0- 0x38
    DPP1- 0x39
    DPP2- 0x3A

    datablock 3:
    DPP0- 0x3C
    DPP1- 0x3D
    DPP2- 0x3E

    This is the code I use for switching between maps and displaying boost on RPM gauge.

    Code:
    $MOD167 ; Define C167 mode
    $SEGMENTED ; Segemented memory mode
    $CASE ; Symbols case sensitive
    $include (reg167.inc)
    NAME MINIMON
    ASSUME DPP3:system
    StackData0 SECTION DATA SYSSTACK ; Data Section to reserve
    ; Stack-Memory
    DSB 20H ; 32 Byte
    StackData0 ENDS ; End of Dummy-Section
    DriverCode0 SECTION CODE PUBLIC 'CDRIVER'
    DriverProc PROC FAR

    mov r4, 0xc036 ;boost
    shl r4,#2
    movb rl1,0xc370 ;b_kuppl
    jnb r1.0, needle
    movb rl1,0xc379 ;cc_cancel toggle button
    jnb r1.0, xyz
    movb rl1,#1
    movb 0xc76e,rl1 ;cc_off debounce
    jmpr cc_uc, needle
    xyz:
    movb rl1,0xc76e
    jmpr cc_z, needle
    movb rl1,#0
    movb 0xc76e,rl1
    movb rl1,0xc76f ;delay counter
    jmpr cc_nz, dpp
    movb rl1,#0x7f ; initialize delay counter so that r4 isnt updated by the ECU for atleast ~ 40ms * 0x7F= 5080ms ~ 5sec
    movb 0xc76f,rl1
    jmpr cc_uc, needle

    dpp:
    cmp dpp0,#0x3c
    jmpr cc_eq, dppl
    mov dpp0,#0x3c
    mov dpp1,#0x3d
    mov dpp2,#0x3e
    jmpr cc_uc,needle

    dppl:
    mov dpp0,#0x34
    mov dpp1,#0x35
    mov dpp2,#0x36

    needle:
    mov rl1,0xc76f
    jmpr cc_z,end1
    subb rl1,#1
    mov 0xc76f,rl1
    cmp dpp0,#0x3c
    jmpr cc_ne, n1
    mov r4,#0x2ee0
    jmpr cc_uc, end1
    n1:
    mov r4,#0x3e80
    end1:
    add r0,#4
    mov r9,r4
    rets


    DriverProc ENDP
    DriverCode0 ENDS
    END




    Enviado desde mi Aquaris V mediante Tapatalk
    Última edición por zx10; 15/06/2019 a las 19:15
    La buena ortografía me atrae textualmente

Página 7 de 9 PrimerPrimer ... 56789 ÚltimoÚltimo

Permisos de Publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •