Renesas SH7055 - reading and programming via Piasini
Register
Results 1 to 12 of 12
  1. #1
    Senior Member
    Holtek's Avatar
    Join Date
    Jan 2010
    Location
    Poland
    Posts
    289
    Thanks Thanks Given 
    47
    Thanks Thanks Received 
    347
    Thanked in
    58 Posts

    Default Renesas SH7055 - reading and programming via Piasini

    Hi

    I have a PCB with Renesas SH7055 processor. This is not ECU from car. On the board are placed holes programming to which I connected Piasini according to the figure:
    Then I read Flash with success . The problem came when I wanted to write FLASH. According to the documentation Piasini should do two bridges. Connect the pins 16, 2, 19, but where? To which I have to connect the processor pins 16, 2, 19, and where to do bridges?
    Attached Images Attached Images

  2. #2
    DK Veteran

    Join Date
    Dec 2009
    Posts
    2,204
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    879
    Thanked in
    532 Posts

    Default

    Guess you need to measure that out on an ecu for comparison.

    Looking at the datasheet it is related to FWE pin andd MDx pins for setting the right mode.

    Programming/Erasing Execution To program or erase, the FWE pin must be brought high and user program mode must be
    entered.



  3. #3
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    Hello, i have the same situation. Volvo S60 AT with HD64F7055F40 (the same as SH7055). The problem is that i can read it but don't know how to write it. All the pins (FWE, MDx) are in positive position - 1. I found the datasheet where is written that there is "user program mode" if all pins are positive (see attachments). As i have only one chance i want to be sure how to write it. So, what pins should i bridge to write this chip properly?
    Thanks in advance,
    All the best
    Attached Images Attached Images

  4. #4
    Senior Member
    Holtek's Avatar
    Join Date
    Jan 2010
    Location
    Poland
    Posts
    289
    Thanks Thanks Given 
    47
    Thanks Thanks Received 
    347
    Thanked in
    58 Posts

    Default

    This file helped me solve the problem
    Attached Files Attached Files

  5. The Following 3 Users Say Thank You to Holtek For This Useful Post:

    ALBERTO_ (5th August, 2021), Darek90 (21st January, 2017), eprst (20th January, 2017)

  6. #5
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    I don't have pins Pxxx on my PCB. Could you explain how it helps? Where should i connect GRND? "toggle P407 at 125Hz at TTL levels (to keep WDT happy)" - how did you use it?
    Thanks in advance,
    Regards

  7. #6
    Senior Member
    Holtek's Avatar
    Join Date
    Jan 2010
    Location
    Poland
    Posts
    289
    Thanks Thanks Given 
    47
    Thanks Thanks Received 
    347
    Thanked in
    58 Posts

    Default

    Reading and writing SH7055 by Renesas Flash Development Toolkit:

    RST - pin 58 - to VCC via 1k and during start short to ground for a while
    MD0 - pin 59 - to VCC
    FWE - pin 56 - to VCC
    MD1 - pin 55 - to GND
    MD2 - pin 50 - to VCC
    CS3 - pin 44 - to VCC
    SCK2 - pin 164 - clock 125Hz from generator
    TX1D - pin 165 - to TXD FTDI
    RX1D - pin 166 - to RXD FTDI
    10MHz quartz

    Best regards from Poland

  8. The Following 5 Users Say Thank You to Holtek For This Useful Post:

    diagtula (4th October, 2019), DSAuto (8th May, 2020), eprst (23rd January, 2017), makeu4u (9th April, 2017), teamtuner (21st January, 2017)

  9. #7
    Newbie
    Join Date
    Aug 2016
    Posts
    13
    Thanks Thanks Given 
    4
    Thanks Thanks Received 
    4
    Thanked in
    3 Posts

    Default

    Quote Originally Posted by Holtek View Post
    Reading and writing SH7055 by Renesas Flash Development Toolkit:

    RST - pin 58 - to VCC via 1k and during start short to ground for a while
    MD0 - pin 59 - to VCC
    FWE - pin 56 - to VCC
    MD1 - pin 55 - to GND
    MD2 - pin 50 - to VCC
    CS3 - pin 44 - to VCC
    SCK2 - pin 164 - clock 125Hz from generator
    TX1D - pin 165 - to TXD FTDI
    RX1D - pin 166 - to RXD FTDI
    10MHz quartz

    Best regards from Poland
    Hi brother !
    I tried but I could not found P405 to P413 point in mainboard . Here is the picture of my mainboard . Hopefully you can help me read and write this ECU
    https://1drv.ms/i/s!AoLE0w8hGfMnoH79z7mOiUoHJblA
    https://1drv.ms/i/s!AoLE0w8hGfMnoH8v8CZ6D_xv_whX
    Thanks you

  10. #8
    Newbie
    Join Date
    Aug 2016
    Posts
    13
    Thanks Thanks Given 
    4
    Thanks Thanks Received 
    4
    Thanked in
    3 Posts

    Default

    You mean we can read and write the chip directly from the pins right?
    IMG_3237.jpg
    p405 (pink) is VCC
    p407 (purple) is the 150 hz 555 timer signal
    p409 (orange) is TX
    p411 (yellow) is RX
    p413 (black) is ground.. this also goes to one side of the capacitor as shown.

    So now we connect diect to the pins as you say
    RST - pin 58 - to VCC via 1k and during start short to ground for a while
    MD0 - pin 59 - to VCC
    FWE - pin 56 - to VCC
    MD1 - pin 55 - to GND
    MD2 - pin 50 - to VCC
    CS3 - pin 44 - to VCC
    SCK2 - pin 164 - clock 125Hz from generator
    TX1D - pin 165 - to TXD FTDI
    RX1D - pin 166 - to RXD FTDI
    10MHz quartz
    can you make sure
    p405 is what PIns number?
    1 more question . can you make usb same PDF file and sell for me . if ok please inbox me for your price. thanks brother
    IMG_3257.jpg

  11. #9
    Senior Member
    Holtek's Avatar
    Join Date
    Jan 2010
    Location
    Poland
    Posts
    289
    Thanks Thanks Given 
    47
    Thanks Thanks Received 
    347
    Thanked in
    58 Posts

    Default

    I do not know your ECU from Subaru. I had a problem with the programming of the processor, which was installed in another device. All signals connected it directly to the pads processor. It worked. Therefore, shared his knowledge, he himself had learned. P405 - VCC - Locate on the board capacitor C416, around the processor that filters the supply voltage. On it will be + is VCC and GND is -.

  12. The Following User Says Thank You to Holtek For This Useful Post:

    vietdiesel (21st January, 2017)

  13. #10
    Member

    Join Date
    Apr 2015
    Posts
    65
    Thanks Thanks Given 
    4
    Thanks Thanks Received 
    13
    Thanked in
    11 Posts

    Default

    pin 1 and pin 20 ? can be changed ?

  14. #11
    DK Veteran
    roth18's Avatar
    Join Date
    Dec 2009
    Location
    US
    Posts
    526
    Thanks Thanks Given 
    116
    Thanks Thanks Received 
    100
    Thanked in
    71 Posts

    Default

    Quote Originally Posted by sanyagans View Post
    pin 1 and pin 20 ? can be changed ?
    pin 20 is GND and pin 1 Vcc, he made a mistake
    Best Regards, Roth.

  15. #12
    DK Veteran

    Join Date
    Oct 2018
    Location
    egypt
    Posts
    427
    Thanks Thanks Given 
    132
    Thanks Thanks Received 
    206
    Thanked in
    104 Posts

    Default

    so no way to do it with piasini and must be with renesas flash development toolkit ? ... on an ecu included with piasini manuals performed with success and measured to know pin id's but with another not included i cann't
    wbr.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.