🎉 We're happy to announce new public releases! ðŸŽ‰

  • SWAT v1.1r1 - Software tracing solution now supporting more architectures and operating systems - see SWAT Release Notes.
  • TriCore v6.2r2 Inspector v1.0r8 - An automated method for identifying toolset issues in compiled output code.
  • VX-toolset for Arm - v8.0r1 - A certified compiler toolset for safety-critical embedded software development on Arm cores.
Contact us to get access!

Debugger Error: Loading failed: A problem occurred during downloading

07-Jan-2025

When your application is fully located in RAM, the debugger may fail to download and run it on the target. In that case, the debugger issues an error:

Loading failed: A problem occurred during downloading


Possible solution

Certain parts of the internal memory are automatically cleared during power-on and soft-reset due to the security reasons of the TriCore/AURIX microcontroller. This can be prevented by setting the RAMIN bit-field in the register UCB_DFLASH to Don't init RAM after power on reset. This requires a third-party flash tool such as the free MemTool from Infineon. After setting this bit-field, the application can be loaded and successfully run from RAM using the debugger.


More resources

Was this answer helpful?