-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion tangnano flash programming #32
Comments
Hi, |
Hi, |
I've updated repository. Flash programming for GW1N-1 is now supported. But to do this I've used an external JTAG probe. I need to improve ch552g workaround... |
Perhaps it is much better to fix issue in ch552 side? |
It's true, but the question is to know if this issue is due to something wrong in my code or in the ch552 firmware (I haven't able to find an ft2232C based eval board to test). The issue is quite simple: after a small serie of transactions |
I'm tempted to capture the JTAG TDI signal with a signal analyzer and compare how the GoWin Programmer does it with openFPGALoader, if you think that might help finding out what's missing? |
Again: openFPGALoader is perfectly able to deal with flash for all supported models (and I assume for others too). If flash programming is not working with the tang nano it's because there is something wrong with transaction between openFPGALoader and the ch552 firmware. In fact I have one tang nano with a jumper to disable the onboard interface (and to allows using an external probe) and I'm perfectly able to write bitstream into internal flash. |
|
I read somewhere that the RAM should be cleared before writing to flash, such that it doesn't run anything while writing. Don't know if you already tried or openFPGALoader already does it? |
to dump usb traffic: wireshark is THE tool to use. I have a (uggly) piece of python code to analyse MPSSE sequence to display each transaction |
I can send you a Tang Nano if you want it? |
Thanks but I have a working tang nano and I have bought some ch552 breakout board to be able to do some tests without FPGA or with another FPGAs. |
May I ask, are there any instruction on how to flash a nano tang with an ch552 externally ? I am also one of the lucky ones :) updated ch552 firmware, built and used latest master branch of openFPGALoader, made sure that the cable argument is set to ch552_jtag, all with no luck, always going to 100% and then reporting a checksum error
Even tried switching to a Windows machine, but not even the GoWin EDA can write to it.... In short, I much more prefer to have a botched up tangnano with a pico jtag hanging on it's side with flash programming working, than only an sram option. If no instructions exist, I will just have to attach something on the flash and program it without any power connected to the tangnano board usb and make a PR for your repo webpage in order to help anyone else. |
Hi
I have with success programed my tang nano with your tool, both:
and
Give a successful (volatile) flash
However (as stated) the -f option does not work (yet) and I would like to hear if you have plans for implementing the -f (flash) programming option any time soon for the GW1N-1 chip ?
Reason is that I cannot get the GOWIN linux version of the programmer to work on the tang nano (kde neon 18.04).
The text was updated successfully, but these errors were encountered: