Adding some funk to an old Vtech toy
Two hackers tore down a VTech Kidi Star Dance toy, dumped its ARMv4 SoC external flash using a CH341A programmer, and successfully modified string assets in a hex editor.
summary is enough The short write-up provides a quick teardown overview, while the comment section offers much deeper technical analysis of the firmware structure and memory map.
summary
The author and a friend purchased a VTech Kidi Star Dance toy during reading week to reverse engineer its firmware. Using a CH341A flash programmer and a SOIC 8 clip, they dumped the external flash memory after forking flashrom to support the specific Boya Microelectronics chip. By inspecting the binary in a hex editor, they located user-facing ASCII strings and successfully flashed a modified version back onto the device. HN commenters expanded on the dump, identifying embedded MP3 files, bitmap graphics, and ARMv4T memory offsets.
key points
- The toy runs on an ARM v4 SoC paired with a 64Mbit external flash chip (BY25Q64AS).
- Reading the flash required forking flashrom to add support for the specific memory chip.
- Replacing hardcoded ASCII strings of the same length allowed custom text to appear on the device's LCD.
who should read it
Embedded systems developers and hardware hackers interested in casual reverse engineering.
discussion warm
consensus
Commenters appreciate the nostalgic hardware hack, with experienced engineers quickly analyzing the shared firmware dump to map out memory spaces and debug routines.
> feel free to dissect it and share any findings.
Looking at the dump, looks like an ARMv4T core indeed, the flash image looks like it loads at 0x20000000. It clearly has some ram at 0xF8005000 and peripherals seem to be around 0xC0000000 and 0xD0000000. There seems to be some ROM near 0x00000000, since some absolute calls are made to that. typical MCUs of this kind have ROM software libraries, for example 0xF8F2 has thumb-mode printf(), 0x14AD4 has thumb-mode func to read SPI flash ID vals, and 0xE900 has thumb-mode malloc()
Code begins with a pretty typical sequence of setting up a .bss …
It reverse engineers the ARMv4T core's memory layout, ROM libraries, and factory test logging functions directly from the binary dump.
Generated by an LLM from the article and thread. Check the sources before relying on it.