Search Results

Search results 21-40 of 85.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Commenting and uncommenting code is likely to confuse the issue when you have something like a hard fault. I'm actually battling one myself right now on an STM32F415. The system control block has some registers that you can inspect that can be helpful. Check your stacks for overflow if you are using an RTOS (the plugins for EMBOS and FreeRTOS will display this information). You can find hard fault handler code out there that will pull useful information off the stack. The real tool to use for th…

  • Trace with SWO

    Kenny - - SEGGER Embedded Studio related

    Post

    This somehow fixed itself. Can now connect but I'm not getting any data. I do have SWO run to pin 6 of the so-called 9-pin connector. I simply enabled SWO as a trace option and tried some things with the trace window open in the debugger.

  • Trace with SWO

    Kenny - - SEGGER Embedded Studio related

    Post

    When attempting to use trace with SWO I get a dialog "connect failed". The last line in the output window is: Executing script EnableTrace("SWO"). My target is an STM32F415. SES 3.10e. Best regards, Kenny

  • J-Link, 5V Supply

    Kenny - - SEGGER Embedded Studio related

    Post

    Hi Torsten, I do not think that the JLink 5V is enabled by default. Use JLink Commander to enable it permanently: power <state> [perm] is the syntax. Kenny

  • __ARMVFP__

    Kenny - - SEGGER Embedded Studio related

    Post

    I believe this is another artifact of the EWARM import. I have given up on this approach and exported Atollic projects from Cube which has been successful.

  • I've defined a single directory for my compiler output (*.d, *.o, *.elf, *.map etc). Over time I see a large number of files whose names begin with 'tmp'. Is this a bug? Can it be disabled? Silverback: ls tmp* tmpT2z7aY tmpgRuLoX tmptffH8U tmpyFE8nZ They seem to contain assembler output: .syntax unified .cpu cortex-m7 .eabi_attribute 28, 1 .fpu fpv5-d16 .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 1 .eabi_attrib…

  • __ARMVFP__

    Kenny - - SEGGER Embedded Studio related

    Post

    My imported ST Cube project is complaining: Quote: “ #ifndef __ARMVFP__ #error This port can only be used when the project options are configured to enable hardware floating point support. #endif” I've selected hard floating point and the correct architecture in `Code Generation` (see attached). I can hack this and try to define this macro but what is the proper way to get this work. I have another (non-Cube) based project that does not use the ST HAL for this same processor with FreeRTOS integr…

  • EWARM Import

    Kenny - - SEGGER Embedded Studio related

    Post

    I used the latest ST CubeMX to write an EMARM project and then tried to import it into SES. I selected internal toolchain only. So far I'm seeing two problems. The first is that nearly all the source files are flagged 'exclude from project'. The second is that the include files cannot be found. The project settings use the definition below. I have changed them to be prefixed with$(ProjectDir) which seems to work. Also a feature request: I have to now tell SES to include all the source files. If …

  • I haven't used this processor but I have some experience customizing SES. Here are a few things to look out for: You'll need to define a memory map and section placement file for your device. SES uses .xml files for this. They are pretty easy to edit and you can start with one for another processor. A nice feature of SES is that when you right-click a project to edit you can type in a partial search phrase. So searching for "map" of "placment" will narrow down the properties so you can see which…

  • Try "File->New Project..." then choose "An externally built executable...". Choose the correct processor and an .elf file. After the project is built you can start a debug session. I did have some problems resolving search paths for source files. Try adding directories using: Debug->Options->Search Paths...

  • I'm sorry. I don't understand what you are trying to describe.

  • I tried to use and could not. The user manual shows a list of ported template headers and it is not included. The latest GCC "Launchpad" does include this and GCC 5.x fully implements C++14 which is what I would like to do. Earlier on this forum I asked how I could point to other tools and was told I could do this by setting a single options setting but it seems that it is not this simple. The SES directory structure has as, cc1, and cc1plus etc in a single directory while the ARM directory has …

  • Yes: A.o depends on A.cpp which depends on A.py. In one IDE I have used, they optionally included a Makefile if it existed. This allowed one to build additional dependencies and rules. It's not so much that the IDE needs to build it as the build system needs to recognize the dependency and the rule to build it. Thanks, Kenny

  • I have a Python script that generates some C++ code. What is the best way to add a dependency on the C++ so that if the Python is newer the C++ will be generated during a build? My preference might to maintain a makefile that is included somewhere. Thanks, Kenny

  • Thanks for the clarification.

  • What is the difference between using the technique described in the SES manual for using the debug_* functions and including the Segger RTT files shipped with EMBOS that seem to implement the regular printf? Thanks, Kenny

  • Always this high when I let it run freely. No issues when I'm just stepping or sitting on a breakpoint. Thanks, Kenny

  • When I run my code (not halting or stepping) for just a few minutes with the debugger attached the CPU utilization hovers around 21-22%. I have a new MacBook Pro 15 with 2.5GHz i7s. Can this be improved? The fan winds up to near full speed and it's a bit loud. It acts as if it polling something without letting the thread sleep but I don't want to speculate too much on your implementation. Thanks, Kenny

  • Remove JLinkMem Dependency

    Kenny - - embOS related

    Post

    Hi Til, Yes. That was a linker error that I posted. I don't have any code related to EMBOS View in my RTOS integration code only the definition of this variable. Currently I have just set it to zero. I have the object-code license. In this case is this the best I can do? It seems that the library wants that defined.

  • Remove JLinkMem Dependency

    Kenny - - embOS related

    Post

    Nice emoji buried in there.