Giter Site home page Giter Site logo

harbaum / misterynano Goto Github PK

View Code? Open in Web Editor NEW
113.0 15.0 15.0 11.96 MB

Atari STE MiSTery core for the Tang Nano 20k FPGA

Verilog 32.39% SystemVerilog 39.90% SWIG 4.06% Assembly 3.59% Makefile 0.38% C++ 3.29% CMake 0.06% C 15.45% Tcl 0.87% Shell 0.01%
atari-st fpga mist tang-nano

misterynano's People

Contributors

chandlerkluser avatar dna2496 avatar harbaum avatar ojaksch avatar vossstef avatar xolod79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

misterynano's Issues

GPIO normalization

Good morning

Would it be possible to standardize the GPIO port?
For the joystick port of this Atari ST core, is it possible to move it to use the same location and controller as the core NESTANG, PACMAN, GALAGA, ... ?
And for futur the keyboard, would it be possible to standardize this with that of the core C64?
If all cores is standardized it will be simpler for users.

Thanks to all the developers

SD Card

Hello,

 I wanted to confirm a few things.
  1. This project uses the SD card in SD 4-bit mode
  2. I cannot immediately find the SD card calls. I see the three files in the misc folder, but I cannot find the sd_reader file. Where do you call the functions to write and read to the SD card?

Thank you

feature idea BL616 Firmware: Analog Paddle Emulation via USB Gamepad Stick(s)

feature idea:

So far digital USB Joystick is supported.

Replacement of existing DualShock 2 analog Stick mode used presently for VIC20 C64 paddle emulation with
e.g. USB Logitech Gamepad or of course other cheaper brand.

Also analog Joystick mode might be useful for other cores that would be addressed as well.

https://www.kernel.org/doc/html/latest/input/gamepad.html

https://github.com/hathach/tinyusb/blob/master/src/class/hid/hid.h

Not sure is such mode supported from gamepads at all...

SD card not recognized

I just set this up on a v3921 Nano with an external M0s Dock and almost everything works well, except the SD card detection. To test the hardware, I loaded Nestang and was able to see all .nes files on the SD. Using the same card, F12 on MiSTeryNano shows all drives with an X. Hitting enter on any drive causes an immediate crash, requiring a power down reset to correct. As per a previous issue, the file -s /dev/sdb1 produces the following:

/dev/sdb1: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "mkfs.fat", sectors/cluster 8, Media descriptor 0xf8, sectors/track 62, heads 247, hidden sectors 2048, sectors 15644646 (volumes > 32 MB), FAT (32 bit), sectors/FAT 15256, serial number 0x78ed1964, label: "TANG2 "

Any troubleshooting suggestions? I would throw a logic analyzer at this if the pins weren't so darn tiny. Even the SD card pins are embedded under the shell!

Support IDE ?

Till, thank you for your great work on MiST and now Tang.
I would like to ask, are you planning to support the ide.v interface?
I'm writing the Core of a rare computer that uses an IDE and would like to transfer it to Tang.

SD card improvements

The SD card is currently only supported in a very basic way and allows only reading, only 1 bit mode and has limited file system support. This should updated to allow writing as well. Support for 4 bit mode would also be nice and moving the file system handling from the FPGA to the bl616 would allow for much better file system support.

failing to install the nano (20K variant)

This is what I m getting when I try:

[bin]: ./openFPGALoader -f atarist.fs 
empty
write to flash
No cable or board specified: using direct ft2232 interface
unable to open ftdi device: -4 (usb_open() failed)
JTAG init failed with: unable to open ftdi device

is there a 'different' variant of 20K that is supported? There is a silkscreened 'v3921' on my board (version/rev probably..) thanks

USB Joystick not working

I have recently tried my USB joysticks, and one didn't work at all, while another one was almost working - there were some erratic reactions to the d-pad, but no fire button at all.

Please also notice, that the real ST, the right mouse button acts as a joystick fire button (they are physically wired together).

They were both generic gamepads, one not working was analog, with the digital d-pad (PlayStation knock-off), and the one almost working was a digital d-pad only (namely a PiHut SNES USB Pad: https://thepihut.com/products/raspberry-pi-compatible-usb-gamepad-controller-snes-style).

Odd behaviour with HID devices (Mouse)

Hey Hi, i got it working! Its an awesome work you did! Everything is working good so far. I had some research to do cause i did the installation on Windows but with the right tools it was not that hard. I installed several mouse keyboard kombinations. Most as wireless desktop solutions from Logitech, Microsoft and others and the keyboards all work fine only the mouse got a strange behaviour .. some only moved horizontal and some vertical even just a wired Logitech mouse had this behaviour. the only mouse that worked well on its own without a keyboard is an apple magic mouse with this little trackball as mousewheel. If it helps i can write down the models of the tested gear. I´ve try many kombinations with the cables .. short long ... with breadboard whithout ... it doesnt change the behaviour.

Stock BL616 firmware?

I read on the forum that there is talk of you being able to maybe distribute the TN20K/BL616 stock firmware, at least in binary form, and hopefully get permission to distribute source code - has there been any progress on this please?

DB9 joystick does not want to work.

The DB9 joystick does not work. At least for me...
Only HID joystick works. But it is not very playable due to the limitation on one key at a time.
This happened after adding an HID joystick. I think this is because the port became inout instead of input.

diff --git a/src/tangnano20k/top.sv b/src/tangnano20k/top.sv
index 7f604b9..288dbe1 100644
--- a/src/tangnano20k/top.sv
+++ b/src/tangnano20k/top.sv
@@ -29,7 +29,7 @@ module top(
   output [3:0]	O_sdram_dqm, // 32/4
 
   // generic IO, used for mouse/joystick/...
-  input [9:0]	io,
+  inout [9:0]	io,
   // config inputs
   input [3:0]	cfg,

How to flash docking station

Hello, I would like to know how to flash the docking station, whether when flashing the docking station, whether the docking station must be connected to the tang nano 20k module at the time of flashing, there is no information on this, or whether it is also possible to flash the docking station by directly connecting it to the computer If so, how can the docking station be directly connected to the computer? Moreover, I have not found any information on how to connect the docking station with the tang nano 20k module

Support for rgblcd

A 5 inch 800*480 Display is available for the TN20k. Using that as an option would allow for a tiny yet complete Atari ST.

'blt_clks' is not declared

Issue

Can't build bitstream using Gowin_V1.9.8.11_Education_linux through command in /src folder:

$ /home/chandler/Gowin_V1.9.8.11_Education_linux/IDE/bin/gw_sh ./build.tcl

Expected result

Gowin Shell fully synthesize, place and route the bitstream .fs file

System specs

$ neofetch       
                   -`                    chandler@archlinux 
                  .o+`                   ------------------ 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: B450 I AORUS PRO WIFI 
               `+oooooo:                 Kernel: 6.8.2-arch2-1 
               -+oooooo+:                Uptime: 1 day, 15 hours 
             `/:-:++oooo+:               Packages: 1406 (pacman) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 3840x2160 
          `/+++ooooooooooooo/`           DE: GNOME 46.0 
         ./ooosssso++osssssso+`          WM: Mutter 
        .oossssso-````/ossssss+`         WM Theme: Adwaita 
       -osssssso.      :ssssssso.        Theme: HighContrastInverse [GTK2/3] 
      :osssssss/        osssso+++.       Icons: Adwaita [GTK2/3] 
     /ossssssss/        +ssssooo/-       Terminal: kgx 
   `/ossssso+/:-        -:/+osssso+-     CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz 
  `+sso+:-`                 `.-/+oso:    GPU: AMD ATI Radeon RX 6600/6600 XT/6600M 
 `++:.                           `-/+/   Memory: 4833MiB / 15912MiB 
 .`                                 `/

Error details

During Synthesis, I have got this error message:

$ /home/chandler/Gowin_V1.9.8.11_Education_linux/IDE/bin/gw_sh ./build.tcl | grep ERROR   
ERROR (EX3872) : 'blt_clks' is not declared("/home/chandler/Documentos/MiSTeryNano/src/atarist/atarist.v":666)

    while executing
"run all"
    (file "./build.tcl" line 101)

Full log

This is the TCL Shell output during build process:

*** GOWIN Tcl Command Line Console  *** 
current device: GW2AR-18C  GW2AR-LV18QN88C8/I7
add new file: "misterynano.sv"
add new file: "atarist/acia.v"
add new file: "atarist/acsi.v"
add new file: "atarist/atarist.v"
add new file: "atarist/dma.v"
add new file: "atarist/io_fifo.v"
add new file: "atarist/mfp.v"
add new file: "atarist/mfp_hbit16.v"
add new file: "atarist/mfp_srff16.v"
add new file: "atarist/mfp_timer.v"
add new file: "atarist/stBlitter.sv"
add new file: "atarist/ste_joypad.v"
add new file: "atarist/cubase2_dongle.v"
add new file: "atarist/cubase3_dongle.v"
add new file: "fdc1772/fdc1772.v"
add new file: "fdc1772/floppy.v"
add new file: "fx68k/fx68k.sv"
add new file: "fx68k/fx68kAlu.sv"
add new file: "fx68k/uaddrPla.sv"
add new file: "gstmcu/hdl/clockgen.v"
add new file: "gstmcu/hdl/gstmcu.v"
add new file: "gstmcu/hdl/gstshifter.v"
add new file: "gstmcu/hdl/hdegen.v"
add new file: "gstmcu/hdl/hsyncgen.v"
add new file: "gstmcu/hdl/latch.v"
add new file: "gstmcu/hdl/mcucontrol.v"
add new file: "gstmcu/hdl/modules.v"
add new file: "gstmcu/hdl/register.v"
add new file: "gstmcu/hdl/shifter_video.v"
add new file: "gstmcu/hdl/sndcnt.v"
add new file: "gstmcu/hdl/vdegen.v"
add new file: "gstmcu/hdl/vidcnt.v"
add new file: "gstmcu/hdl/vsyncgen.v"
add new file: "hdmi/audio_clock_regeneration_packet.sv"
add new file: "hdmi/audio_info_frame.sv"
add new file: "hdmi/audio_sample_packet.sv"
add new file: "hdmi/auxiliary_video_information_info_frame.sv"
add new file: "hdmi/hdmi.sv"
add new file: "hdmi/packet_assembler.sv"
add new file: "hdmi/packet_picker.sv"
add new file: "hdmi/serializer.sv"
add new file: "hdmi/source_product_description_info_frame.sv"
add new file: "hdmi/tmds_channel.sv"
add new file: "ikbd/hd63701/HD63701.v"
add new file: "ikbd/hd63701/HD63701_ALU.v"
add new file: "ikbd/hd63701/HD63701_CORE.v"
add new file: "ikbd/hd63701/HD63701_EXEC.v"
add new file: "ikbd/hd63701/HD63701_MCODE.i"
add new file: "ikbd/hd63701/HD63701_MCROM.v"
add new file: "ikbd/hd63701/HD63701_SEQ.v"
add new file: "ikbd/hd63701/HD63701_defs.i"
add new file: "ikbd/ikbd.sv"
add new file: "ikbd/rom/MCU_BIROM.v"
add new file: "jt49/filter/jt49_dcrm.v"
add new file: "jt49/filter/jt49_dcrm2.v"
add new file: "jt49/filter/jt49_dly.v"
add new file: "jt49/filter/jt49_mave.v"
add new file: "jt49/jt49.v"
add new file: "jt49/jt49_bus.v"
add new file: "jt49/jt49_cen.v"
add new file: "jt49/jt49_div.v"
add new file: "jt49/jt49_eg.v"
add new file: "jt49/jt49_exp.v"
add new file: "jt49/jt49_noise.v"
add new file: "misc/hid.v"
add new file: "misc/mcu_spi.v"
add new file: "misc/osd_u8g2.v"
add new file: "misc/scandoubler.v"
add new file: "misc/sd_card.v"
add new file: "misc/sd_rw.v"
add new file: "misc/sdcmd_ctrl.v"
add new file: "misc/sysctrl.v"
add new file: "misc/video_analyzer.v"
add new file: "tang/nano20k/flash_dspi.v"
add new file: "tang/nano20k/gowin_clkdiv/gowin_clkdiv.v"
add new file: "tang/nano20k/gowin_dpb/fdc_dpram.v"
add new file: "tang/nano20k/gowin_dpb/sector_dpram.v"
add new file: "tang/nano20k/gowin_rpll/flash_pll.v"
add new file: "tang/nano20k/gowin_rpll/pll_160m.v"
add new file: "tang/nano20k/sdram.v"
add new file: "tang/nano20k/top.sv"
add new file: "tang/nano20k/video.v"
add new file: "tang/nano20k/video2hdmi.v"
add new file: "tang/nano20k/ws2812.v"
add new file: "tang/nano20k/atarist.cst"
add new file: "tang/nano20k/atarist.sdc"
add new file: "fx68k/microrom.mem"
add new file: "fx68k/nanorom.mem"
add new file: "ikbd/rom/ikbd.hex"
GowinSynthesis start
Running parser ...
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misterynano.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/acia.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/acsi.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/atarist.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/dma.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/io_fifo.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/mfp.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/mfp_hbit16.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/mfp_srff16.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/mfp_timer.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/stBlitter.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/ste_joypad.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/cubase2_dongle.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/atarist/cubase3_dongle.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/fdc1772/fdc1772.v'
WARN  (EX3069) : Potential always loop found("/home/chandler/Documentos/MiSTeryNano/src/fdc1772/fdc1772.v":261)
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/fdc1772/floppy.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/fx68k/fx68k.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/fx68k/fx68kAlu.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/fx68k/uaddrPla.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/clockgen.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/gstmcu.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/gstshifter.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/hdegen.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/hsyncgen.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/latch.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/mcucontrol.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/modules.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/register.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/shifter_video.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/sndcnt.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/vdegen.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/vidcnt.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/gstmcu/hdl/vsyncgen.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_clock_regeneration_packet.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_info_frame.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_sample_packet.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/auxiliary_video_information_info_frame.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/hdmi.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_assembler.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_picker.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/serializer.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/source_product_description_info_frame.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/hdmi/tmds_channel.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_ALU.v'
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_defs.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_ALU.v":5)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_ALU.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_ALU.v":5)
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_CORE.v'
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_defs.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_CORE.v":5)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_CORE.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_CORE.v":5)
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_EXEC.v'
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_defs.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_EXEC.v":5)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_EXEC.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_EXEC.v":5)
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_defs.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":4)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":4)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":15)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":15)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":65)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":65)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":70)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":70)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":75)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":75)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":80)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":80)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":85)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":85)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":90)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":90)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":95)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":95)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":100)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":100)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":105)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":105)
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCODE.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":110)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_MCROM.v":110)
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_SEQ.v'
Analyzing included file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_defs.i'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_SEQ.v":6)
Back to file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_SEQ.v'("/home/chandler/Documentos/MiSTeryNano/src/ikbd/hd63701/HD63701_SEQ.v":6)
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/ikbd.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/ikbd/rom/MCU_BIROM.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/filter/jt49_dcrm.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/filter/jt49_dcrm2.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/filter/jt49_dly.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/filter/jt49_mave.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49_bus.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49_cen.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49_div.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49_eg.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49_exp.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/jt49/jt49_noise.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/hid.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/mcu_spi.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/osd_u8g2.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/scandoubler.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/sd_card.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/sd_rw.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/sdcmd_ctrl.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/sysctrl.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/misc/video_analyzer.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/flash_dspi.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_clkdiv/gowin_clkdiv.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_dpb/fdc_dpram.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_dpb/sector_dpram.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_rpll/flash_pll.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_rpll/pll_160m.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/sdram.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/top.sv'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/video.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/video2hdmi.v'
Analyzing Verilog file '/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/ws2812.v'
Compiling module 'top'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/top.sv":8)
Compiling module 'misterynano'("/home/chandler/Documentos/MiSTeryNano/src/misterynano.sv":8)
Compiling module 'ws2812'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/ws2812.v":1)
Compiling module 'flash_pll'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_rpll/flash_pll.v":10)
Compiling module 'flash'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/flash_dspi.v":14)
Compiling module 'sdram'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/sdram.v":22)
Compiling module 'mcu_spi'("/home/chandler/Documentos/MiSTeryNano/src/misc/mcu_spi.v":7)
Compiling module 'hid'("/home/chandler/Documentos/MiSTeryNano/src/misc/hid.v":7)
Compiling module 'sysctrl'("/home/chandler/Documentos/MiSTeryNano/src/misc/sysctrl.v":10)
ERROR (EX3872) : 'blt_clks' is not declared("/home/chandler/Documentos/MiSTeryNano/src/atarist/atarist.v":666)
WARN  (EX3073) : Port 'floppy_ready' remains unconnected for this instance("/home/chandler/Documentos/MiSTeryNano/src/atarist/atarist.v":899)
Module 'misterynano' remains a black box due to errors in its contents("/home/chandler/Documentos/MiSTeryNano/src/misterynano.sv":8)
Compiling module 'video2hdmi'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/video2hdmi.v":6)
Compiling module 'pll_160m'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_rpll/pll_160m.v":10)
Compiling module 'Gowin_CLKDIV'("/home/chandler/Documentos/MiSTeryNano/src/tang/nano20k/gowin_clkdiv/gowin_clkdiv.v":9)
Compiling module 'hdmi(AUDIO_RATE=48000,VENDOR_NAME=64'b0100110101101001010100110101010001101100011001010000000000000000,PRODUCT_DESCRIPTION=128'b01000001011101000110000101110010011010010010000001010011010101000000000000000000000000000000000000000000000000000000000000000000)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/hdmi.sv":8)
Compiling module 'packet_picker(VIDEO_RATE=32000000.0,IT_CONTENT=1'b1,AUDIO_BIT_WIDTH=16,AUDIO_RATE=48000,VENDOR_NAME=64'b0100110101101001010100110101010001101100011001010000000000000000,PRODUCT_DESCRIPTION=128'b01000001011101000110000101110010011010010010000001010011010101000000000000000000000000000000000000000000000000000000000000000000,SOURCE_DEVICE_INFORMATION=8'b00000000)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_picker.sv":4)
Extracting RAM for identifier 'audio_sample_word_buffer'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_picker.sv":81)
Compiling module 'audio_clock_regeneration_packet(VIDEO_RATE=32000000.0,AUDIO_RATE=48000)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_clock_regeneration_packet.sv":5)
Compiling module 'audio_sample_packet(SAMPLING_FREQUENCY=4'b0010,WORD_LENGTH=4'b0010)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_sample_packet.sv":8)
WARN  (EX3780) : Using initial value of 'CHANNEL_LEFT' since it is never assigned("/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_sample_packet.sv":63)
WARN  (EX3780) : Using initial value of 'CHANNEL_RIGHT' since it is never assigned("/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_sample_packet.sv":64)
Compiling module 'auxiliary_video_information_info_frame(IT_CONTENT=1'b1)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/auxiliary_video_information_info_frame.sv":5)
Compiling module 'source_product_description_info_frame(VENDOR_NAME=64'b0100110101101001010100110101010001101100011001010000000000000000,PRODUCT_DESCRIPTION=128'b01000001011101000110000101110010011010010010000001010011010101000000000000000000000000000000000000000000000000000000000000000000,SOURCE_DEVICE_INFORMATION=8'b00000000)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/source_product_description_info_frame.sv":5)
Compiling module 'audio_info_frame'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/audio_info_frame.sv":5)
WARN  (EX1998) : Net 'headers[255][23]' does not have a driver("/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_picker.sv":30)
WARN  (EX1998) : Net 'subs[255][3][55]' does not have a driver("/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_picker.sv":31)
Compiling module 'packet_assembler'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/packet_assembler.sv":4)
Compiling module 'tmds_channel'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/tmds_channel.sv":4)
Compiling module 'tmds_channel(CN=1)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/tmds_channel.sv":4)
Compiling module 'tmds_channel(CN=2)'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/tmds_channel.sv":4)
Compiling module 'serializer'("/home/chandler/Documentos/MiSTeryNano/src/hdmi/serializer.sv":3)
GowinSynthesis finish

"Sea of Colour" demo shows a black screen

Hi there,

Just tried this core on the Tang Nano 20k for the first time, and I noticed that the demo "Sea of Colour" just shows a black screen, while audio seems to play.

Here is the demo in question to download:
https://www.pouet.net/prod.php?which=65921

Tried the demo in STE mode and 2.06US/ES TOS, as it's what it requires, and with both 4MB and 8MB of RAM.

Maybe an HDMI scaler problem? I tried many other demos and they all seem fine.

Flashing under Windows 10 issues and picky USB mouse support

I've just uploaded the MiSTeryNano filestream and TOS images (1.04UK and 2.06UK) to Tang Nano 20k via OpenFPGALoader. I've also programmed M0S dock with supplied firmware using Bouffalo Flash Cube. Atari boots to the desktop, but there is no keyboard or mouse response.

P.S.
To be able to use OpenFPGALoader under Windows 10, I had to use Zadig to replace the FTDIBUS driver with WinUSB.
These instructions were very helpful:
https://fpga.mit.edu/6205/F22/documentation/openFPGA

Firmware roadmap

There are a few things I'd like to add/change in the firmware:

  • remove/disable the not really useful Bluetooth code. This is due to the fact that the bouffalo SDK does not properly support classic Bluetooth and very few Bluetooth hid devices support pure BLE

  • move core specific code from menu.c into separate files

  • remove core specific core entirely. Instead have all core specifics (menu, variables, storage types...) in a separate config file which is either read from the core or from sd card. This will eventually allow to add new cores without recompiling the firmware.

  • add wifi/tcp/telnet support. This could be mapped onto a serial port on core side and would allow cores to dial into BBS's which today often use the same approach to expose a dial up like connection via the internet

F12 not working?

Hello,

thank you for this great project! The Atari ST was a big part of my youth and I was delighted when I read about your project in C't.

Alas, I have difficulties getting the project to fully work.

As far as I can tell I have set up everything correctly according to the installation manual for Windows users. To be on the safe side, I'll list everything I've done:

  1. I used the Gowin IDE to flash firmware and two TOS versions (1.04 and 1.62, both german) to the Tang nano. I used the correct settings (different Operations for firmware and TOSes, different start addresses). I flashed the three files one by one.
    I also used the 'press S2 button' method for connecting the tang. What I noticed though (and that is missing in the installation manual): When one file was flashed, the Tang seemed to restart and the two 'disc activity' LEDs lit up. So I always had to unplug the Tang and re-connect it with S2 button pressed.
    Flashing always finished without errors
  2. I flashed the MOS-Dock, following all of yout instructions, having no trouble or errors shown.
  3. After that, I followed the trouble shooting guide. Step 1 and 2 obviously worked, I got a nice Atari desktop. Neat!
  4. At this step, I connected everything to the MiSTeryNano Shield: original USB power supply removed and replaced by MOS dock, Tang nano in place.

From here, I am not sure if it is working or not. In step 3 of the troubleshooting guide you say: 'the [...] LED {will change to} to blue and later to green or red.' On my setup, the LED will always just be red and does not change at all. On the other hand you then say that 'if the [...] LED [...] lights up green, red or blue', everything is fine.
Everything seems fine at first look; when I connect my Keyboard/mousepad combi (Logitech k400r), the touchpad works nicely.

But when testing further I find: inserting a SD card also does nothing to the LED Color, and pressing F12 does not show the onscreen menu. Concerning SD card I have already followed your instruction in https://github.com/harbaum/MiSTeryNano/issues/20

At this stage, I cannot find any information on what I might have done wrong or could try to fix the issue.
Would you kindly help?

Thank you!

Reorganised repo structure has broken some simulations

Hi,

Thanks for the great project. It looks like some of the simulations are currently broken due to missing files / changes in the folder structure. When attempting to run the sims from their respective folders with 'make wave' using Verilator 5.024 2024-04-05 rev v5.024-42-gc561fe8ba

flash_tb : No rule to make target '../../src/tangnano20k/flash_dspi.v'
//File is now located at : ../../src/tang/nano20k/flash_dspi.v

video_tb : No rule to make target '../../src/misc/font_8x8_fnt.v'
// File seems to have been removed.

misterynano_fw commit ID c378344 broken related to proper Keyboard detection

facing problems in proper USB Keyboard detection after re-compile the sources for C64 and VIC20 core use.

  • Keyboard very often not properly detected. Had to unplug and re-connect the HID to overcome.
  • In usb_host.c the VIC_20 entries are lost...

I switched lately to latest Bouffalo SDK+ CherryUSB 1.2 and initially thought that problems arise from that but figured out that it is the FW.

As back-up i included my needed menu entries and spi loader fixes in a branch based on cb65679. New SDK + FW without all that BLE and HID enhancements are working rock solid stable.

SD card recognition problem

Although I tried with several different SD cards, I was never able to get a floppy disk to work.
no floppy disk is displayed in the menu and no boot from floppy disk.
I tested with several different SDs all in FAT (formatted under Windows and Linux), I even tested in FAT32.
I tested with the last 3 cores and also with 2 different TOS.
Tested by putting only DISK_A.ST on the SD and putting multiple files.
I can't get it to recognize a floppy disk.
My SD drive works fine with Nestang so that's not the problem.

error when flashing the M0S dock station based on BL616/618, what to do

Unfortunately, when flashing BL616 on the M0S dock station, I receive an error. Am I doing something wrong? Can someone explain to me what's wrong?

[21:53:42.926] - serial type is general
[21:53:42.965] - Open COM3 Success
[21:53:43.979] - Close COM3 Success
[21:53:43.998] - EFUSE_CFG
[21:53:43.999] - BOOTHEADER_GROUP0_CFG
[21:53:44.034] - Create bootheader using C:\Users\Tomasz\Downloads\Atari St Misterynano\BouffaloLabDevCube-v1.8.9\chips\bl616\img_create_mcu/efuse_bootheader_cfg.ini
[21:53:44.036] - Updating data according to <C:\Users\Tomasz\Downloads\Atari St Misterynano\BouffaloLabDevCube-v1.8.9\chips\bl616\img_create_mcu/efuse_bootheader_cfg.ini[BOOTHEADER_GROUP0_CFG]>
[21:53:44.043] - Created file len:256
[21:53:44.050] - Create efuse using C:\Users\Tomasz\Downloads\Atari St Misterynano\BouffaloLabDevCube-v1.8.9\chips\bl616\img_create_mcu/efuse_bootheader_cfg.ini
[21:53:44.053] - Updating data according to <C:\Users\Tomasz\Downloads\Atari St Misterynano\BouffaloLabDevCube-v1.8.9\chips\bl616\img_create_mcu/efuse_bootheader_cfg.ini[EFUSE_CFG]>
[21:53:44.060] - Created file len:512
[21:53:44.069] - Image create path: C:\Users\Tomasz\Downloads\Atari St Misterynano\BouffaloLabDevCube-v1.8.9\chips\bl616\img_create_mcu
[21:53:44.070] - Config file: C:\Users\Tomasz\Downloads\Atari St Misterynano\BouffaloLabDevCube-v1.8.9\chips\bl616\img_create_mcu/img_create_cfg.ini
[21:53:44.089] - img already have bootheader
[21:53:44.092] - Image hash is b'94745365c4b866c44fce871c76e508928ad7c491758124c666ed60abf97c4051'
[21:53:44.093] - Header crc: b'7be7f464'
[21:53:44.094] - Write flash img
[21:53:44.098] - Encrypt efuse data
[21:53:44.108] - ========= eflash loader config =========
Traceback (most recent call last):
File "core\bflb_mcu_tool.py", line 2538, in program_img_thread
File "core\bflb_mcu_tool.py", line 2487, in program_bl616_img
File "libs\bflb_img_create.py", line 85, in compress_dir
File "libs\bflb_img_create.py", line 56, in check_pt_file
IndexError: list index out of range

INSTALLATION_LINUX : getting the BL616 flashing software

The installation procedure points to the folder containing the various binaries, but only downloading the *cube-<platform> won't be enough, as I get the following logs when trying to flash the M0S Dock.

[19:50:38.663] - Program Start
[19:50:38.666] - ========= eflash loader cmd arguments =========
[19:50:38.666] - Config file not found
[19:50:38.666] - {"ErrorCode": "000B","ErrorMsg":"BFLB CONFIG FILE NOT FOUND"}
[19:50:38.667] - Burn Retry
[19:50:38.667] - Burn return with retry fail

Luckily, I use Ubuntu. And I succeeded to flash the firmware into the dock with the following procedure :

  • from the sdk page, deploy the "Code" button to "download ZIP" (490 MBytes)
    image
  • explore the archive, and extract only the folder buffalo_sdk_<branch>/tools/bflb_tools/bouffalo_flash_cube (most likely <branch> will be master, i.e. buffalo_sdk_master/tools/bflb_tools/bouffalo_flash_cube
    image
  • Follow the procedure described in INSTALLATION_LINUX.md to flash the firmware into the M0S Dock, using BLFlashCube-ubuntu
    image

Success : 

2024-03-21 20:09:09,508 - INFO - [20:09:09.508] - Program Start
2024-03-21 20:09:09,509 - INFO - [20:09:09.509] - ========= eflash loader cmd arguments =========
2024-03-21 20:09:09,513 - INFO - [20:09:09.513] - serial port is /dev/ttyACM0
2024-03-21 20:09:09,513 - INFO - [20:09:09.513] - chiptype: bl616
2024-03-21 20:09:09,514 - INFO - [20:09:09.514] - cpu_reset=False
2024-03-21 20:09:09,522 - INFO - [20:09:09.522] - com speed: 2000000
2024-03-21 20:09:09,523 - INFO - [20:09:09.522] - ========= Interface is uart =========
2024-03-21 20:09:09,523 - INFO - [20:09:09.523] - Bootrom load
2024-03-21 20:09:09,523 - INFO - [20:09:09.523] - ========= get_boot_info =========
2024-03-21 20:09:09,524 - INFO - [20:09:09.523] - ========= image get bootinfo =========
2024-03-21 20:09:09,784 - INFO - [20:09:09.784] - tx rx and power off, press the machine!
2024-03-21 20:09:09,785 - INFO - [20:09:09.785] - cutoff time is 0.05
2024-03-21 20:09:09,836 - INFO - [20:09:09.835] - power on tx and rx
2024-03-21 20:09:10,739 - INFO - [20:09:10.739] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
2024-03-21 20:09:10,740 - INFO - [20:09:10.740] - clean buf
2024-03-21 20:09:10,741 - INFO - [20:09:10.741] - send sync
2024-03-21 20:09:10,943 - INFO - [20:09:10.943] - ack is b'4f4b'
2024-03-21 20:09:10,944 - INFO - [20:09:10.943] - shake hand success
2024-03-21 20:09:11,446 - INFO - [20:09:11.445] - data read is b'010016060000010027928001596136cf0eb418000f758010'
2024-03-21 20:09:11,446 - INFO - [20:09:11.446] - ========= ChipID: b40ecf366159 =========
2024-03-21 20:09:11,447 - INFO - [20:09:11.446] - Get bootinfo time cost(ms): 1923.0126953125
2024-03-21 20:09:11,448 - INFO - [20:09:11.448] - change bdrate: 2000000
2024-03-21 20:09:11,449 - INFO - [20:09:11.449] - Clock PLL set
2024-03-21 20:09:11,450 - INFO - [20:09:11.450] - Set clock time cost(ms): 0.29638671875
2024-03-21 20:09:11,561 - INFO - [20:09:11.561] - Read mac addr
2024-03-21 20:09:11,563 - INFO - [20:09:11.563] - MACADDR: b40ecf366159
2024-03-21 20:09:11,563 - INFO - [20:09:11.563] - flash set para
2024-03-21 20:09:11,564 - INFO - [20:09:11.564] - get flash pin cfg from bootinfo: 0x02
2024-03-21 20:09:11,564 - INFO - [20:09:11.564] - set flash cfg: 14102
2024-03-21 20:09:11,564 - INFO - [20:09:11.564] - Set flash config
2024-03-21 20:09:11,568 - INFO - [20:09:11.568] - Set para time cost(ms): 1.522216796875
2024-03-21 20:09:11,569 - INFO - [20:09:11.569] - ========= flash read jedec ID =========
2024-03-21 20:09:11,569 - INFO - [20:09:11.569] - Read flash jedec ID
2024-03-21 20:09:11,569 - INFO - [20:09:11.569] - readdata:
2024-03-21 20:09:11,570 - INFO - [20:09:11.570] - b'c8601600'
2024-03-21 20:09:11,570 - INFO - [20:09:11.570] - Finished
2024-03-21 20:09:11,571 - INFO - [20:09:11.571] - flash config Not found,use default
2024-03-21 20:09:11,571 - INFO - [20:09:11.571] - jedec_id:c86016
2024-03-21 20:09:11,571 - INFO - [20:09:11.571] - capacity_id:22
2024-03-21 20:09:11,572 - INFO - [20:09:11.571] - capacity:4.0M
2024-03-21 20:09:11,572 - INFO - [20:09:11.572] - get flash size: 0x00400000
2024-03-21 20:09:11,573 - INFO - [20:09:11.572] - Program operation
2024-03-21 20:09:11,573 - INFO - [20:09:11.573] - Dealing Index 0
2024-03-21 20:09:11,573 - INFO - [20:09:11.573] - ========= programming /home/dsporn/Téléchargements/atari/MiSTeryNano/./misterynano_fw_bl616.bin to 0x000000
2024-03-21 20:09:11,574 - INFO - [20:09:11.574] - flash para file: /home/dsporn__files/Téléchargements/atari/MiSTeryNano/bouffalo_flash_cube/chips/bl616/efuse_bootheader/flash_para.bin
2024-03-21 20:09:11,575 - INFO - [20:09:11.575] - Set flash config
2024-03-21 20:09:11,576 - INFO - [20:09:11.576] - Set para time cost(ms): 1.60986328125
2024-03-21 20:09:11,577 - INFO - [20:09:11.577] - ========= flash load =========
2024-03-21 20:09:11,577 - INFO - [20:09:11.577] - ========= flash erase =========
2024-03-21 20:09:11,577 - INFO - [20:09:11.577] - Erase flash  from 0x0 to 0x2566f
2024-03-21 20:09:11,873 - INFO - [20:09:11.873] - Erase time cost(ms): 295.9453125
2024-03-21 20:09:11,907 - INFO - [20:09:11.906] - decompress flash load 90428
2024-03-21 20:09:11,932 - INFO - [20:09:11.932] - Load 2048/90428 {"progress":2}
2024-03-21 20:09:11,949 - INFO - [20:09:11.949] - Load 4096/90428 {"progress":4}
2024-03-21 20:09:11,958 - INFO - [20:09:11.958] - Load 6144/90428 {"progress":6}

...and so on...

2024-03-21 20:09:12,537 - INFO - [20:09:12.537] - Load 86016/90428 {"progress":95}
2024-03-21 20:09:12,553 - INFO - [20:09:12.553] - Load 88064/90428 {"progress":97}
2024-03-21 20:09:12,569 - INFO - [20:09:12.569] - Load 90112/90428 {"progress":99}
2024-03-21 20:09:12,574 - INFO - [20:09:12.574] - Load 90428/90428 {"progress":100}
2024-03-21 20:09:12,576 - INFO - [20:09:12.575] - Load 90428/90428 {"progress":100}
2024-03-21 20:09:12,577 - INFO - [20:09:12.577] - Write check
2024-03-21 20:09:12,578 - INFO - [20:09:12.578] - Flash load time cost(ms): 703.97705078125
2024-03-21 20:09:12,578 - INFO - [20:09:12.578] - Finished
2024-03-21 20:09:12,580 - INFO - [20:09:12.580] - Sha caled by host: fae8cf261399868541f59aa87832732168e6094172fc3b4094354d4da07833d3
2024-03-21 20:09:12,580 - INFO - [20:09:12.580] - xip mode Verify
2024-03-21 20:09:12,708 - INFO - [20:09:12.708] - Read Sha256/153200
2024-03-21 20:09:12,709 - INFO - [20:09:12.709] - Flash xip readsha time cost(ms): 127.607666015625
2024-03-21 20:09:12,709 - INFO - [20:09:12.709] - Finished
2024-03-21 20:09:12,712 - INFO - [20:09:12.712] - Sha caled by dev: fae8cf261399868541f59aa87832732168e6094172fc3b4094354d4da07833d3
2024-03-21 20:09:12,713 - INFO - [20:09:12.712] - Verify success
2024-03-21 20:09:12,713 - INFO - [20:09:12.713] - Program Finished
2024-03-21 20:09:12,713 - INFO - [20:09:12.713] - All time cost(ms): 3205.51904296875
2024-03-21 20:09:12,815 - INFO - [20:09:12.815] - close interface
2024-03-21 20:09:12,817 - INFO - [20:09:12.816] - [All Success]
2024-03-21 20:09:19,728 - INFO - [20:09:19.727] - Save config success

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.