Failing to programing V850ES/JG3 with UART

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sojke
    Senior Member
    • Apr 2017
    • 131
    • Serbia

    #1

    Failing to programing V850ES/JG3 with UART

    Hello , I am having problems sending code that was given to me, in binary format, to this microcomputer via UART0.
    I have connected UART0 directly to my UART USB interface onto header of FTDI232 USB adapter , and the microcomputer responds to some given instructions, like erase, blank check, checksum, read (dumps perfectly valid HEX file that corresponds to given BIN file when converted, exactly the same data in original from chi and spare file), but it wont program. - I have been given an BIN file to work with, but either way an read HEX file wont program either.

    When it fails writing I have to reset the micro computer and the visual led diode clearly shows when it failed, the microcomputer simply never responds again. Depending on the file I try it always fails at the same spot.
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30951
    • Albion

    #2
    Re: Failing to programing V850ES/JG3 with UART

    have you got a datasheet to share?
    if it's an ARM cpu you may have to erase any sector protection before you can program it.

    Comment

    • Sojke
      Senior Member
      • Apr 2017
      • 131
      • Serbia

      #3
      Re: Failing to programing V850ES/JG3 with UART

      Yes, this is the datasheet.
      I have tried complete erase and block erase but it always fails. I am not sure why, as when it reads the chip it reads the complete thing, from start to finish, correctly. When the read file is compared to the one I am about to program it is identical.
      The reason why I am trying to program a new chip is because the in-circuit one has been damaged by lightning and has no function on certain pins (0ohm ground within the chip).
      I have only used chips, salvaged from other boards with different damage on each board, to work with.
      Attached Files
      Last edited by Sojke; 06-29-2019, 12:07 AM.

      Comment

      • SMDFlea
        Super Moderator
        • Jan 2018
        • 20464
        • UK

        #4
        Re: Failing to programing V850ES/JG3 with UART

        Have you read the programming notes:
        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

        Comment

        • stj
          Great Sage 齊天大聖
          • Dec 2009
          • 30951
          • Albion

          #5
          Re: Failing to programing V850ES/JG3 with UART

          what about the 2 flash-control pins?
          one must be grounded and the other toggled to enable writing.

          Comment

          • truclacicr
            Badcaps Veteran
            • Apr 2019
            • 292
            • australia

            #6
            Re: Failing to programing V850ES/JG3 with UART

            Don't you need to erase the uC before reprogramming it? If you can't erase it, then what's the point of trying to write to it?

            Have you checked the status of the security bit?
            Last edited by truclacicr; 06-30-2019, 03:00 AM. Reason: extra info

            Comment

            • Sojke
              Senior Member
              • Apr 2017
              • 131
              • Serbia

              #7
              Re: Failing to programing V850ES/JG3 with UART

              Sorry for misleading information, erase always completes with blank check confirmation.
              The chip erases, blank checks, reads and status reports. Also has some security bit exists , this is it:

              ------ Start(Signature Read) ------
              Device name: UPD70FXXXX
              Device data: 10 7F 04 EC 7F
              Security Flag: 007F
              Boot Block Number: 01F
              Firmware Version: 1.11
              Signature Read PASS
              ------ End(Signature Read) ------

              The flash control pins were set as FLMD0 to Ground via 10kohm like in schematic and FLMD1 to VCC via direct wire connection.

              I have read flash programming notes, thanks for the snippet, they are also present in the complete manual I linked.


              - EDIT -

              From what I see from all this, 007F corresponds to binary 1111111 meaning that every possible security feature was enabled on this chip (which is kinda weird knowing that I managed to read it). I believe now this is where my problem is at (thanks truclacicr).
              Last edited by Sojke; 06-30-2019, 01:03 PM.

              Comment

              Related Topics

              Collapse

              • Forest79
                Lenovo ThinkStation P520 BIOS file needed
                by Forest79
                Hello,

                I got a Lenovo ThinkStation P520 (Type 30BF) from a friend, asking me for a repair. Windows 11 offered a firmware upgrade as an optional update, and it failed.
                The emergency flash procedure from the hardware manual has also failed. So, I asked an acquaintance with better skills to flash the BIOS directly.

                However, the chip (a Macronix MX25L25673GMI-08G) has a size of 32 MB, and the BIOS file from the Lenovo website (extracted with UEFITool) has a little more than 16 MB. Thus, the software my acquaintance used (SiberiaProg v1.45, with a CH341A Programmer)...
                07-23-2023, 07:39 AM
              • iZakre
                HP Pavilion 15 bc400ns - Complete Black Screen - Only video on live usb
                by iZakre
                Hello everybody!

                To put you in context I recently replaced the battery from my HP Pavilion 15 bc400ns with a used one, everything was going good. The same day, I decided to update the BIOS, everything went good. The thing occurred after I let the battery drain iddling on Windows 11 for the second time to calibrate it that the screen did not turn on again, the computer was on but the screen did not turn, like it would not wake from hibernation. I decided to restart the computer but got no video.

                The thing is that I had installed TeamViewer and could log into the computer...
                02-19-2023, 02:27 PM
              • hazem3636
                need Bios Bin file Dell server 220
                by hazem3636
                hi everyone

                i need dump file for dell server r220
                i have download Flash BIOS executable file but i dont know how to conver it to Bin file

                i have check on youtube there is some programs are doing this method of creating Bin file from ExE file .


                if anyone has this method please need his supporting .

                all the best

                EXE file is attched and Original Bin file from the Bios Chip is attached also

                and dell website "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=mrxv...
                11-05-2022, 06:20 AM
              • Sebastian Codrean
                BIOS file for ASUS F542UN laptop
                by Sebastian Codrean
                Hello to all of you! I need help with a BIOS file.
                The BIOS chip is fried on my Asus F542UN laptop, and I bought a new chip that needs programming. I have a CH341a programmer but I need a .bin BIOS file. On Asus support page the firmware has another extension, .310 and from reading on this forum I understand that that file is not complete BIOS.
                So, in short I need the "complete" BIOS .bin file to flash on the new chip. Another issue is that on back of the case the label says F542UN but on the sticker on the motherboard it's X542UN.
                02-20-2025, 10:25 AM
              • maanee11
                Help to get Lenovo BIOS bin file for Thinkpad T560
                by maanee11
                Hello Everyone,

                I have Thinkpad T560 Which has corrupted BIOS. I have acquired Ch341A SPI flasher to program the BIOS externally. I see that to program the BIOS, i need a bin file for the BIOS. I was able to extract the .exe file of BIOS from Lenovo given here in this link:

                https://pcsupport.lenovo.com/au/en/p...me=BIOS%2FUEFI

                In the extracted files, I see that BIOS containing file has extension .FL1 and I need to extract or convert it...
                05-15-2022, 11:59 AM
              • Loading...
              • No more items.
              Working...