murrellr

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • in reply to: Getting thread execution timing for Keil RTX5 #37427
    murrellr
    Participant

    I 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.
    in reply to: Getting thread execution timing for Keil RTX5 #37425
    murrellr
    Participant

    This 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.

     

    in reply to: Getting thread execution timing for Keil RTX5 #37423
    murrellr
    Participant

    When 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

    in reply to: Getting thread execution timing for Keil RTX5 #37419
    murrellr
    Participant

    I 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?

    in reply to: Getting thread execution timing for Keil RTX5 #37417
    murrellr
    Participant

    Enabling Instrumenting of Functions forces enabling of relocation records.  Is there any way to get this to work without relocation records?

    in reply to: Always run a program before build #36811
    murrellr
    Participant

    Thank 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.
    in reply to: Can’t create SSH session to deployment machine #35385
    murrellr
    Participant

    I 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.
    in reply to: Live Watch Plugin Development Guide #34056
    murrellr
    Participant

    Thank you for your efforts creating this content.

     

    in reply to: Live Watch Plugin Development Guide #34035
    murrellr
    Participant

    For 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#.

    in reply to: Keil RTX5 RTOS not detected #33925
    murrellr
    Participant

    Thank 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.

    in reply to: Live Watch only shows element zero of an array. #33910
    murrellr
    Participant

    Thank 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.

     

    in reply to: Live Watch only shows element zero of an array. #33899
    murrellr
    Participant

    Attached 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.
    in reply to: Hard fault after flashing. #33895
    murrellr
    Participant

    At the point of the crash, the stack pointer is correct.  Setting “Reset device: after programming” solves the problem.  Thank you for your assistance.

     

    in reply to: Keil RTX5 RTOS not detected #33884
    murrellr
    Participant

    I 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?

     

    in reply to: Additional ARMASM arguments in Keil settings not working. #33873
    murrellr
    Participant

    The installer works well.  Thank you for your prompt response.

     

Viewing 15 posts - 1 through 15 (of 16 total)