Wednesday, May 27, 2015

Favorite IDE font

Today I selected new favorite font for my current IDE. It is called Consolas. It is quite nice good looking, monospaced and also clearly visible on screen. I use it of size 11. I have used it half a day and so far I am happy with it.

Monday, May 11, 2015

KEIL uVision 5 error: LOADED APPLICATION DOES NOT MATCH ROM CONTENT!

It took me several minutes to realize how to resolve this problem when you try to load your application into MCU and debug. It happens when you make some changes in the code, build it and after that start to debug. Apparently happens that situation that build in your computer is different from that one that is in the MCU flash memory as the following message tell us.

Error message is following:
LOADED APPLICATION DOES NOT MATCH ROM CONTENT!
Address:nnnn
Value=nxnn
Expected=nxnn
Please download the application into ROM.

I did not realize what is the problem immediately and googling this lead  to some wrong hints about missing header files. Actually it is very easy to make this problem go away. In the Keil uVision go to menu Flash -> Configure Flash Tools -> in the "Utilities" tab enable check box "Update target before Debugging"