Giter Site home page Giter Site logo

USB device not found. about nand_programmer HOT 14 CLOSED

bbogush avatar bbogush commented on August 12, 2024
USB device not found.

from nand_programmer.

Comments (14)

bbogush avatar bbogush commented on August 12, 2024

Hi repairman0908,
Do you have "USB init...done" and "CDC init..done" in the console log? If yes then USB initialization is done and probably you need driver for Windows. I will look for it and share a bit later.
In general the programmer should work out of the box on Ubuntu.

from nand_programmer.

repairman0908 avatar repairman0908 commented on August 12, 2024

Hello,bbogush,
Thank you for your reply!The following information is displayed only at power on or reset:
NAND programmer ver: 2.1.0
JTAG init...done.
LED init...done.
My circuit runs on the breadboard.

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

I can reproduce the same issue in 2 cases:

  1. The driver is not installed. In this case you should see "STMMicroelectronics Virtual COM port" in Windows "Device Manager" as "Unknown device". I added official driver from STM to release folder https://drive.google.com/drive/u/0/folders/1VHw-djlLal3cvaylapG-oUkLmzuEQM77
  2. USB HW issue. The power connection is ok but no D+ & D-. You should check connection of mentioned lines from USB connector to MCU, also pull-up of D+ to 3.3V over 1.5R.

from nand_programmer.

repairman0908 avatar repairman0908 commented on August 12, 2024

Hi ,bbogush,
My board is working! : )
I can read the chip ID.
But i received a error Msg : "programmer send error :104" (when erase the chip.)

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

Hi,
Glad to hear you resolved USB issue.
The 104 error on erase means that programmer fails to read bad blocks from a NAND chip. Could you please provide more details about your setup?
In particular:

  • Which NAND chip are you using? Is it K9F2G08U0C?
  • Which OS the program is running on? Is it Linux or Windows?

from nand_programmer.

repairman0908 avatar repairman0908 commented on August 12, 2024

Hi,bbogush,
Thank you for your patience.
1, the chip is K9F1G08U0E.
2, The OS is Debian9 on virtual machine.
Do you have a windows program?

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

K9F1G08U0E is compatible with K9F2G08U0C which I've tested. So only "Size" should be adjusted in "Settings"->"Chip database" to 134217728 (128MB). Anyway the error is not related to this.
I am not sure it works on virtual machine thereby better to check with normal OS. Currently there no version for Windows but I am working to provide it in the next release.
Usually the error 104 indicate HW issue. I would double check connection from MCU to NAND chip with multimeter according to schematic (test for continuity).
If you are using TSOP-48 socket it may be source of errors because it does not always provide reliable connection. A NAND chip should be clean and adjusted properly in socket.

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

Hi,
You can try initial version for Windows https://drive.google.com/drive/u/0/folders/1VHw-djlLal3cvaylapG-oUkLmzuEQM77. Windows 7/8 requires installation of driver. Also correct COM port need to be set in "Settings"->"Programmer".

from nand_programmer.

repairman0908 avatar repairman0908 commented on August 12, 2024

Hi,
Sorry, I am late. Your windows version of the software is very good!I made a copy of your programmer,The 2.3 version of the software is very very good, Hardware and software is running very well。I am making a programmer to repair my router.But it still doesn't work,The flash of the router is f59l1g81ma-25t, The data read out is all "0xFF",(K9F1G08U0E is good.)I need a CFE file inside the chip.
Another way is to recompile a firmware, but I don't know how to compile it.Do you know how to compile? This is the link https://github.com/shsum/T3200M/tree/master/bcm963xx_router.The router model is NETGAER V7610.
Your efficiency is very high, Thank you very much!

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

Hi,
There are some pre-compiled binaries of CFE bootloader https://github.com/shsum/T3200M/tree/master/bcm963xx_router/targets/cfe. I am not sure which one is suitable for the router flash, maybe cfe63138rom.bin.
It looks the package contains only open source code so no guarantee it is compilable and run without proprietary part. I have tried as follows and it failed at some stage:

mkdir ~/dev
cd ~/dev/
git clone https://github.com/shsum/T3200M.git
sudo ln -s /home/<user>/dev/T3200M/toolchains /opt/toolchains
sudo ln -s /home/<user>/dev/T3200M/bcm963xx_router /opt/bcm963xx_router
 sudo apt-get install liblzo2-dev uuid-dev
cd ~/dev/T3200M/bcm963xx_router
make --trace PROFILE=963138BGW SHELL=/bin/bash

from nand_programmer.

repairman0908 avatar repairman0908 commented on August 12, 2024

Hi,
Thank you for your help, I have tried all the CFE, they can not start my router.
There is also source code on the Netgear website. I don't know what is different. herehttps://www.downloads.netgear.com/files/GDC/2649_GPLv1.html Ctrl+f search v7610 can be found it.
Thank you very much!

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

Hi,
There is open source package for V7610. The previous T3200M package was for different router based on the same Broadcom platform. It can be compiled similar to T3200M
"make PROFILE=V7610_TR181 SHELL=/bin/bash" but it also has compilation issues. Even if compiled I think it will not be functional because of missing proprietary code. There are also binaries for cfe you can try. You should have serial console connected to the router to see they work.
Also one of the methods is to clone flash from the same router.

from nand_programmer.

repairman0908 avatar repairman0908 commented on August 12, 2024

Hi,
Thanks for your advice. I used a serial console, but no information was printed. Because I can't find the same router, I just thought of compiling the source code. Anyway, thank you very much for your help.

from nand_programmer.

bbogush avatar bbogush commented on August 12, 2024

As no other issues with the programmer I am closing it. If you have any other questions, please feel free to ask.

from nand_programmer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.