Hi,
After updating to uVision 4.53 I noticed that the debug sessions did'nt work properly with the SAM-ICE emulator from Segger: -If I set a breakpoint at line n sometimes the code execution stops at line n-1. -If I use the step-over function (F10) it does the same as the step-into funtion (F11), and I have to manually force a step-out (Ctrl+F11) on every function.
The firmware of the SAM-ICE was correctly updated after connecting it to the PC and starting a debug session with uVision. I also tried to download and update to the latest version of the Segger tools (V4.50j), wich actually replaces the DLL's provided by Keil, so if I check the system it says:
DLL version V4.50j, compiled Jun 26 2012 09:19:07 Firmware: J-Link ARM V6 compiled Jun 20 2012 19:43:26 Hardware: V6.00
Is there a patch or workaround for this issue? Maybe a specific configuration whether of uVision or Segger Tools?
Thanks.
Sebastian.
Sebastian;
This is a good post to send directly to Keil Tech Support. Remember, tech support does not normally monitor this forum. Just user like you and me.
Bradford
Have you checked carefully to see if these could be optimisation issues...?
Optimization is set to Level 0 (-O0). By the way the code is compiled in Thumb Mode, using Cross-Module Optimization and MicroLIB. Using the same code and the same configuration with MDK 4.23 I had no issues while debugging with SAM-ICE.
I'll follow Mr. Bradford's recommendation and send this to Keil Tech Support.
Just to close the thread: I contacted ARM support and there was effectively a problem with J-LINK and THUMB mode (ARM works fine). A patched version of JLTAgdi.dll that solves the issue will be included in the next release.
Best regards.