Dear Zhang,
thanks for your answer.
My company produce thermoregulator boards. In this board there are HCS08 microcontroller like PT60, GT60 and so on... Somentimes we need to make some bug fix, or improvements to our code, so we need to make some upgrade and distribute it to our customers. We prefer to distribute a crypted file instead a .S19 file.
Anyway my question was different. After the burner for S08 created the .s19 file, I need to run a batch to encrypt S19 file in a custom format. The problem is that if I call the batch (to encrypt) in the post build steps, the batch is called before the burner. The results is that the .S19 file is not available yet when the batch is fired. Hope this is clear.
At the moment I solve this issue in this way:
- I remove the burner from the HCS08 toolchain.
- I call a batch file, in the post build steps, that call the burner first (to generate the .s19 file) and then (the batch) call my encrypt program that crypt the .s19 file in our format.
Hope this helps
Best regards