In fact, my application is a little more complicated.
I have 2 MQX application running on the same kinetis, but not together.
One is flashed @0x00000000 and second @0x00041000 (first and second half of internal flash memory).
First application is a boot-loader running from start of ROM and use as loader/application updater/maintenance code.
Second is my real application (analog data measurement).
When request in first code (automatically, command line or cgi script) we invalidate interrupt, get SP and PC from second application, and call it. This work very well with j-trace connected (in all mode of use).
As soon as i disconnect debugger ("Stop debugging" red cross button in IAR IDE) going from loader to second application do not work anymore. And i have no more debugger to understand what appends!
Note: second application, linked at adresse 0x00000000 work without any problem.
Any idea/suggestion? Where can i look? What can i do?