I would like to understand how to debug and find the root cause of a software reset or a Vector Catch reset. Suppose I am using the AUTOSAR framework, and when I flash the code, I am experiencing continuous resets. I want to know what the possible ways are to debug the software reset in the ECU. Some of the ways i found like stack trace, logs print etc.. . Is there any other ways ?
How to debug the software reset in the ECU?
121 Views Asked by user2986042 At
1
There are 1 best solutions below
Related Questions in DEBUGGING
- How to pass the value of a function of one class to a function of another with the @property decorator
- Visual Studio C++, breakpoints not stopping debugging DLL (GODOT GDExtention)
- Playwright JS: Getting an error when debugging using line numbers
- C++ skips line when promting for user to enter name of person being added to a string array
- Xcode: Can't Attach to process
- unity navmeshsurface prefab not found or whatever
- It seems to be a bug about "base::trace()" or "methods:::.TraceWithMethods()"?
- How to check reference counting issues when doing direct manipulations of CPython objects?
- How to scroll to the bottom of console window in PyCharm2019 automatically?
- need help debugging prolog
- Is there a way to deactivate (but not delete) conditional breakpoints when debugging?
- How can i debug a python exe which is created by using pyinstaller?
- Increment or Decrement volume programmatically on Xiaomi device adjusts it by 10 steps instead of one step
- Checking request JSON with image data
- Why cannot I set font of `xlabel` in `plotmf` in MATLAB?
Related Questions in MICROCONTROLLER
- ESP32 Consequtive Interrupt WDT Timeout Exception
- STM32G030 refuses write to flash
- can't configurate VL53l0x api
- STM32L011K4Tx Compare toggle not working as expected
- How to get PC of first instruction of inline asm block (C)?
- ESP-32 (FreeRTOS): The serial monitor prints unknown symbols (???) instead of a string
- SWO on a Blackpill board
- I2C LCD1602 interfacing with PIC16F877A
- J-Link script to flash program in S32K144 (allow security)
- Design of a function that modifies from 1-4 values of a register
- Is it possible to change values of the zephyr-rtos configuration file prj.conf using CMake arguments?
- Memory Aliasing to a specific Flash Sector
- How to make a proper delay in a microcontroller?
- USART to serial monitor/pc STM32
- How to use a c++ class as wrapper for timer-interrupts on RP2040 (RPPico)
Related Questions in AUTOSAR
- How to decrypt data in arxml
- AUTOSAR Multiplicity * means 0 .. n or 1 .. n?
- How to define "Dem_EventStatusType" in case the state is neither in prepassed nor in prefailed condition?
- AUTOSAR Trusted function in QM application
- SenderReceiverInterface with multiple data elements difference from multiple ports and each with single data element
- File Structure of AUTOSAR BSW Modules
- AUTOSAR COM ISignal Receive Filter Default Value for Receiving ECU
- How to debug the software reset in the ECU?
- How to make CAN Frame Identifier as Dynamic Data Element in AUTOSAR ARXML File
- JAXB xjc: Resolving Illegal Class Inheritance Loop When Generating Classes from AUTOSAR XSD
- AUTOSAR BOOLEAN Size is how many bits
- AUTOSAR CanTpAddress and ISO 15765 CAN N_PDU relation
- Autosar based Secoc
- CANDBC and ARXML difference
- Does the leaf type of an array implementation data type follow type reference?
Related Questions in TRACE32
- what does this line mean in trace32 scripting and is there a better way to understand .cmm scripts of trace32?
- How does trace32 debugger pro work? How can I generate and import an .elf file?
- How to debug the software reset in the ECU?
- In Trace32, is there a way to use relative paths that are relative to a .men file?
- Automate the Tile Windows in CMM script
- Logging PC values to a file in Trace32
- Trace or log values of CPU register
- Break core execution when external device modifies an address
- Is there a keyboard shortcut in TRACE32 to start writing commands?
- Trace32 ARM JTAG Debug watch & stack variables not displaying updating values even on break
- Interpretation of trace (.ad) file (without the involvement of TRACE32) [CPU Load]
- How to print/log the CPU performance data from TRACE32?
- How to write a float value to a csv file using cmm scripts
- Using get_macro to obtain the value of a practice macro truncates the returned value
- what does a FLOW ERROR (BAD TRACE PACKET ON D-SIDE) indicate in Trace32?
Related Questions in LAUTERBACH
- How does trace32 debugger pro work? How can I generate and import an .elf file?
- How to debug the software reset in the ECU?
- Automate the Tile Windows in CMM script
- Logging PC values to a file in Trace32
- Run Lauterbach t32tcpusb from a docker container: no such file or directory
- Trace or log values of CPU register
- Break core execution when external device modifies an address
- Setting Trace32 in standby mode
- Lauterbach Difference Hardware - Software - Onchip Breakpoints
- Tracing one function in AUTOSAR stack with Lauterbach
- Interpretation of trace (.ad) file (without the involvement of TRACE32) [CPU Load]
- How to print/log the CPU performance data from TRACE32?
- How to write a float value to a csv file using cmm scripts
- Using get_macro to obtain the value of a practice macro truncates the returned value
- what does a FLOW ERROR (BAD TRACE PACKET ON D-SIDE) indicate in Trace32?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you are able to run the code for at least some of the instructions sets I will recomand first to have a look at the reset flags of status registers. Depends on the microcontroller you can get useful information for the beggining in order to isolate your reset cause and understand from which module/zone is comming the reset/vector catch. The search area for such things is quite large and there can be problems on the order of read/write RAM, incorrect PORT initialization, etc. It will be helpfull if you can briefly describe what are you up to do in the software and we can give you a more precise answere in terms of investigation.