I tried to create a bootloader for mc9s12dp512 or mc9s12dp256b.
I downloaded AN2720 package and did a test.
I used the all code from AN2720 and I did not change anything!
AN2720 could erase and flash Page 3F, 3E, 3D, 3C (block 0), when the flash routines are located in page 3D. It is very good!
However, it is strange that AN2720 functions COULD NOT erase and flash the pages such as 3B, 3A, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30.
Can anyone help me to solve this problem?