This is absolutely amazing, Hans! I had stumbled across the same Dutch forum-post a while back, and just yesterday evening had PM'd bumpkin to let him know that there really IS a solution out there! And here you go, beating me to the punch! Bravo!
And for anyone wondering, this DOES work exactly as Hans has described. I've gone so far as to take my U.S. SP2720 (with old CN NA NT v8 maps) and successfully copied the full CN EU NT 2009 mapset to it, then successfully reverted to CN NA NT 2009. I've even experimented -- successfully -- with combining portions of multiple maps into one 'gmapprom.img' file before uploading into the device, though whether you put the supplemental maps into the 'gmapprom.img' primary image or the 'gmapsupp.img' secondary image is essentially irrelevant, other than making them non-overwritable with subsequent uploading of new 'gmapsupp.img' image files, of course. A 'gmapprom.img' image consisting of the entire EU mapset and a large swath of the U.S., is one in which some might be interested, for example.
If you do decide to combine multiple mapsets into one 'gmapprom.img' image file, use the following line, which eliminates the application checking to see that you have a valid unlock code for the GPSr entered into Mapsource:
C:\Garmin\WebUpdater\WebUpdater.exe /upload_file rgn=49 path=C:\Garmin\gmapprom.img -autorun usb /iYou still
need to have a valid unlock code (or codes) compiled into the 'gmapprom.img' image file, but you
don't need to have WebUpdater check that for you
if you're certain the image file was properly created. The only reason to have it do so is as a confirmation for you so that you don't spend an hour or two uploading an image file that does not contain the proper unlock code(s). It's for
your convenience, not Garmin's
protection.
By the way, Hans, it appears that the rgn 49 value refers to a memory region within the GPSr.
In order to make things even easier and error-free, I've simply created a couple of batch files to do the job, each containing various permutations of the command line you've provided, as follows:
SP2720_Update_CNEUNT2009.bat
(contains the following command: C:\Garmin\WebUpdater\WebUpdater.exe /upload_file rgn=49 path=C:\Garmin\gmapprom.img -autorun usb /unlock_check fid=378 pid=1 /i)
SP2720_Update_CNNANT2009.bat
(contains the following command: C:\Garmin\WebUpdater\WebUpdater.exe /upload_file rgn=49 path=C:\Garmin\gmapprom.img -autorun usb /unlock_check fid=325 pid=1 /i)
(For those who don't know, a batch file is simply a text file containing the command string(s) you want, but the '.txt' has been replaced with '.bat'. Try it! You'll like it! Be sure to use a
text editor, not a
word processor to create these files!)
Then, stored in my 'C:\Garmin\' folder, I've got copies of the afore-mentioned 'gmapprom.img' files for easy access. When not actively uploading one of them, I leave them named as follows, deleting the addendum to the file name immediately prior to upload:
gmapprom.img.CNEUNT2009
gmapprom.img.CNNANT2009
In order to start an upgrade, just be certain that the desired image file has been renamed to 'gmapprom.img' (without the '.CNXXNT2009' addendum) and double-click the appropriate batch file. No need to open a DOS window first... the batch file will do it for you, and also close it when the upgrade is done. Really, really nice to avoid error-prone typing each time you want to do this. And now that you can, you
will want to play around a bit!
Below, please see WebUpdater's various command line options explicity spelled out. I stumbled across this gem when I inadvertently mis-typed something in this command on one occasion, and WebUpdater burped and presented me with this very interesting piece of documentation.
Usage: WebUpdater may be run with the following options:
<pathname> - Name of file to send to the unit
[/i] - WebUpdater should be run in installer mode.
[/k] - WebUpdater should keep running after a successful transfer.
[/autorun usb|serial] - WebUpdater should autodetect a USB or serial device and begin transfer immediately.
[/checksum_check rgn=<rgnnum> chk=<chksum>] - After transferring data to the region specified, WebUpdater will request the unit to checksum this region.
[/unlock_check fid=<familyid> pid=<productid>] - Before transferring data, WebUpdater will ensure that the user has unlock codes for the given family and product.
[/sacrifice_maps rgn=<rgnnum>] - WebUpdater will ask the unit if <rgnnum> is large enough for the data it will receive. If not, MapSource maps will be erased to make room.
[/offline path=<location of Package.XML>] - WebUpdater will perform the update using Package.XML instead of the Garmin server.
[/upload_file rgn=<rgnnum> path=<location of img file> -autorun usb|serial] - Performs image transfer.
[/offline path=<location of update files> -autorun usb|serial] - Performs all updates in the given folder.
Again, thank you very much, Hans, for an incredibly useful and amazingly-timed post! (Have you been reading my mind???? Oh my GOD!!! PLEEZ DON'T CALL THE COPS ON ME!!! )
Regards-
CD
Last edited by Chopper Dad on Thu Jan 15, 2009 8:17 pm, edited 1 time in total.