Usage: jq6500 <command> [OPTION]... [FILE]...

Write files to an MP3 player based on the JQ6500 chip that is connected
via USB. Files can be written in raw mode or as a simple file system which
is created on the fly.
The file system is needed by the device in order to play MP3 or WAV
files. Raw mode can be used to overwrite the ISO image in the first
256kiB of the device or to flash an existing file system image with audio

Numeric values are in bytes by default, but can be suffixed with
b (bytes), k (kbytes), p (pages, 4k), or m (mbytes).

  -L          List available JQ6500 devices
  -S          detect and print the size of the onboard flash chip
  -R          read from flash
  -W          write to flash
  -E          erase flash
  -X          write embedded rescue ISO image to flash
              (implies "-r -p -o 0", no other options allowed)

  -d device   SCSI generic device or file to write to (default: autodetect)
  -r          raw mode: read/write flash contents to/from a single file
  -o offset   default: 0x40000
  -s size     default: 4096 for read and erase, actual file size for write
  -f          force operation (disables some sanity checks, use with care!)
  -v level    set the verbosity level (default: 1)
  -p          patch the detected size into config.ini of the given image before
  -q          be quiet

Project home page: http://m4x.de/jq6500