 
					
				
		
hello,
can anyone send me kinetis L emmulate eeprom sample code under Codewarrior? I referred an2295sw, the program routine works under IAR, but can't under Codewarrior10.6.
after copying flash routine from rom to ram, FLASH_FlashCommandSequence can't work, program got fly everytime when run this code.
anyone please send me a demo code on Codewarrior KL flash programming is very appreciated.
 
					
				
		
 ZhangJennie
		
			ZhangJennie
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		hi hotas,
FLASH_FlashCommandSequence is copied to RAM flash programming routines. from my experience, the CW version flash programming routine code size is larger than IAR version's, increase buffer[128] to buffer[200] to make sure all the flash programming routine is copied to RAM. please try it.
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
I followed your suggestion that solved our problem.
