With MDK 4.23, when I create a new project (any NXP proc) with just a startup.s, after it builds fine, when I do a 'clean target' uVision kills my source file startup.s I tried in various directories, with multiple modules .. anytime I do a clean target, all my source files get killed.
Existing example projects work fine.
Anyone any idea?
Jack
I just noticed that this happens when there is neither a different directory for the target output nor for the listings. Horrible bug!
Also, when one creates a new project (without closing the previous project, which shouldn't be necessary) and add the startup.s, then do a clean target (which will delete startup.s -- see above), and then do a save of 'startup.s' which is still showing the edit window .. it will save it in the previous project's directoty. Also when one tries to do a 'save as' of startup.s .. it opens the previous project's directory.
Seems you're not the only one experiencing this: http://www.keil.com/forum/20184/
Have you reported it to Keil?
Went back to MDK 4.22a and everything works just fine. This is true for quite a bunch of other annoying issues I have encountered in the past few days. (Like when 'Run to Cursor' not working in certain cases).
MDK 4.23 is just plain unusable and should be pulled or quickly fixed. MDK 4.22a is fine (for as far I as I can tell).