 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello Akshita Manwati,
Could you please describe your question detail.
How to flash hex file ? How to read ? What about the data in hex file and result of read?
You can also have a look at the flashed data in "Memory " view, check whether correctly flashed:
Have a great day,
TIC
Hello Alice
The hex file that I am flashing as mentioned in the document named ''Reprogramming a KW36 device using the OTAP Client Software" is ''frdmkw36_wireless_examples_bluetooth_glucose_s_freertos.'' Exporting the memory after flashing this hex file, the contents of memory after exporting and the hex file flashed do not match when compared.using Beyond Compare.
Thanks
Akshita Manwati
 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Akshita Manwati,
How about compare the hex file with memory view I mentioned above ?
BR
Alice
Hi Alice
On comparing with memory view some data don't match. Is it be possible due to run time changes?
Regards
Akshita
 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Akshita Manwati,
After download hex file, do not RUN, first compare.
And how about other project ?
How do you flash?
BR
Alice
Hi Alice
I am using NXP IoT Toolbox box app to flash the hex file. After flashing I compare the data in the memory, so for doing this I have to RUN and then flash. For all other projects I use the same method.
Thanks and regards
Akshita
 
					
				
		
 estephania_mart
		
			estephania_mart
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
Are you considering the bootloader space when you do the memory dump?
Please remember that a special bootloader was flashed and the application that you build separated has an offset, so if you are comparing the complete memory with just the application file it won't match.
Regards,
Estephania
Hello Estephania
I am considering the bootloader space and then flashing my hex file.
Regards
Akshita
 
					
				
		
 estephania_mart
		
			estephania_mart
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
Yes, I understand that it's the process you are following, but you mention that the hex files do not match between the application you are flashing and the memory dump.
When you are comparing the hex files are you considering the diagram I'm attaching? Or are you just comparing the hex file from the offset that you add to the application when you compile it?
Regards,
Estephania
Hello
I am comparing the hex file from the offset that I have added to the application.
Regards
Akshita
 
					
				
		
 estephania_mart
		
			estephania_mart
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
Which are the differences you are seeing, are you considering the format of the OTA image? How exactly are you generating the memory dump and the output in hex file ?
 
					
				
		
 estephania_mart
		
			estephania_mart
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
It is good that you were able to solve your issue.
Regards,
Estephania
