Announcement

Collapse
No announcement yet.

CH341a SPI / I²C programmer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • thiagottjv
    replied
    Re: CH341a SPI / I²C programmer

    Hi, does anyone have the programmer version 1.31 or up?
    I`m trying to use it with a mx25u12873f (its a 1.8v chip) without success.
    It reads, but when I verify it says:
    "Chip Main Memory with the contents are in disagreement"
    Or when I try to detect it says:
    "Access violation at address 0097EA42. Read of address 0097EA42."

    Does anyone could give me any light?

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by stj View Post
    what is the pin spacing you need (in mm) ??
    comon sizes are 2.54 and 2.00
    Give me a few days and I'll tell ya. We're swamped right now. Never went to bed till 4:30 last night and right back to work.

    Blah!

    Leave a comment:


  • stj
    replied
    Re: CH341a SPI / I²C programmer

    what is the pin spacing you need (in mm) ??
    comon sizes are 2.54 and 2.00

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by mockingbird View Post
    That's a good point... Indeed, the SB Live connector is a much shorter connector. But I think you should be ok since the crimp end of the Dupont connector probably goes all the way down to the pin hole.
    The ones Stj linked me too appear to the be the same ones I have, and the connector does NOT go all the way down to the pin hole. I got mine off SparkFun, and then a bunch off eBay, and I think AliExpress. I got I think like 500 different types, male to male, male to female, female to female, etc. I use them when I need to access a JTAG port. Gotta learn a lot more about JTAG and OpenOCD and GDB.

    I can dump RAM if OpenOCD supports it, and flash, if it supports it, but that's about it, and there's soooo many options, I think I'm gonna need to learn JTAG and OpenOCD and GDB real well if my business is going to succeed.

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by stj View Post
    if it's the same pin spacing as usb headers then it's dupont connectors.
    https://www.banggood.com/search/dupont-kit.html
    The dupont connectors appear to be what I already have and are just too tall and wide to fit these little buggers.

    They work with other normal pins, about the length of the male dupont connector, but they don't do so well with these little guys.

    Man, they're short, really short, the pins I mean.

    Leave a comment:


  • mockingbird
    replied
    Re: CH341a SPI / I²C programmer

    That's a good point... Indeed, the SB Live connector is a much shorter connector. But I think you should be ok since the crimp end of the Dupont connector probably goes all the way down to the pin hole.

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by mockingbird View Post
    What you want is this:

    http://www.ebay.com/itm/253103766593

    2mm to 2.54mm jumpers. The 2mm end is coupled two a piece, but that ain't a big deal.
    That looks like it might be what I'm looking for. But for the 2mm end, is it for really short pins? Not just close together ones, but really short? Because the boards I've seen with the SPI header, they have really short pins, about half of what I'd consider a normal pin....

    Leave a comment:


  • mockingbird
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by Spork Schivago View Post
    Still wouldn't mind seeing a pic of that beast. Wish I could find a cable like that or some way to make one, like you did. Just cleaned out all my old cables though. Figures, haven't needed them in 10 years, but the day I get rid of them, the very next day, I need them.
    What you want is this:

    http://www.ebay.com/itm/253103766593

    2mm to 2.54mm jumpers. The 2mm end is coupled two a piece, but that ain't a big deal.

    Leave a comment:


  • stj
    replied
    Re: CH341a SPI / I²C programmer

    if it's the same pin spacing as usb headers then it's dupont connectors.
    https://www.banggood.com/search/dupont-kit.html

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by mockingbird View Post
    Remember those old SB Live front panel connectors in Dell machines? I took one and cut it in half. I stripped the wires on each end and then smoothed the connectors so that they could sit flush with eachother, each connector for one row.

    I then worked out the pinout and stuffed the individual wires in my CH341A's zif socket.
    Still wouldn't mind seeing a pic of that beast. Wish I could find a cable like that or some way to make one, like you did. Just cleaned out all my old cables though. Figures, haven't needed them in 10 years, but the day I get rid of them, the very next day, I need them.

    Leave a comment:


  • mockingbird
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by Spork Schivago View Post
    Could you share a pic of your cable there? I've had SPI headers like that and couldn't find the proper wires to connect. Little tiny pins, right? Tiny and short?
    Remember those old SB Live front panel connectors in Dell machines? I took one and cut it in half. I stripped the wires on each end and then smoothed the connectors so that they could sit flush with eachother, each connector for one row.

    I then worked out the pinout and stuffed the individual wires in my CH341A's zif socket.

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by mockingbird View Post
    I just had a case where the CH341A software failed but Flashrom succeeded.

    I had to git clone the unstable flashrom and then compile it (the aptitude package is old).

    The chip is a W25Q128FWSQ on an Asus Prime B350M-A. Would not boot fresh out of the box with a a Ryzen 2200G. With the latest BIOS it works fine.

    SPI header on the board is fine pitch. Had to fashion my own cable.
    Could you share a pic of your cable there? I've had SPI headers like that and couldn't find the proper wires to connect. Little tiny pins, right? Tiny and short?

    Leave a comment:


  • mockingbird
    replied
    Re: CH341a SPI / I²C programmer

    I just had a case where the CH341A software failed but Flashrom succeeded.

    I had to git clone the unstable flashrom and then compile it (the aptitude package is old).

    The chip is a W25Q128FWSQ on an Asus Prime B350M-A. Would not boot fresh out of the box with a a Ryzen 2200G. With the latest BIOS it works fine.

    SPI header on the board is fine pitch. Had to fashion my own cable.

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Both. There's a change log on his website, I can give you the link. I use Google translate. There's various bug fixes for the program itself that are fixed (certain ICs not being written correctly or erased correctly or not verifying correctly, something like that) and new ICs being added to the database.

    Leave a comment:


  • dskall
    replied
    Re: CH341a SPI / I²C programmer

    Does the program itself get updated. Or is it just it just the database?

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    I might have been mistaken. It's in the CH341PCB folder, in the Serial folder, in the accesspv.exe file.

    I think this isn't part of the CH341 Programmer, but some schematic thing I downloaded from the company who make the actual CH341 chips, and provide Linux and Windows Serial / Parallel drivers....

    I just had it in that directory, so I think I messed up with the submission. Unless someone else can verify that v1.31 comes with accesspv.exe

    If I remember, parts of the documents (like the schematics) are password protected, and I think that program has something to do with it. Probably why Norton couldn't clear it, because they couldn't remove the password to see what was hidden in the document. It's an office 97 document.

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    They cleared the newest one, 1.34. But 1.31 they won't clear they said, so it looks like there really is something in 1.31. I can tell you what file exactly gets flagged in 1.31. I did not submit to them 1.13, because I don't have it, and cannot tell if Norton flags it or not.

    Leave a comment:


  • dskall
    replied
    Re: CH341a SPI / I²C programmer

    I have version 1.13. Try to download ver. 1.31 gives me virus alert

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    So, I got tired of downloading the CH341A programming software from the Chinese developer's website and having it flagged as a virus. I was excluding the signature and file, but finally, I decided to submit to Norton.

    I submitted the newest version 1.34, version 1.31, and some Chinese software called Mcgs.

    So the Mcgs stuff they cleared, and that was close to 200MB. Version 1.34 for cleared. They already updated the defs to clear them. But then with v1.31, I just got the message, they cannot clear it for whatever reason. They didn't go into why, but Norton detects part of it as a PasswordRevealer.

    Just thought you'd guys want to know. If you want to know what file is being detected as the password revealer, let me know. It's not the actual programming software, but one of the files in the drivers directory.

    Leave a comment:


  • Spork Schivago
    replied
    Re: CH341a SPI / I²C programmer

    Originally posted by max2306 View Post
    Where did you get de 1.34 software? I looked at the site and my chineese is very bad.
    If you need the latest version (1.34), I can upload the freeware version.

    I have the paid version, it's extremely cheap and you get free updates for life.

    Inside the paid version, there's an exe called ch341afree.exe

    Not sure what other files I'd need to attach. Probably not key.dat I'd think....

    Just fired up the free one, and the About lists it as 1.4. The registered one lists as 1.34. The free one is about half the size as the paid one.

    The free one seems to not have Fill, Swap, Auto, Abort, and doesn't appear to have the Chip Search.

    Also, the paid one appears to have the Main Memory in a tab, like maybe it supports tabs, whereas the free one doesn't.

    For example, maybe with the paid one, I can open two bin files, and view them at the same time. However, I cannot seem to find away to open new tabs. Perhaps this is the start of a new feature for the next version?

    Paid one also has a drop-down menu, which the free version appears to be missing. Let me know.

    Leave a comment:

Working...
X