The problem seems to be in the 9s08qe128.S8P programming command file:
COMMENT2=S-Record Addresses $2080-$3FFF --> Page 0
COMMENT1=S-Record Addresses $4000-$7FFF --> Page 1
COMMENT3=S-Record Addresses $8000-$BFFF --> Page 0
COMMENT4=S-Record Addresses $C000-$FFFF --> Page 3
COMMENT5=All Pages can be accessed with 24-Bit Address...
COMMENT6=... eg $28000-$2BFFF --> Page 2
Why would $8000-$BFFF be mapped to Page 0, instead of Page 2? Can anyone explain Comment6?
It's not obvious how to change this behaviour on any of the other lines - is anyone familiar with these command files?
Complete file attached.
Thanks.