Hello Boris S,
You could download CodeWarrior for PA 10.5.1 from http://www.nxp.com/products/software-and-tools/software-development-tools/codewarrior-development-to... , you could download the evaluation version to use CodeWarrior for 30 days free license, there is no code restriction in this version CodeWarrior.
You could refer to the following for PROFIBUS.
Single-chip PROFIBUS Reference Platform|NXP
http://cache.nxp.com/assets/documents/data/en/application-notes/AN4877.pdf?fsrch=1&sr=6&pageNum=1
https://www.nxp.com/files-static/training_pdf/WBNR_FTF11_IND_F0376.pdf
For PROFIBUS microcode and related questions please contact microcode vendor DOGAV: http://www.dogav.net/products-microcode.htm
Thanks,
Yiping