-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cannot Flash bitstream #6
Comments
my tang nano 20k is v3921 and it can be successfully flashed with other .fs files |
Could get it to flash with commit fe25ad2, before v0.61 |
Hi!
This is really strange, all .fs are created with same ide version, win64 1.9.9 beta 4, and tried on my tangs. Now that you flashed a previous version, if you try to flash the last one does it fail again?
Thank you for your feedback
Enviado desde mi Alcatel OT511
… El 8 mar 2024, a las 3:27, Chandler Klüser ***@***.***> escribió:
Could get it to flash with commit fe25ad2, before v0.61
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
I have not tried, but I can check it! For now I am more concerned about not getting video output from my board 😅 |
That’s bad, hdmi output should always be on. If you get hdmi signal with black screen it’s either a problem with multiplexer (hct373’s) or unstable firmware.
Enviado desde mi Alcatel OT511
… El 8 mar 2024, a las 23:50, Chandler Klüser ***@***.***> escribió:
I have not tried, but I can check it!
For now I am more concerned about not getting video output from my board 😅
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I believe it is something with the power, when I connect the board into the socket the leds gets lit |
It failed, and worse... even that commit is not flashing anymore and I believe I have bricked the board bootloader somehow, because the last time I have tried I have got a lot of sse errors I will try to get it back to work, although I have another board with me here. Besides, is there any debug info to help troubleshooting? |
Usb plug in tang is in the cheap side (tn9k specially) I have a couple boards difficult to flash, maybe this is similar and your firmware got corrupted during flashing due to bad contact. To prevent firmware from loading, press s1 button, connect usb cable and try to flash a simple firmware like the leds demo (keep s1 pressed during whole process). Once reflashed, jtag pins will be back and board will be responsive, hopefully.
Enviado desde mi Alcatel OT511
… El 12 mar 2024, a las 3:03, Chandler Klüser ***@***.***> escribió:
Now that you flashed a previous version, if you try to flash the last one does it fail again?
It failed, and worse... even that commit is not flashing anymore and I believe I have bricked the board bootloader somehow, because the last time I have tried I have got a lot of sse errors
I will try to get it back to work, although I have another board with me here.
Besides, is there any debug info to help troubleshooting?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I have just saved my tang nano 20k 😄 I have got a black screen by using the 01_Z80_V9958_goauld.fs, is it expected? 😅 |
Unfortunately, it is both common and bad sign. If hardware is ok and you have hdmi signal but black screen, the firmware is running but unstable. Still don’t know the reason, some tangs work and some fail. I’m trying a different fpga vendor to tell wether it’s a software or a hardware problem.
In the meantime, you may try different firmwares and, even better, different tangs.
Enviado desde mi Alcatel OT511
… El 13 mar 2024, a las 23:28, Chandler Klüser ***@***.***> escribió:
To prevent firmware from loading, press s1 button, connect usb cable and try to flash a simple firmware like the leds demo (keep s1 pressed during whole process).
I have just saved my tang nano 20k 😄
I have got a black screen by using the 01_Z80_V9958_goauld.fs, is it expected? 😅
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I have tried with another tang nano 20k and I noticed a diferent pattern of leds, I will order another board and brand new ICs |
Two tangs with black screen is a bit suspicious. Please double check pcb weldings, sockets and be sure to use 74HCT373, not HC.
Enviado desde mi Alcatel OT511
… El 14 mar 2024, a las 21:45, Chandler Klüser ***@***.***> escribió:
I have tried with another tang nano 20k and I noticed a diferent pattern of leds, I will order another board and brand new ICs
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I just have hct with me here, shouldn't they be compatible? EDIT: can a 74HC245 replace 74LVC245? |
HC doesnt work with tang because voltage level for logic 1 is 3.3-0.4= 2.9V aprox. and HC requires 3.15 minimum. HCT works nice with 2.9 V.
0.4 V is voltage drop in goauld diode.
Enviado desde mi Alcatel OT511
… El 18 mar 2024, a las 13:42, Chandler Klüser ***@***.***> escribió:
be sure to use 74HCT373, not HC
I just have hct with me here, shouldn't they be compatible?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
you mean this for 74XX245 or for 74XX373 😅 |
Problem is 74HCT373. This is the latch for the address bus. Tang outputs are 3.3V and this signal is the input of 74HCT373. HC and HCT are compatible when using 5V, but here we are using 3.3V
To summarize, use this:
U3, U4, U5: 74LVC245
U1-U2: 74HCT373
Enviado desde mi Alcatel OT511
… El 18 mar 2024, a las 14:10, Chandler Klüser ***@***.***> escribió:
HC doesnt work with tang because voltage level for logic 1 is 3.3-0.4= 2.9V aprox. and HC requires 3.15 minimum. HCT works nice with 2.9 V.
you mean this for 74XX245 or for 74XX373 😅
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I did some modifications in the design: If you want I can make a PR with the kicad projects with two board revisions I have made, there is nothing special I only changed the IC package. But there is, actaully, a problem... I was able to make it work with my MSX Sharp Hotbit 1.1, but it only worked in MSX1 mode I was able to play some games in my mapper cartridge, but I could not get to work any 9958 versions with my MSX here, are you able to tell me a tip of what kind of problem it can be? Also, I could not get v0.61 to flash in neither of my Tang Nano 20k FPGAs, are you sure the bitstream in the last commit can be flashed into the board? Thanks in advance for your patience and great work!! |
You new pcb is really cool! This is more like it should be, a pcb with the
size of a Z80.
If one firmware works in your board, that's good news, it means your
hardware is OK and the fails are caused by the different firmwares. Problem
is, if the only working is 01_Z80_V9958_goauld.fs, then you are missing
MSX2 bios, so most of the MSX2 software won't work. Aleste should work, at
least the intro.
Regarding version 0.61, no big problems here. I have the usual problems
working with tk20k: connection drops, instabilities from time to time. Same
as other fpga's. Tang 9k is another story, it's really a pain in the ass. I
have to use usb2 (not blue) ports and a usb hub to flash it. Tip: connect
and disconnect tang using the tang (usb-c) connector, not usb-a connector.
https://www.msx.pics/images/2024/03/28/programando2.png
I have four tangs 20k, two goa'uld pcb's and three MSX for tests: Omega,
Toshiba HX-20 and Sony Hitbit HB-75P. With every new version I try all
combinations and they worked fine. But the fact is, nobody has reported
success with firmwares 04, 05. So, this means that something in my system
must be different and it makes things work. About what could it be, I
haven't got a clue.
https://www.msx.pics/images/2024/03/28/puebas.jpeg
…On Thu, Mar 28, 2024 at 4:59 AM Chandler Klüser ***@***.***> wrote:
Update: This time I was able to flash 0.61 version to my TN20k, I have
built from source and flashed the default bitstream and then it worked
(don`t know why that happened).
image.png (view on web)
<https://github.com/jabadiagm/MSXgoauld_tn20k/assets/29960960/368cf7f9-ce77-4571-b497-d5c99c63b89d>
But even using the latest version v9958 is still not working (02, 03, 04
and 05 .fs)
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOYT426VOIJVDIBX5O7YXLY2OIRJAVCNFSM6AAAAABELCABXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGM2TEOBVHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I forgot, you mentioned about having TMS9918 connected. That's the way it is, goa'uld board blocks bus requests (IORQ, MREQ) for external devices (TMS, msx1 bios) when there is an internal device bith bigger priority (V9958, msx2 bios...). That's easy to test: when goa'uld board is in place, you should see no analog video. |
Great, so do you want a PR with the new board? Additionally, how can I make the MSX2+ bios work (the 02 and 03 versions)? |
I'm not familiar with github usage, will a pull request overwrite current pcb? I think it is better to keep both pcb's designs, so people can have choices. On tang, I'm working on a reduced version with bios & v9958 only. Tangs work better with a low number of logic elements. |
There is a new version, trying to get a low number of logic elements in fpga. Sound and mapper is removed. Hopefully this will work in more devices. As usual, tested in Omega, Toshiba HX-20 and Sony Hitbit HB-75P. |
I can test in my msx hotbit, too |
@jabadiagm black screen with TMS9918 attached in VDP slot EDIT: without TMS9118 also black screen in Sharp MSX Hotbit |
That's interesting... Black screen with or without hdmi? (TMS9118 needs to be always on, without it there is no 3.6 MHZ clock) |
leds blinking, there is HDMI signal |
is there a way to help the development like doing a discord server/telegram channel or something like that? I believe I can help giving more details, I also made a PR with a new board revision |
That’s a good idea, I have created a telegram group:
https://t.me/+tsXxv2i2q3M4YWFk
Enviado desde mi Alcatel OT511
… El 10 abr 2024, a las 13:55, Chandler Klüser ***@***.***> escribió:
is there a way to help the development like doing a discord server/telegram channel or something like that?
I believe I can help giving more details, I also made a PR with a new board revision
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Hello, |
Thanks for your feedback!! Regarding the bitstream, we are rolling back some features in order to make the project compatible with more MSX models. I am testing with Sharp MSX Hotbit and Gradiente MSX Expert, I believe very soon we are going to present news with better compatibility. |
I can`t flash bitstream in impl/pnr using Gowin EDA Programmer and also openFPGALoader.
Using Official EDA, the tool says the Gowin device was not found.
Using openFPGALoader, this is the output I get:
Is there any programming step I missed?
BTW, thanks for the great job!!
The text was updated successfully, but these errors were encountered: