Skip to content

Instantly share code, notes, and snippets.

@ezmac
Created July 6, 2018 13:53
Show Gist options
  • Save ezmac/d58bc68268176908c0e46aa28e8b312a to your computer and use it in GitHub Desktop.
Save ezmac/d58bc68268176908c0e46aa28e8b312a to your computer and use it in GitHub Desktop.
hammond xk1c updates with large flash drive or usb stick
A friend of mine has a hammond xk1c keyboard and needed to install some updates. The keyboard is known to have some weirdness when it comes to using large flash drives (anything bigger than 512 MB can be hit or miss). I don't know much about the keyboard, but this is something that worked for him. This has been posted on facebook but I'm reposting here so it is public info and findable by google.
I was able to limit the size of the Fat32 partition on a 16GB USB drive to 500MB and then manually create the correct file structure and this made a previously unusable USB work correctly in the XK1C. The is the procedure using Terminal in OSX:
(with no flash drive plugged in)
ls /dev | grep rdisk
(plug in flash drive, wait 10 seconds)
ls /dev | grep rdisk
(you’ll see a new one. Something like rdisk2)
diskutil unmount /dev/rdiskX
(The above command may need the partition. which would be /dev/rdisk2s1 or similar)
sudo newfs_msdos -s 1024000 -F 32 /dev/rdiskX
(unplug and replug your disk, it’ll be mounted by finder - this takes a few seconds)
(make the directory structure /hammond/xk-1c/{patch,setup,system})
mkdir -p /Volumes/NO\ NAME/hammond/xk-1c/{patch,setup,system}
(The drive may not be called no name. I’m not sure. You can create these folders through finder)
At this point, you can treat the drive as if it had been formatted by the keyboard. Follow the rest of the instructions provided by Hammond for system updates, etc.
If you're not on OSX, unfortunately, you're on your own. The process in general is:
List your current devices (without drive plugged in)
Plug in drive
List devices and figure out which one is the flash drive
Unmount the drive if your OS automatically mounts it.
Use a low level tool to make a small partition on the disk.
Unplug and replug so your OS mounts the drive for use.
Make the hammond/xk-1c/patch, hammond/xk-1c/setup, and hammond/xk-1c/system folders in the root of the flash drive.
The rest of the hammond instructions should work fine after this process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment