 
					
				
		
This is 100% reproducible for me under KDS 3.0. If I delete the Generated_Code folder and then click "Generate Processor Expert Code" (for example, if I want to clean up a project because I have removed many components), Processor Expert will create the Generated_Code folder and the SDK sub folder and the operation completes, but it will not create the other source files, like Cpu.h, Cpu.cpp, etc.
Anyone else having this problem? If I delete only the contents of the Generated_Code folder, it usually hangs when I click the generate code button. If it hangs on the writing files step, after closing KDS, the files referenced above appear.
Solved! Go to Solution.
 
					
				
		
 liborukropec
		
			liborukropec
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Do you delete the Generated_Code folder inside the Eclipse, or outside (other File manager, Explorer, etc)? The latter can confuse Eclipse.\
EDIT: I reproduced the issue when the folder is deleted outside of the eclipse independently on Eclipse preferences for refreshing workspace. I'll log bug report.
Workaround: delete the folder inside the eclipse project explorer.
 
					
				
		
 liborukropec
		
			liborukropec
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
can you share more details, what processor, what SDK version are you using and if you use stock KDS 3.0 or whether you installed any update?
Thank you,
Libor
 
					
				
		
This happens with the MK64FN1M0VLL12, MK22FN256VLL12, and MK22FN128VLL10, which are the processors we currently use. I only have installed the required eclipse update for KSDK 1.2 and the MQX TAD plugin. I am using KSDK 1.2.0.
 
					
				
		
 liborukropec
		
			liborukropec
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Do you delete the Generated_Code folder inside the Eclipse, or outside (other File manager, Explorer, etc)? The latter can confuse Eclipse.\
EDIT: I reproduced the issue when the folder is deleted outside of the eclipse independently on Eclipse preferences for refreshing workspace. I'll log bug report.
Workaround: delete the folder inside the eclipse project explorer.
 
					
				
		
Thanks, Libor. I do delete it from outside of Eclipse, but I will use your workaround in the future!
 
					
				
		
 MarekTrmac
		
			MarekTrmac
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I'd recommend to set both "Refresh" check-boxes located under "Window - Preferences - General - Workspace". This improve detection of changes, that are done on the disk outside the Eclipse.
 
					
				
		
 BlackNight
		
			BlackNight
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Setting that 'Refresh' option in "Window - Preferences - General - Workspace" generally is not recommended, as it slows down Eclipse.
Instead, doing an F5 (or context menu > Refresh) should help too.
Erich
