I need a way to send some data to the ucontroller through Trace32. I heard that this is possible some way, but I have no idea where to start.
What I am actually trying to do is run a piece of code on a Aurix TC297 ucontroller to do some measurements (runtime, RAM, etc.). This piece of code is actually a Kalman filter that needs as input a vector of structs that I have too send from the computer through Trace32. Please help !
How to send data to target through Trace32 debugger?
1.6k views Asked by El Puerco Total At
1
There are 1 answers
Related Questions in EMBEDDED
- MSP430F5529 on the MSPEXP430F5529LP: UART is not actually transmitting despite seemingly correct setup. What is wrong?
- A FPGA Project Proposal where I can use both PS and PL
- Program doesn't run after DFU
- Sending struct through queue
- How to generate a VPI warpmap for polynomial distortion correction?
- How to present this example concept in UML: Using 2 LCD displays in C/C++
- CLion: Debug via St-Link
- Portenta H7 Baremetal Development and a Little Guidance on Embedded System Learning Roadmap
- STM32 RTC3 Mixed Mode: Writing TR resets SSR
- Unable to read value from gpio set as input
- Mbed TLS: in-place en-/decryption for OAEP doesn't seem to work
- Shared variable read from low priority thread in preemptive scheduling
- Own Pattern / framework for interfacing with components in C
- Performance Difference Between Global Variable and Local Variable in Embedded Systems
- Comparing analog signal from Electret mic with samples
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?
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)
"A way to send some data to the ucontroller through Trace32" is a little bit vague. There are various possibilities depending on what your actually try to achieve and might also depend on the used CPU family and target OS. Anyhow one of the following might work:
Data.Setcommand.Data.LOAD.Binarycommand for a raw binary file.Var.Setcommand.FLASH.AUTOcommand in addition to the previously mentioned commands (after declaring the flash memory to TRACE32).FLASHFILE.Setcommand (after initialization of the FLASHFILE programming system).SYStem.MemAccessand use the memory access class prefix "E".E.g.
Data.Set E:<addr> <data>or
Var.Set %E <expression>.FDXfor a bidirectional data transfer between debugger and a running target application.TERM.GATEcommand.