I started the project by just exploring the Lunii box physically and connect it to a Linux workstation. so I noticed the following:
1. When the box usb is plugged into a linux system, lsusb and dmesg gives :
lsusb ... Bus 001 Device 016: ID 0c45:6820 Microdia ...
And a media storage is also appearing:
$ dmesg | tail -30
$ dmesg | tail -30 ... 667105.143680] usb 1-2: new high-speed USB device number 17 using xhci_hcd [ ] usb 1-2: New USB device found, idVendor=0c45, idProduct=6820 [ ] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=1 [ ] usb 1-2: Product: USB2.0 DSP [ ] usb 1-2: SerialNumber: USB2.0 DSP [ ] usb-storage 1-2:1.0: USB Mass Storage device detected [ ] scsi host4: usb-storage 1-2:1.0 [ ] scsi 4:0:0:0: Direct-Access SONiX SNC7001A USBDisk 0.01 PQ: 0 ANSI: 0 CCS [ ] sd 4:0:0:0: Attached scsi generic sg3 type 0 [ ] sd 4:0:0:0: [sdd] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB) [ ] sd 4:0:0:0: [sdd] Write Protect is off [ ] sd 4:0:0:0: [sdd] Mode Sense: 03 00 00 00 [ ] sd 4:0:0:0: [sdd] No Caching mode page found [ ] sd 4:0:0:0: [sdd] Assuming drive cache: write through [ ] sdd: [ ] sd 4:0:0:0: [sdd] Attached SCSI removable disk
2. After unboxing Lunii, the chipset/SoC appears to be an obscure Chinese chip called Sonix. But unfortunately the exact part number cannot be read. It was maybe intentionally obfuscated.
Thanks to dmesg (see above) we know that the SoC is a Sonix SNC7001A. And a datasheet can be found here: here
3. In the PCB we can identify an SDCard (surrounded in red in picture below). But it seems to be soldered to the PCB, because it's not eject-able.
We can also identify a 10pts connector (surrounded in green in picture below) that I hope it can handle signals to UART and SWD.
- Extract the SDCARD and analyze its content
- Hook a digital analyzer on the 10pts connector to probe UART.
- Read the datasheet.