Showing posts with label DAS. Show all posts
Showing posts with label DAS. Show all posts

Friday, November 6, 2015

uVision UDAS debugger connection problem

Recently I was getting strange error when trying to debug sample software on Infineon XC800 Starter Kit. Previously it was all ok, but now I got error messages in uVision output window:

Searching for DAS Server 'UDAS'...
DAS Server 'UDAS' is installed.
DAS Server 'UDAS' is not started yet. Trying to start it now...
DAS Server 'UDAS' has been started successfully.
Warning: Unknown JTAG ID=00000000. Assuming an XC866-4FR device with 16K flash

 I struggled for a while with the same problem but without success. Finally decided to search Internet and found some guidance here. I decided to switch mini-USB cable and problem disappeared immediately. Apparently I was using some random cheap low quality cable this time. Took another good thick cable and everything was fine.

Some lesson to learn. Always use good cables and check Internet after a moment if you are not succeeding to resolve problem soon.

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"