Hi Kiyoshi Matsuzaki,
could you please let me know where the "sample code" is mentioned in AN4367?
Even if you want use CodeWarrior, you need not buy one.
CW can also be downloaded from Freescale website, for the special Edition and Evaluation Edition, they are also free.
compared with the formal CW Edition, the Special Edition has limitation of 128K in code size. For Evaluation Edition, the there is no limitation on code size, one month after the installation, it will auto changed to Special Edition, that is, has limitation of 128K in code size.
I hope it helps!