ISP programming the GCHDMI board

Discussion in 'Modding and Hacking - Consoles and Electronics' started by Bearking, Dec 29, 2017.

  1. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Pin 100 is connected to GND. The 1.2V regulator also properly outputs 1.2V.

    Think it would make any difference if I removed the flash chip and hooked that up to the LCsoft directly?
     
  2. Zeigren

    Zeigren Spirited Member

    Joined:
    Jan 19, 2014
    Messages:
    191
    Likes Received:
    124
    In theory it shouldn't matter if the FPGA is behaving, but it's worth trying at least. Did you check 3.3v? That's what the flash should be using.
     
  3. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Yes, I get 3.330V from the LCsoft :)

    I'll try desoldering the flash chip then.
     
  4. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Got the flash chip connected to the LCsoft. Wires are correct. I've connected pin 3, 7 and 8 to 3.3v as they are on the GCHDMI board.

    Code:
    serial flash not idle! reporting state 0x1c
    Fuck this, I'm done. Thank you everyone who tried to help me, I feel bad that in the end it never worked :(

    I'll probably contact @Bad_Ad84 to take him up on his offer at some point.
     
  5. Zeigren

    Zeigren Spirited Member

    Joined:
    Jan 19, 2014
    Messages:
    191
    Likes Received:
    124
    Yeah something is going on. So your first error 0x05 aka 00000101 would have meant that pin 3 was actually tied to ground, turning on write protection. Your new error 0x1C aka 00011100 means everything is in its default state and it is actually ready and not busy, with write protection off. So it should actually work.

    But I looked over the data sheets again and it looks like the status registers are different. The flash your using uses the 4th bit to indicate if the write protection pin is on or off with a 1 meaning that it is off. On the Micron flash the 4th bit is used in conjunction with the 3rd and 2nd bits to determine which sectors are protected. So unless your software knows the difference between the two flashes it's going to always think that some sectors are protected so it would never actually work.

    Ugh sorry I didn't notice the first time I looked.

    SOOOOOOOOOO I recommend you get this flash instead https://www.digikey.dk/product-deta...evices-usa/FT25H04S-RT/1219-1190-1-ND/5875686
    The FT25H04S-RT by Fremont Micro Devices, it's cheap, it's plentiful, it's an active part. Bonus it doesn't use WP or HOLD (pins 3 and 7) which aren't actually being used in this case anyway, so you don't have to worry about them.

    Looking at the GCHDMI board I'm curious, when you got the 0x05 error was the GCHDMI no longer connected to the Gamecube? All your soldering looked good so I'm trying to figure out how WP was getting tied low.

    Or maybe I'm completely wrong and it wasn't ever actually reading the status register correctly or the software was outputting everything least significant bit to most significant bit instead of the other way around making the error codes backwards.

    TL;DR get the Fremont flash, it shouldn't give you any problems. Or the Macronix MX25V4006EM1I-13 that Citrus3000psi mentions as an untested replacement on the GitHub page. I didn't look at it that much but it looks like it would work as well, but the Fremont part is cheaper in Denmark.

    Or use/modify the software to work with the flash you already have. The FPGA won't care if any of the sectors are protected or not.
     
    Last edited: Feb 14, 2018
    Bearking likes this.
  6. citrus3000psi

    citrus3000psi Housekeeping, you want towel?

    Joined:
    Nov 8, 2013
    Messages:
    1,051
    Likes Received:
    418
    Do you have another flash chip to try? I've had some flash not program before and throw a similar message.
     
    Bearking likes this.
  7. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Yes it's been disconnected from the GameCube every time I've tried flashing it :)

    Well if you're right, then it suddenly makes sense why this flash IC doesn't work at all. I was planning on ordering some stuff from digikey again soon, so I'll add a few, and if they don't flash either, I will mail them to bad_ad :)

    I think this whole thread is pretty good proof that I wouldn't know how to do that :D

    Yes, I tried on two different GCHDMI boards :)
     
  8. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Bought both of them. Only tried the Fremont yet, but it worked first try :)

    Code:
    serial flash in idle state 0x00
    
    Bulk erasing flash checking status...
    status = 00
     done!
    programming code..
    585 pages ...
    programming at  584
    done, verifying...
    page 585 ok
    done!
    Have yet to try soldering it in the GameCube. I'll do that in a bit. I'll probably build a new GCHDMI with the Macronix flash too just to confirm for others that it works too :)

    Next post should show a picture of my GameCube displaying HDMI on my TV if all goes well. Thank you for your help :)
     
    Zeigren likes this.
  9. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    It works! :)

    Pro tip, enable enhanced DVI mode for sound. That confused me a bit :)
    IMG_1044.JPG

    Doesn't work when connected through my Yamaha AVR though, so for the moment I'm running it through this setup XRGB mini (with HDMI passthrough) > HDMI Switch > Yamaha AVR > TV, which works fine.

    EDIT: Works fine though the Yamaha after all. It was just a loose connection in the ribbon cable connector :)
     
    Last edited: Mar 11, 2018
    Zeigren likes this.
  10. Zeigren

    Zeigren Spirited Member

    Joined:
    Jan 19, 2014
    Messages:
    191
    Likes Received:
    124
    Woohoo! Glad it finally works!
     
  11. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Very late update, but both the Fremont and the Macronix flashes just fine.
     
    Helder and Zeigren like this.
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page