Page 1 of 1

Static electricity discharge in reset button killed DE10?

Posted: Mon Feb 15, 2021 12:17 am
by arago
Hello everyone! I think that my DE10 Nano is partially broken and was hoping to identify the source of the problem and fix it if possible.

TL;DR:
  • I felt a small static electricity discharge when pressing the IOBoard reset button. After that MiSTer didn't work anymore.
  • After debugging and checking a lot of things, I think that the reset button in the DE10 Nano board is (electrically) pressed all the time.
  • Can you think of a way of fixing, disabling, or testing the theory of the shorted reset button?
  • A new DE10 board is on the way, but I am afraid of plugging it to the IOBoard, do you think it is safe?
My current setup is composed of a DE10 Nano board (from Amazon), a 128MB RAM module and a IO Board 6.1 (both from MisterAddons). Everything has worked perfectly fine for the last 5 months or so, playing NeoGeo, SNES, NES, MD, ao486, etc. I’ve been waiting for purchasing a good case (the aluminum one looks great), but it is very hard to get one shipped to my country in COVID-19 times (and expensive). I asked for a local guy here in Argentina to print the MiSTer - Case Universal v5.2, but looks like the quality of the printer was not very good because the holes didn’t match with the DE10 screws.

The DE10 Nano has been sitting in my desk and connected to my PC monitor for this time, but I wanted to try it out on my main 50' Samsung TV. I was playing for an hour or so when I get out of my couch and press the reset button in the IO Board. At that moment, I felt an electrical discharge in my finger (a small kick) and suddenly the screen turned off and never came back.

At first sight, I though that the HDMI output was dead. I disconnected the power and connected the MiSTer again but without luck, the image was gone. After that, I moved the MiSTer back to the desk and connected it back to the PC monitor, but it said that there was no signal coming out of the HDMI port. I removed the IO Board and the RAM module to check if there was a problem there, but got the same results (no signal).

I was panicking, so I removed the SD card and put a new one with the installer. When the MiSTer turned on I saw the installer boot image in the screen, which was a big relief. The HDMI port was working fine and something else was going on. However, after the installer finished and the system was rebooted, I got no signal again.

As a last resort, I tried the SD card that came with the DE10 Nano, which includes a linux dev kit provided by Intel/Terasic. I was very surprised to see the system boot up and show the desktop in the screen. At this point, I started to believe that there was something wrong between MiSTer and the DE10 nano. Digging in the forum, I read some posts discussing dead boards and problems like that:
That encouraged me to try a few more things, including checking the switches in the DE10 board and using the UART port for checking boot logs. The 6 pin DIP switches and toggle switches were in the correct position, and I never touched them before. I used a wooden cocktail stick to move them up and down, but nothing changed. The logs were more interesting. Here is what I found:

Booting old MiSTer SD card

Code: Select all

U-Boot SPL 2017.03+ (May 23 2018 - 19:09:48)
Trying to boot from MMC1


U-Boot 2017.03+ (May 23 2018 - 19:09:48 +0800)

       Watchdog enabled
DRAM:  1 GiB
socfpga_bridges_reset: FPGA not ready, aborting.
MMC:   dwmmc0@ff704000: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Autoboot in 0 seconds
reading menu.rbf
2421792 bytes read in 165 ms (14 MiB/s)

NOTHING MORE SHOWS UP HERE
Booting new MiSTer SD card

Code: Select all

U-Boot SPL 2017.03+ (May 23 2018 - 19:09:48)
Trying to boot from MMC1


U-Boot 2017.03+ (May 23 2018 - 19:09:48 +0800)

       Watchdog enabled
DRAM:  1 GiB
socfpga_bridges_reset: FPGA not ready, aborting.
MMC:   dwmmc0@ff704000: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Autoboot in 0 seconds
reading menu.rbf
2399864 bytes read in 208 ms (11 MiB/s)

NOTHING MORE SHOWS UP HERE
Booting SD card that came with DE10 Nano

Code: Select all

U-Boot SPL 2017.03-rc2 (Mar 30 2017 - 19:07:16)
/data/de10-nano/release-build-2017.03.31/build/tmp-angstrom-glibc/work/de10_nano                                                                                                                                                             -angstrom-linux-gnueabi/u-boot-socfpga/v2017.03+gitAUTOINC+d03450606b-r0/git/dri                                                                                                                                                             vers/ddr/altera/sequencer.c: Preparing to start memory calibration
/data/de10-nano/release-build-2017.03.31/build/tmp-angstrom-glibc/work/de10_nano                                                                                                                                                             -angstrom-linux-gnueabi/u-boot-socfpga/v2017.03+gitAUTOINC+d03450606b-r0/git/dri                                                                                                                                                             vers/ddr/altera/sequencer.c: CALIBRATION PASSED
/data/de10-nano/release-build-2017.03.31/build/tmp-angstrom-glibc/work/de10_nano                                                                                                                                                             -angstrom-linux-gnueabi/u-boot-socfpga/v2017.03+gitAUTOINC+d03450606b-r0/git/dri                                                                                                                                                             vers/ddr/altera/sequencer.c: Calibration complete
Trying to boot from MMC1


U-Boot 2017.03-rc2 (Mar 30 2017 - 19:07:16 -0700)

CPU:   Altera SoCFPGA Platform
FPGA:  Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
BOOT:  SD/MMC Internal Transceiver (3.0V)
       Watchdog enabled
I2C:   ready
DRAM:  1 GiB
MMC:   dwmmc0@ff704000: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Terasic DE10-Nano
Net:
Error: ethernet@ff702000 address not set.
No ethernet found.
Hit any key to stop autoboot:  0
reading de10-nano.rbf
3368700 bytes read in 259 ms (12.4 MiB/s)
Setting bus to 2
reading STARTUP.BMP
921738 bytes read in 86 ms (10.2 MiB/s)
reading de10_nano_hdmi_config.bin
72872 bytes read in 17 ms (4.1 MiB/s)
## Starting application at 0x0C100001 ...
HDMI WARNING: No HDMI display detected
HDMI WARNING: no valid timing found, setting 1024x768 default
HDMI_vld_tmng_fnd = 0
HDMI_h_active_pix = 1024
HDMI_h_blank_pix = 320
HDMI_h_sync_off = 24
HDMI_h_sync_width = 136
HDMI_v_active_lin = 768
HDMI_v_blank_lin = 38
HDMI_v_sync_off = 3
HDMI_v_sync_width = 6
HDMI_pll_freq = 65000000
HDMI_pll_m = 9
HDMI_pll_c = 7
HDMI_pll_k = 429496724
HDMI_stride = 4096
HDMI_milestones = 1044607
## Application terminated, rc = 0x0
reading socfpga_cyclone5_de10_nano.dtb
29940 bytes read in 14 ms (2 MiB/s)
switch to partitions #0, OK
mmc0 is current device
Unknown command 'part' - try 'help'
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
187 bytes read in 10 ms (17.6 KiB/s)
1:      Linux Default
Retrieving file: /extlinux/../zImage
reading /extlinux/../zImage
5478000 bytes read in 440 ms (11.9 MiB/s)
append: root=/dev/mmcblk0p2 rootwait mem=0x3F000000 memmap=16M$0x3F000000 ttyS0,                                                                                                                                                             115200
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x000100
   reserving fdt memory region: addr=0 size=1000
   reserving fdt memory region: addr=100 size=7f00
   Loading Device Tree to 03ff5000, end 03fffeff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 4.1.33-ltsi-altera (dwesterg@dwesterg-mobl1.amr.cor                                                                                                                                                             p.intel.com) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP Thu M                                                                                                                                                             ar 30 10:37:56 PDT 2017
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                                                                                                             n cache
[    0.000000] Machine model: Terasic DE10-Nano
[    0.000000] Truncating RAM at 0x00000000-0x3f000000 to -0x2f800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 12 pages/cpu @ef1d5000 s19532 r8192 d21428 u4915                                                                                                                                                             2
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                                                                                             es: 193040
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait mem=0x3F000000                                                                                                                                                              memmap=16M$0x3F000000 ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 758856K/778240K available (8651K kernel code, 664K rwdata                                                                                                                                                             , 2228K rodata, 532K init, 147K bss, 19384K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0aa80b4   (10881 kB)
[    0.000000]       .init : 0xc0aa9000 - 0xc0b2e000   ( 532 kB)
[    0.000000]       .data : 0xc0b2e000 - 0xc0bd4258   ( 665 kB)
[    0.000000]        .bss : 0xc0bd4258 - 0xc0bf8f0c   ( 148 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform provided aux values permit register corruption.
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
[    0.000000] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_                                                                                                                                                             idle_ns: 19112604467 ns
[    0.000006] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 2147                                                                                                                                                             4836475ns
[    0.000334] Console: colour dummy device 80x30
[    0.001040] console [tty0] enabled
[    0.001069] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.089760] pid_max: default: 32768 minimum: 301
[    0.089878] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.089910] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.090516] CPU: Testing write buffer coherency: ok
[    0.090571] ftrace: allocating 26231 entries in 77 pages
[    0.131535] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.131811] Setting up static identity map for 0x8280 - 0x82d8
[    0.169733] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.169803] Brought up 2 CPUs
[    0.169854] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[    0.169873] CPU: All CPU(s) started in SVC mode.
[    0.170351] devtmpfs: initialized
[    0.178650] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9                                                                                                                                                              rev 4
[    0.179015] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max                                                                                                                                                             _idle_ns: 19112604462750000 ns
[    0.180460] NET: Registered protocol family 16
[    0.181317] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.188530] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint                                                                                                                                                              registers.
[    0.188585] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.232176] vgaarb: loaded
[    0.232521] SCSI subsystem initialized
[    0.232866] usbcore: registered new interface driver usbfs
[    0.232965] usbcore: registered new interface driver hub
[    0.233053] usbcore: registered new device driver usb
[    0.233236] soc:usbphy@0 supply vcc not found, using dummy regulator
[    0.234149] Linux video capture interface: v2.00
[    0.234245] pps_core: LinuxPPS API ver. 1 registered
[    0.234267] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                                                                                             tti <giometti@linux.it>
[    0.234327] PTP clock support registered
[    0.234574] FPGA manager framework
[    0.235319] Bluetooth: Core ver 2.20
[    0.235395] NET: Registered protocol family 31
[    0.235418] Bluetooth: HCI device and connection manager initialized
[    0.235448] Bluetooth: HCI socket layer initialized
[    0.235471] Bluetooth: L2CAP socket layer initialized
[    0.235511] Bluetooth: SCO socket layer initialized
[    0.237399] cfg80211: Calling CRDA to update world regulatory domain
[    0.237793] Switched to clocksource timer1
[    0.270231] simple-framebuffer 3f000000.framebuffer: framebuffer at 0x3f00000                                                                                                                                                             0, 0x7e9000 bytes, mapped to 0xf0800000
[    0.270293] simple-framebuffer 3f000000.framebuffer: format=x8r8g8b8, mode=10                                                                                                                                                             24x768x32, linelength=4096
[    0.286214] Console: switching to colour frame buffer device 128x48
[    0.300452] simple-framebuffer 3f000000.framebuffer: fb0: simplefb registered                                                                                                                                                             !
[    0.310272] NET: Registered protocol family 2
[    0.311064] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.311363] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.311681] TCP: Hash tables configured (established 8192 bind 8192)
[    0.311960] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.312193] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.312587] NET: Registered protocol family 1
[    0.313017] RPC: Registered named UNIX socket transport module.
[    0.313215] RPC: Registered udp transport module.
[    0.313365] RPC: Registered tcp transport module.
[    0.313515] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.315097] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.332057] NFS: Registering the id_resolver key type
[    0.337987] Key type id_resolver registered
[    0.343718] Key type id_legacy registered
[    0.349385] ntfs: driver 2.1.32 [Flags: R/W].
[    0.355305] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.362613] io scheduler noop registered (default)
[    0.372950] dma-pl330 ffe01000.pdma: Loaded driver for PL330 DMAC-341330
[    0.378717] dma-pl330 ffe01000.pdma:         DBUFF-512x8bytes Num_Chans-8 Num                                                                                                                                                             _Peri-32 Num_Events-8
[    0.388807] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.396015] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 35, base_baud =                                                                                                                                                              6250000) is a 16550A
[    1.024816] console [ttyS0] enabled
[    1.035024] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 36, base_baud =                                                                                                                                                              6250000) is a 16550A
[    1.052193] brd: module loaded
[    1.063241] CAN device driver interface
[    1.073809] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.084995]  Ring mode enabled
[    1.094161]  DMA HW capability register supported
[    1.098833]  Enhanced/Alternate descriptors
[    1.115397]  Enabled extended descriptors
[    1.125522]  RX Checksum Offload Engine supported (type 2)
[    1.137149]  TX Checksum insertion supported
[    1.147556]  Enable RX Mitigation via HW Watchdog Timer
[    1.165144] libphy: stmmac: probed
[    1.174739] eth0: PHY ID 00221622 at 1 IRQ POLL (stmmac-0:01) active
[    1.187706] usbcore: registered new interface driver zd1211rw
[    1.199756] usbcore: registered new interface driver rtl8187
[    1.211618] usbcore: registered new interface driver rtl8192cu
[    1.223806] usbcore: registered new interface driver rndis_wlan
[    1.235546] usbcore: registered new interface driver rt2500usb
[    1.247044] usbcore: registered new interface driver rt73usb
[    1.258202] usbcore: registered new interface driver rt2800usb
[    1.269401] usbcore: registered new interface driver asix
[    1.280032] usbcore: registered new interface driver ax88179_178a
[    1.291259] usbcore: registered new interface driver cdc_ether
[    1.302133] usbcore: registered new interface driver net1080
[    1.312721] usbcore: registered new interface driver rndis_host
[    1.323474] usbcore: registered new interface driver cdc_subset
[    1.334115] usbcore: registered new interface driver zaurus
[    1.344382] usbcore: registered new interface driver cdc_ncm
[    1.354862] ffb40000.usb supply vusb_d not found, using dummy regulator
[    1.366229] ffb40000.usb supply vusb_a not found, using dummy regulator
[    1.407826] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRA                                                                                                                                                             M
[    2.277926] dwc2 ffb40000.usb: DWC OTG Controller
[    2.287222] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
[    2.298937] dwc2 ffb40000.usb: irq 37, io mem 0x00000000
[    2.309075] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.320629] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.332601] usb usb1: Product: DWC OTG Controller
[    2.342001] usb usb1: Manufacturer: Linux 4.1.33-ltsi-altera dwc2_hsotg
[    2.353333] usb usb1: SerialNumber: ffb40000.usb
[    2.363219] hub 1-0:1.0: USB hub found
[    2.371592] hub 1-0:1.0: 1 port detected
[    2.380439] usbcore: registered new interface driver usb-storage
[    2.391205] mousedev: PS/2 mouse device common for all mice
[    2.402601] input: ADXL34x accelerometer as /devices/platform/soc/ffc04000.i2c/i2c-0/0-0053/input/input0
[    2.422397] i2c /dev entries driver
[    2.430631] usbcore: registered new interface driver uvcvideo
[    2.440874] USB Video Class driver (1.1.1)
[    2.449437] gspca_main: v2.14.0 registered
[    2.458399] watchdog: Invalid min and max timeout values, resetting to 0!
[    2.470184] Bluetooth: Virtual HCI driver ver 1.5
[    2.479667] Bluetooth: HCI UART driver ver 2.3
[    2.488668] Bluetooth: HCI UART protocol H4 registered
[    2.498318] Bluetooth: HCI UART protocol BCSP registered
[    2.508067] Bluetooth: HCI UART protocol LL registered
[    2.517549] Bluetooth: HCI UART protocol ATH3K registered
[    2.527228] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.537726] Bluetooth: HCI UART protocol BCM registered
[    2.547299] usbcore: registered new interface driver bcm203x
[    2.557434] usbcore: registered new interface driver bpa10x
[    2.567458] usbcore: registered new interface driver bfusb
[    2.577384] usbcore: registered new interface driver btusb
[    2.587202] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    2.597394] usbcore: registered new interface driver ath3k
[    2.607466] Synopsys Designware Multimedia Card Interface Driver
[    2.618381] dw_mmc ff704000.dwmmc0: IDMAC supports 32-bit address mode.
[    2.629759] dw_mmc ff704000.dwmmc0: Using internal DMA controller.
[    2.640703] dw_mmc ff704000.dwmmc0: Version ID is 240a
[    2.650654] dw_mmc ff704000.dwmmc0: DW MMC controller at irq 31, 32 bit host data width, 1024 deep fifo
[    2.697854] dw_mmc ff704000.dwmmc0: 1 slots initialized
[    2.708603] ledtrig-cpu: registered to indicate activity on CPUs
[    2.720075] usbcore: registered new interface driver usbhid
[    2.730792] usbhid: USB HID core driver
[    2.737090] mmc0: Problem switching card into high-speed mode!
[    2.737103] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz, actual 25000000HZ div = 1)
[    2.737158] mmc0: new SDHC card at address 0001
[    2.737572] mmcblk0: mmc0:0001 ASTC 7.37 GiB
[    2.749669]  mmcblk0: p1 p2 p3
[    2.794138] fpga_manager fpga0: Altera SOCFPGA FPGA Manager registered
[    2.806619] altera_hps2fpga_bridge ff400000.fpga-bridge: fpga bridge [lwhps2fpga] registered
[    2.820798] altera_hps2fpga_bridge ff500000.fpga-bridge: fpga bridge [hps2fpga] registered
[    2.834655] altera_hps2fpga_bridge ff600000.fpga-bridge: fpga bridge [fpga2hps] registered
[    2.848715] altera_fpga2sdram_bridge soc:fpga2sdram-bridge: fpga bridge [fpga2sdram] registered
[    2.862851] altera_fpga2sdram_bridge soc:fpga2sdram-bridge: driver initialized with handoff 000001ff
[    2.877913] fpga-region soc:base-fpga-region: FPGA Region probed
[    2.889765] oprofile: no performance counters
[    2.899733] oprofile: using timer interrupt.
[    2.910403] NET: Registered protocol family 10
[    2.920935] sit: IPv6 over IPv4 tunneling driver
[    2.931362] NET: Registered protocol family 17
[    2.940975] NET: Registered protocol family 15
[    2.950469] can: controller area network core (rev 20120528 abi 9)
[    2.961769] NET: Registered protocol family 29
[    2.971205] can: raw protocol (rev 20120528)
[    2.980484] can: broadcast manager protocol (rev 20120528 t)
[    2.991240] can: netlink gateway (rev 20130117) max_hops=1
[    3.002175] Bluetooth: RFCOMM TTY layer initialized
[    3.012302] Bluetooth: RFCOMM socket layer initialized
[    3.022743] Bluetooth: RFCOMM ver 1.11
[    3.031727] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.042309] Bluetooth: BNEP filters: protocol multicast
[    3.052774] Bluetooth: BNEP socket layer initialized
[    3.063028] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.074355] Bluetooth: HIDP socket layer initialized
[    3.084813] 8021q: 802.1Q VLAN Support v1.8
[    3.094494] Key type dns_resolver registered
[    3.104277] ThumbEE CPU extension supported.
[    3.113928] Registering SWP/SWPB emulation handler
[    3.125478] input: keys as /devices/platform/keys/input/input1
[    3.136990] of_cfs_init
[    3.144838] of_cfs_init: OK
[    3.154745] Bluetooth: Starting self testing
[    3.223451] Bluetooth: ECDH test passed in 57872 usecs
[    3.234860] Bluetooth: SMP test passed in 125 usecs
[    3.244849] Bluetooth: Finished self testing
[    3.259493] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
[    3.271437] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
[    3.397813] cfg80211: Calling CRDA to update world regulatory domain
[    3.583036] kjournald starting.  Commit interval 5 seconds
[    3.606953] EXT3-fs (mmcblk0p2): recovery complete
[    3.616771] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    3.628685] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[    3.641898] devtmpfs: mounted
[    3.650266] Freeing unused kernel memory: 532K (c0aa9000 - c0b2e000)
[    4.098360] systemd[1]: System time before build time, advancing clock.
[    4.135464] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[    4.157305] random: systemd urandom read with 89 bits of entropy available
[    4.179357] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ +LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
[    4.208659] systemd[1]: Detected architecture arm.

Welcome to The Ångström Distribution v2016.12!

[    4.241212] systemd[1]: Set hostname to <de10-nano>.
[    4.864726] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    4.898178] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    4.928081] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.958229] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    4.988122] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.018167] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.047979] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    5.078159] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    5.108022] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    5.138209] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    5.168116] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.197990] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.250111] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    5.278304] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    5.308289] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    5.338077] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    5.368131] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.407770] systemd[1]: Starting File System Check on Root Device...
         Starting File System Check on Root Device...
[    5.440041] systemd[1]: Mounting Configuration File System...
         Mounting Configuration File System...
[    5.469754] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    5.483269] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    5.497474] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    5.512430] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[    5.528223] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    5.540368] systemd[1]: Mounted Configuration File System.
[  OK  ] Mounted Configuration File System.
[    5.575427] systemd[1]: Started Setup Virtual Console.
[  OK  ] Started Setup Virtual Console.
[    5.613633] systemd[1]: Started Apply Kernel Variables.
[  OK  ] Started Apply Kernel Variables.
[    5.765639] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started File System Check on Root Device.
         Starting Remount Root and Kernel File Systems...
[    5.869663] EXT3-fs (mmcblk0p2): using internal journal
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Load/Save Random Seed.
[    6.032777] systemd-journald[864]: Received request to flush runtime journal from PID 1
[    6.136165] random: nonblocking pool is initialized
[    6.147223] systemd-journald[864]: File /var/log/journal/9589ff4d12c74784b9582bb6393e22b5/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager..
                                              [  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting sshd.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Listening on sshd.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
         Starting Connection service...
         Starting Network Service...
[  OK  ] Started Timestamping service.
[  OK  ] Started Start usb mass storage gadget.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Start FPGA init.
[  OK  ] Started Start XFCE session.
[  OK  ] Started Start FPGA LEDs.
[  OK  ] Started System Logging Service.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started DE10-Nano Prep fftsw.
         Starting Start synergy client...
         Starting Login Service...
[    8.938952] input: soc:base-fpga-region:keys as /devices/platform/soc/soc:base-fpga-region/soc:base-fpga-region:keys/input/input2
[    8.952988] dw_spi_mmio fff00000.spi: chipselect 0 already in use
[    8.952996] spi_master spi32766: spi_device register error /soc/spi@fff00000/spidev@0
[    8.953003] of_spi_notify: failed to create for '/soc/spi@fff00000/spidev@0'
[    8.953007] __of_changeset_entry_notify: notifier error @/soc/spi@fff00000/spidev@0
[  OK  ] Started DE10-Nano X11VNC server.
[  OK  ] Started Network Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
[    9.392286] using random self ethernet address
[    9.402974] using random host ethernet address
[    9.479782] Mass Storage Function, version: 2009/09/11
[    9.491065] LUN: removable file: (no medium)
[  OK  ] Found device /dev/ttyGS0.
[    9.626217] LUN: file: /usr/share/de10-nano-usb-gadget/fat_image.img
[    9.638793] Number of LUNs=1
[    9.648596] usb0: HOST MAC 0a:bc:8c:bb:60:28
[    9.659533] usb0: MAC aa:87:88:51:8c:f4
[    9.671581] g_multi gadget: Multifunction Composite Gadget
[    9.683220] g_multi gadget: userspace failed to provide iSerialNumber
[    9.695840] g_multi gadget: g_multi ready
[    9.709100] dwc2 ffb40000.usb: bound driver g_multi
[    9.737964] cfg80211: Calling CRDA to update world regulatory domain
[  OK  ] Started Connection service.
[  OK  ] Started Start synergy client.
[  OK  ] Reached target Network.
         Starting Network Name Resolution...
         Starting Permit User Sessions...
         Starting Lightning Fast Webserver With Light System Requirements...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Network Name Resolution.
[   10.421053] eth0: device MAC address 7a:ba:e2:de:53:f0
         Starting Hostname Service...
         Starting WPA supplicant...
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Hostname Service.
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started WPA supplicant.

.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution de10-nano ttyS0

Angstrom v2016.12 - Kernel 4.1.33-ltsi-altera

de10-nano login: [   12.719378] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.907884] cfg80211: Calling CRDA to update world regulatory domain
[   14.508547] stmmaceth ff702000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.522460] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.765018] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   16.067915] cfg80211: Calling CRDA to update world regulatory domain
[   19.227891] cfg80211: Calling CRDA to update world regulatory domain
[   22.387899] cfg80211: Calling CRDA to update world regulatory domain
[   25.547811] cfg80211: Calling CRDA to update world regulatory domain
[   28.707810] cfg80211: Calling CRDA to update world regulatory domain
[   31.867812] cfg80211: Calling CRDA to update world regulatory domain
[   35.027818] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
I realized that the MiSTer is not loading up, which same problem seen before for a shorted IOBoard reset button (https://www.atari-forum.com/viewtopic.php?t=34819).
I am attaching a few pictures of the DE10 Nano and IOBoard in case you can help me identify the issue in the PCB. I am not very knowledgeable regarding electronics, but I could ask for help at a local electronics store. I bought a replacement DE10 Nano board which will arrive in 3 days. Do you think it is safe to reconnect the IOBoard to the new DE10?

DE10:
IMG_2307.jpeg
IMG_2307.jpeg (3.25 MiB) Viewed 5750 times
IMG_2305.jpeg
IMG_2305.jpeg (3.64 MiB) Viewed 5750 times
IOBoard:
IMG_2304.jpeg
IMG_2304.jpeg (2.82 MiB) Viewed 5750 times
IMG_2303.jpeg
IMG_2303.jpeg (2.28 MiB) Viewed 5750 times

If there is any chance of recovering the DE10 and make it work again, I would be super happy.
Thanks in advance!

Re: Static electricity discharge in reset button killed DE10?

Posted: Mon Feb 15, 2021 4:41 am
by Sorgelig
Did you try to remove I/O board and boot MiSTer without it? It's possible static electricity killed de10-nano GPIO pin and made it short internally, or it's possible short happens on I/O board. So at least you can try to find it out.
It's not a problem to connect I/O board to a new de10-nano. If reset button circuit was shorted on I/O board then it simply won't allow MiSTer to boot, but it won't destroy anything.
You always can use MiSTer without I/O board - it's not required addon board.

You need to make sure static electricity won't accumulate on your body, or you will destroy MiSTer or other devices again. Probably you need to make a case with dielectric button pushers, so your fingers will be far from electronic components. Or don't use I/O buttons at all - all their functions can be executed from OSD/Keyboard.

Re: Static electricity discharge in reset button killed DE10?

Posted: Mon Feb 15, 2021 2:22 pm
by arago
Thanks for the fast reply!

Yes, I removed both the I/O board and the 128MB Memory Module SDRAM and MiSTer still doesn't boot.
However, this only applies to MiSTer, the MiSTer installer and the dev kit from the DE10 boot up and work ok (image shows up via HDMI).

Assuming that this is what happened: static electricity killed de10-nano GPIO pin and made it short internally, is there something I can do to either confirm it or/and fix it? Could disabling the reset behavior be an option? I could try to recompile MiSTer without the reset feature.

About the static electricity, it is my fault. Every time I sit on that sofa, I get electrically charged because of the fabric of the pillows. I didn't pay attention and now I am stuck with a broken DE10 :(

At least this is a word of caution to other users, so they don't have to experience the same problem.

Re: Static electricity discharge in reset button killed DE10?

Posted: Fri Mar 05, 2021 10:27 pm
by aberu
Depending on where you bought the board, you can probably get a warranty fulfillment on it.

Re: Static electricity discharge in reset button killed DE10?

Posted: Sat Jun 05, 2021 6:02 am
by lymando
arago wrote: Mon Feb 15, 2021 2:22 pm Thanks for the fast reply!

Yes, I removed both the I/O board and the 128MB Memory Module SDRAM and MiSTer still doesn't boot.
However, this only applies to MiSTer, the MiSTer installer and the dev kit from the DE10 boot up and work ok (image shows up via HDMI).

Assuming that this is what happened: static electricity killed de10-nano GPIO pin and made it short internally, is there something I can do to either confirm it or/and fix it? Could disabling the reset behavior be an option? I could try to recompile MiSTer without the reset feature.

About the static electricity, it is my fault. Every time I sit on that sofa, I get electrically charged because of the fabric of the pillows. I didn't pay attention and now I am stuck with a broken DE10 :(

At least this is a word of caution to other users, so they don't have to experience the same problem.
Did you ever figure out what happened? I have the same issue although I'm not sure if it was caused by a static shock or not. I was thinking that maybe the board needs to be factory reset but I haven't found how to do that yet.

Re: Static electricity discharge in reset button killed DE10?

Posted: Sat Jun 05, 2021 2:59 pm
by arago
Sadly no, I have not found or fixed the problem during these last few months.

A new DE10 arrived and after replacing it, using the same SD card, 128MB SDRAM and 6.1 IO Board and adding a really cool acrylic case (from MiSTerFPGA.co.uk), I forgot about it and left the broken DE10 collecting dust in a shelf.

In the mean time, I got a 32MB SDRAM and IOBoard from AliExpress which I added to the broken DE10, with the hope of one day recovering it and having a second MiSTer ready to go :P

I tried my luck again today just to see if there was any "magical" improvement, but the board is still behaving as before. I am attaching a video to show how the IOBoard lights flash without stop alternating between red and yellow in a never-ending loop.

https://imgur.com/XDVEOYe

Re: Static electricity discharge in reset button killed DE10?

Posted: Wed Sep 08, 2021 12:12 pm
by german_user
Rather, I think it's a hardware failure in a programmed chip. The board reports CRC errors and has apparently forgotten its Mac address

The marking shows the NOR Flash, there are things stored...

mister_nor_flash.png
mister_nor_flash.png (5.89 MiB) Viewed 3455 times