Hi,
it seems to me that this erasure is not related directly to the bootloader but rather to the "organizational" structure of the Flash itself.
If your data are at 0x1A00 address, the 512B erase page boundary starts at 0x1A00, ends at 0x1BFF. As you mention, no S19 (hex) data should appear in your code.
If there's no data in that page, master side of the bootloader does NOT issue a Erase command to that page. You can verify this by using Debug version of hc08sprg.exe (find attached). It displays all commands and communication issued during the bootloading. Please, check this.
On the other hand, you can even use the bootloader to store just the MAC address, if you have "MAC address only" S19 file like this:
Code:
S1071A00313730311C
S9030000FC
issuing the bootloader for the second time after your code is loaded.
Pavel (an2295 bootloader developer)
Message Edited by t.dowe on 2009-09-03 05:14 PM