we have been using a freescale MPC5777M controller for automotive application at work. We had discovered a problem with its reset. Let me start from the top. generally we get the startup code crt0 from the compiler and it was same for this controller too, its compiler supplied by HighTec. We use a lauterbach JTag debugger. what was weird is that when we initiated a reset through the deugger the program counter would go to the Boot assist flash section and then doesnt get directed to _start(). This problem was solved by adding the right boot header at the right flash memory address. Now the reset takes place through the debugger flawlessly, but once controller is switched OFF and ON then the code doesn't run (software didnt begin).
Reset vector not working though RCHW is loaded with start address in MPC5777M?
248 views Asked by Pavan Kamath At
1
There are 1 answers
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 RESET
- How to fix overriding the main branch in Git?
- I force pushed my git repository by mistake
- Pi Pico C++ code doesn't autorun after reset
- Freeze after two subsequent software resets for Zynq 7000 FPGA (with SoC)
- How to reset field setProtection in Java
- Program loses functionality after resetting
- Resetting value when another value switches sign
- How to bulk delete all the users in an Auth0 tenant?
- How to build a reset loop in micropython
- How to set up a monthly reset function in a database
- How to explicitly declare and define a Clock and Reset in Bluespec BSV (Bluespec SystemVerilog)
- how to reset selected value of select option in shadcn ui
- How to reset imageview to original/clean state after PAN and Zoom before setting new bitmap
- Button with type reset not working for ASP.NET Core select tag helper
- c++ array of an object resets, after it gets changed in a method
Related Questions in POWERPC
- How does trace32 debugger pro work? How can I generate and import an .elf file?
- qemu-system-ppc for SMARC p2020: which CPU or machine is need?
- EnumTraits is not a class template on WebKit compilation for PowerPC
- boost-locale can't find icu/iconv
- Unable to connect to CSR Router using NCClient on PPC64LE /REL 9.2
- Is there a way to trigger a breakpoint on a register write?
- how to build a 32-bit application on a powerpc64 (target: power8) system
- I am cross-compiling MONO for a PPC32
- Exec format error while cross compiling erlang 24.0
- import pyarrow.lib as _lib ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found
- Reading time base registers in PowerPC 440 from c code
- Setting up GitHub runner on AIX server with IBM Power hardware (PowerPC)
- Reverse PowerPC's rlwinm
- gclient error when running on a POWER LE machine
- Assembly differences between unrolled for-loops cause differing float results
Related Questions in BOOTSTRAPPING
- How to bootstrap indirect relationships within a multilevel sem model?
- Node connection failed | Devops | Chef-server | Chef-node
- my cmake can't bootstrap and i dont understand
- How Can I Get Bootstrapped BCa Confidence Intervals for Spearman's Correlation Matrix in R?
- Why are all the first entries in my list NA?
- Computing p-values when using pvclust with Bray-Curtis similarity
- Can't reproduce bootstrap regression result matlab
- Can scipy.stats.bootstrap be used to compute confidence intervals for feature weighs in regression or classification tasks?
- Want to use user_data (hardening script) for EKS nodegroups with EKS module (Hashicorp provided)
- Bootstrapping function error. (Error in eval(mf, parent.frame()) : object 'dTMP' not found)
- Bootstrapping with neural networks
- Can a Service Worker update itself offline?
- How do I compile Go from sources if I received the building_Go_requires_Go_1_17_13_or_later error?
- Create a path diagram to summarise a bootstrapLavaan CFA model in R
- Use Hibernate entities only on test classpath in Quarkus
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?
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)
Perhaps the code is executing, it just stops due to the watchdog not being kicked.
The watchdog would be paused by default when the debugger is connected, so it would appear as if everything is working.
When the probe is removed and the device is reset, there may be nothing stopping the watchdog causing an interrupt.