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"

Tuesday, November 25, 2014

Silabs Simplicity Studio issue

Recently this happened to me also:
Simplicity Studio stops in the middle of loading with message: Could not create the view: com/silabs/studio/interna/api/launcher/product/data/MCUDataManager.

Here is proven solution that resolves this problem:

  • Close any documents or debug sessions you have open.
  • Hit Ctrl-3 ("Quick Access") and type "Check for Updates".  Select that Command entry and double-click or press Enter.
  • The "Available Updates" dialog should appear.
  • The dialog will tell you "The operation cannot be completed."  Scroll down to "Eclipse Platform" and uncheck that.
  • Hit Next twice.  Accept the licenses.  Hit Finish.
  • After the update completes, restart Simplicity Studio.
  • You should see a dialog about the new GNU ARM 4.8 toolchain and new part support (this is the expected outcome of the original update). 
  • If you want the tools and support, say Yes, and update / restart again.  (You can install them later if needed.)

Wednesday, October 15, 2014

Marketing toy: Talking hamster

Recently my family won electronic talking toy by buying instant coffee "Jacobs 3 in 1". Toy is a little funny but nothing sophisticated. It records load sounds around itself and after a moment plays them back. When playing sounds it is also bouncing its head up and down. It operates using 3 AAA size batteries.
Talking hamster
Unfortunately this toy was too loud for my little son. It scared him. I disassembled it and found that audio signal current is limited with series resistor in speaker circuit. Originally there is 3 ohm. Replaced it with 10 ohm. Probably this value could be even more bigger, because sound is still in medium level. But this was first available part I found so it is OK. In picture below green circle shows location of this resistor.

Inside of hamster  


Resistor helped with sound level, but other problem stays. Hamster moves its head too quickly anyway. I did not start to investigate this problem. It is a silly toy anyway. :)

Monday, September 29, 2014

MAX232CPE quality

Recently bought MAX232CPE from local retailer. I was surprised when saw package print. Logo looks strange and suspicious, printing quality would be better. I can not exclude that MAXIM is done changes to logo and made it more artistic. Whatever I don't know yet if part is 100% operational, but in mockup device it gives some living signs.
MAX232N package
MAX232CPE package photo

Friday, September 5, 2014

DLL Export Viewer language localisation

Recently I took a chance and translated interface of one programmer's utility. It is called DLL Export Viewer. As program author writes on his page about this program: This utility displays the list of all exported functions and their virtual memory addresses for the specified DLL files. You can easily copy the memory address of the desired function, paste it into your debugger, and set a breakpoint for this memory address. When this function is called, the debugger will stop in the beginning of this function. 
Now this software is available also in Latvian. To use different language interface download your desired language zip file if available from developer's website and extract file dllexp_lng.ini in the same folder where executable file is located.
DLL Export Viewer is available here.