Hi , Thanks for the response. I've tried this but it didn't work.
For you information I'm using a MCF5407, and a CodeWarrior USB TAP.
What happens, if I let the program startup, and then attach is this:
The program does break in, and shows code. If I then select run, the program appears to crash. If I single step, I can only do this for 15-20 instructions, and then the program goes off into whitespace.
I'm not sure if using ThreadX has anything to do with it, but even just selecting run, the program should not crash.
I've tried this using bareboard, or with ThreadX being selected in the debug settings, but I still get the same thing.
There must be some way to do this. If I let the program boot, and run from sdram, then running the debug as usual, without downloading the code seems to work better, but this if far from reliable.
Neil