author

zsccat

7
Inbox View Profile
3Instructables77,190Views23Comments

Tell us about yourself!

Achievements

10K+ Views Earned a bronze medal
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Sorry babooim82,I don't quite understand what do you mean for "the test result of 24c256"

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    No problems. I am really happy this can help you.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi,I have a quick look at your datasheet and this may be related. Your chip has a write enable command and you need to send this command before you can write. You even need to send this command if you want to read the write status.I cannot remember what command I have sent before write or I did not send any command at all. Let me check the source code. If I did not send any command, I may modify the source code to send it before write operations. I will get back to you later.

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi,Eash chip may has its own timing requirement.For example, for ATMEGA8.You can check the datasheet and search Parallel Programming. You should be able to find required information in the "Enter Programming Mode section.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi Francis,It is so good to hear that you have got it working properly now. Unfortunately, I don't have much time to do so many translations at the moment. (Maybe in the future once I can have some time) Moreover, USBIOX.dll is just a wrapper for native DLLs and does not have any logic inside. (The comments comes from the WCH C library) It should not impact your understanding of the code logics.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi Francis,I have never got that Exception before. However, you may try the following and test again. Change your windows default language to English instead of French and try again. You can change it back once you have tested. This can help to test whether it is related to the charset you are using or not.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi Francis,I have run out of ideas. I have never got this error before. I think you may need to download the source code, run it in debug mode and see what is the actual exception.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi Francis,Would you mind post a screenshot of the exception you have got?

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi Francis,I think you have not get your driver installed correctly. There are 2 drivers for CH341A, one is the SER mode which you can use it as a USB-TTL adaptor; the other one is EPP mode which is the programmer use. You may had download the SER driver instead of the EPP one.V1.0 does not include programmer detection and it may not report correctly. Mine is having the same VID/PID as yours, once you have got the correct driver installed, you will see it from the device manager as the screenshot below.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Hi Microrusfy,I don't have any 24C256 chips and the code is programmed based on the datasheet. I had not test the code on a 24C256. The only 24 series chip I have is 24C02 and that one is tested. I have checked the source code and the the 2 byte address chip's address may not get calculated correctly. The version 1.01 has been updated with a fix. Please have a try and let me know how it goes as I cannot test it. I will order some 24C256 from Aliexpress to test out but it will take some time to arrive. Good luck mate.

    You may also try this version (with 24LC256 in its name) which will write byte by byte instead of by page. Make sure choose 24C256_1 and this option will force the programmer to write byte by byte rather than page by page.

    View Instructable »
  • zsccat commented on zsccat's instructable CH341A Programmer
    CH341A Programmer

    Thanks for your suggestion. I will look into it when I have time.

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi RobotBlack,As your HVPP module is broken, you will need to be careful when applying fuses. HVPP suppose to be the last hope to recover a chip. Good luck and happy making!

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi RobotBlack,Can you read the chip ID out? Does the ID read out match the correct one?I do have a few dead chips and all of them cannot read the correct ID out or the ID read out did not match the correct one.Sure, please check your wiring as well. Make sure all these wires are connected as per in the program. The parallel programming use a lot of chip legs. If any of them are wrong, it will not work. Anyway, check the chip ID first. If you can read the correct ID out, it means you have got the chip connected correctly.

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi RobotBlack,You may need to earse the chip before you can program it again. Please try to click on the "Earse Chip" button on the UI, then reconnect to the chip and try to program it again.

    View Instructable »
  • zsccat's instructable CH341A Programmer's weekly stats:
    • CH341A Programmer
      102 views
      0 favorites
      0 comments
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi Pamod,Normally you should use the ISP to program your ATMEL micro-controllers as it is quicker and easier to use. However, if your chip is locked or you have set the wrong fuse, you will not be able to connect to the chip and cannot program it anymore. If that happens, you will need to use HVPP (High Voltage Parallel Programming) to rescue your chip. HVPP allow you to connect to your chip and program it no matter what settings have been set.This is based on the ATMEL datasheet, you will need to process a few steps to enter the HVPP mode. One step is to apply 12V to RST pin. If you don't do that, it will not enter the HVPP mode. Your micro-controller did not use power from RST pin and you will still need to supply 5V to its VCC pins.

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi Mario0603,There should not be much difference from my experience. Download the datasheet first (http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-8160-8-bit-avr-microcontroller-atmega64a-datasheet.pdf), from page 394, it should all pinouts for the parallel programming and all command you will need to send. I did not check it carefully, but if there are any differences, you may change the source code to get it working. I will check it later once I have time and I will update the source code to support it if required.

    View Instructable »
  • zsccat commented on zsccat's instructable AVR HVPP Configurator
    AVR HVPP Configurator

    Hi fefcas,I have updated sketch to match the schematics. Thanks again to find out that mistake I have made.

    View Instructable »
  • zsccat's instructable AVR HVPP Configurator's weekly stats:
    • AVR HVPP Configurator
      74 views
      1 favorites
      1 comments
  • zsccat followed tools, audio, usb, raspberry-pi and 9 others channel