For Windows:
Download sansapatcher.exe from
http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/win32/sansapatcher.exe Download the new bootloader (see Soap's link above to the Flyspray task)
While logged in with an administrator account run sansapatcher:
For a c250:
C:\c200>sansapatcher -a firmware.mi4
sansapatcher v0.7 with v5.0 bootloaders - (C) Dave Chapman 2006-2007
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[INFO] Scanning disk devices...
[INFO] c200 found - disk device 3
[INFO] Reading partition table from \\.\PhysicalDrive3
[INFO] Sector size is 512 bytes
[INFO] Part Start Sector End Sector Size (MB) Type
[INFO] 0 1017 3972095 1939.0 FAT16 (0x06)
[INFO] 1 3972096 4013055 20.0 OS/2 hidden C: drive (0x
84)
[INFO] Bootloader firmware.mi4 written to device.
For a c240:
C:\c200>sansapatcher -a firmware.mi4
sansapatcher v0.7 with v5.0 bootloaders - (C) Dave Chapman 2006-2007
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[INFO] Scanning disk devices...
[INFO] c200 found - disk device 3
[INFO] Reading partition table from \\.\PhysicalDrive3
[INFO] Sector size is 512 bytes
[INFO] Part Start Sector End Sector Size (MB) Type
[INFO] 0 1023 1965567 959.3 FAT16 (0x06)
[INFO] 1 1965568 2006527 20.0 OS/2 hidden C: drive (0x
84)
[INFO] Bootloader firmware.mi4 written to device.