vossstef / tang_nano_20k_c64

Commodore C64 core for the Tang Nano 20K Primer 25K and Mega 138K Pro FPGA
GNU General Public License v3.0
64 stars 11 forks source link

Black screen - no blue prompt and no loading #40

Closed camplusplus closed 7 months ago

camplusplus commented 7 months ago

I flashed it with Linux and Windows afterwards but no blue commodore prompt displays on boot as in your screenshots.

Also cannot load any disk image.

Only f12 menu works.

Tried v0.1.7 and v0.1.6

vossstef commented 7 months ago

The fpga design can only live together with a M0 Dock with programmed misterynano firmware for the bl616 µC. To me it looks that the design is kept in reset by missing bl616 response on SPI interface. The large multi color LED on the TN need to be illuminated in green. In addition need one of the other LEDs need to be illuminated in red indicating that the m0S dock detected. pls. checking wiring and correctly programmed µC fw. 0.1.7 requires the fw that i adhoc compiled and attached in the release package.

camplusplus commented 7 months ago

Large multi color LED on the TN is Green One smaller led is amber on TN.

3 red are on M0S dock. I will check connection but keyboard works

camplusplus commented 7 months ago

On boot i have next leds counting from 0 from usb:

0: quickly flashes 3: solid light M0S Dock detect

camplusplus commented 7 months ago

I will try with older pairs of firmware

camplusplus commented 7 months ago

Same luck with v0.1.5 I flashed both M0S and TN with files from release.

Menu works fine, file browser working but black screen.

harbaum commented 7 months ago

Did you start with a fresh SD card? Not that you have some old saved settings on card which prevent the C64 from booting.

Other idea: The reset button of your TN20k is stuck and the C64 thus never boots ...

camplusplus commented 7 months ago

Button mechanically works also tried with fresh SD card Formatted in fat16.

I'm suspecting IRQ pin form M0S

camplusplus commented 7 months ago

Formatted SD card to FAT16

Reset button mechanically clicks.

IRQ pin is 3.24 V measured with simple volt meter

BTW I'm using only M0S connected

camplusplus commented 7 months ago

Same issue with Mistery Tang, which was working before. I'm trying to erase flash completely

harbaum commented 7 months ago

MiSTeryNano would even boot without any M0S connected and no SD card inserted at all.

But you need a TOS ROM in flash. Otherwise it won't boot.

If it worked before and now doesn't I'd check if the reset button is working even if it clicks. There's not much more that may prevent both cores from booting while e.g. the menu works.

camplusplus commented 7 months ago

I added TOS-es for MiSTeryNano and flashed M0S. Reset button working in MiSTeryNano.

Same situation in MiSTeryNano: Menu working but black screen.

harbaum commented 7 months ago

How do you know that reset is working if you don't see anything?

camplusplus commented 7 months ago

Monitor reconnects

harbaum commented 7 months ago

What vertical frequency does your monitor report in MiSTeryNano? If it's 50Hz then the machine actually executed some part of the TOS operating system.

camplusplus commented 7 months ago

it's was 50Hz

harbaum commented 7 months ago

I am running out of ideas. My current guess would be that the embedded SDRAM of the FPGA has failed ...

camplusplus commented 7 months ago

I would say also that I have defective board