USB modes

From S1MP3 Wiki

Jump to: navigation, search

There are currently two working USB modes for any s1mp3 (still working) device. Each of these two modes allows using the peripheral as an USB Client Device. We know that the driver for this binding is contained in the 1st-stage bootloader code located in the BROM, or perhaps the TROM which resides inside the ATJ2085 chip, too.

Normal USB mode

In this mode the device acts like a default USB Mass Storage Client Device, also called USB Disk. See USB Mass Storage Device Class. The Bulk-Only Transport model gets used.

Image:Mass_Storage.png

ADFU Recovery Mode

The s1mp3 switches to the ADFU mode when the 1st-stage bootloader code encounters any error or the firmware wishes to enter firmware upgrade mode. The only possible, regular operation in this mode is to flash a new FULL firmware (a dumped/extracted partial firmware file will not work).

The code which initializes and controls this mode is located inside the 1st-stage bootloader, flashed to the internal BROM.

Image:ADFU.png

Related pages

Personal tools
about this site
Advertisement