Forum Replies Created
-
AuthorPosts
-
murrellr
ParticipantI changed the variable declaration to this:
char trace_buffer[8192] __attribute__((section(“.data”))) __attribute__((used)) = { 1, };
Now I get a Hard Fault on code startup processing the scatter file. I have attached an image of the Software Tracing screen.
I can’t give you the ELF file as it is proprietary data of my company.
I have spent way too much time on getting this to work and will likely develop my own solution.
Attachments:
You must be logged in to view attached files.murrellr
ParticipantThis is from the map file created by the ARM Clang compiler:
0x24002240 0x00002000 Data RW 2262 .data.trace_buffer platform.o
This is how I declared it:
char trace_buffer[8192] __attribute__((used)) = { 1, };
The page you referenced is out-of-date and the images do not match the screen.
murrellr
ParticipantWhen I use GCC, there are no embedded frameworks to select.
Going back to Software Tracing, I found if I use a n existing variable buffer, I do not need to enable relocation records. The program builds an I can create a tracepoint, but when I try debugging I get this error: System.Exception: No section covers 0x603988544
murrellr
ParticipantI have a Catch-22 situation here. The UI won’t show until I have built the project with relocation records enabled, but the project won’t build with the relocation records enabled.
Is there any way to manually edit the files to set the endo of FLASH?
murrellr
ParticipantEnabling Instrumenting of Functions forces enabling of relocation records. Is there any way to get this to work without relocation records?
murrellr
ParticipantThank you for responding. I’m not sure what you mean by “pre-sync step”. I see a “Synchronized Directories” menu on the VisualGDB properties page, but it is disabled. I should note that the project is an MSBuild project and all the files are located on my Windows PC in a Git repository. The resultant header file compiles the file contents in our application and the files are never deployed directly to the target system.
-
This reply was modified 1 year, 2 months ago by
murrellr.
murrellr
ParticipantI have a little more information. From Windows CMD I run this ssh command:
C:\Devel>ssh root@172.23.165.1 ls root@172.23.165.1's password: stty: 'standard input': Inappropriate ioctl for device stty: 'standard input': Inappropriate ioctl for device [18t
SSH is hung at this point. I have to Ctrl-C to terminate. When I add the ‘-t’ switch, it works:
C:\Devel>ssh -t root@172.23.165.1 ls root@172.23.165.1's password: BSP-VERSION.txt README.txt debug.sh initialized Connection to 172.23.165.1 closed.
So far, I don’t see any difference in the configuration of SSHD in the new or old Linux versions.
-
This reply was modified 2 years, 6 months ago by
murrellr.
murrellr
ParticipantThank you for your efforts creating this content.
murrellr
ParticipantFor complex operations, I was thinking of a built in scripting engine (javascript, python, perl, etc.) that would allow the user to massage the data before displaying it. Not all of us are proficient in C#.
murrellr
ParticipantThank you for developing this. It is very useful to me and makes VisualGDB a good substitute for Keil uVision. As I make improvements I will submit them for inclusion into the plugin project.
murrellr
ParticipantThank you for your quick response, but this version causes my build to fail. We are using armasm to build assembly language files. when armasm runs, it returns the following error:
Fatal error: A3900U: Unrecognized option ‘-asm=auto’.
The argument ” -masm=auto ” is being added to the command line.
murrellr
ParticipantAttached is a short source code file and elf file. The array under test is “int arry[10];”. I tried many command line switches to Keil armclang and armlink executables but could not get Live Watch to display “arry”.
Attachments:
You must be logged in to view attached files.murrellr
ParticipantAt the point of the crash, the stack pointer is correct. Setting “Reset device: after programming” solves the problem. Thank you for your assistance.
murrellr
ParticipantI was using threads as an example. I’d like to see semaphores and other RTOS objects. When I change the Embedded RTOS support to “Enabled by a plugin” it asks for the path to the plugin. I found this project on GitHub: https://github.com/sysprogs/RTOSPlugins/tree/master/RTXThreadPlugin I built it and VisualGDB accepted it, but still “No RTOS is detected”. Does a plugin exist for RTX5 exist?
February 21, 2023 at 05:44 in reply to: Additional ARMASM arguments in Keil settings not working. #33873murrellr
ParticipantThe installer works well. Thank you for your prompt response.
-
This reply was modified 1 year, 2 months ago by
-
AuthorPosts