Search Results

Search results 1-20 of 85.

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

  • I don't believe that first point is true. I had not included that code and wasn't trying to link two sections to the same place. What I had done was define the vector table in C++ as an array and placed that in the section .vector. But I understand that I am asking too much for you to debug this issue without the actual code. I have the solution above which is based on the code you pointed out so that's fine. If the linker placement issue comes up again I'll submit an isolated project to recreat…

  • I was able to link the above and place the bytes correctly but I changed the device to the "allow security" version. Now I'm running in to errors when attempting to download the application. I realize that I effectively included these bytes but changed to the "allow security" version of the chip which is incorrect. But if I don't define those bytes and place them at 0x400 what will prevent the linker from writing odd data to that special location?

  • I created a separate assembly file: Source Code (13 lines)Then used the following in my flash placement file: Source Code (5 lines)This is satisfactory but I'd like to understand why my original approach did not work.

  • Hi Nino, I am aware of this code. Can you answer my question? Why does that not work? What is the correct way to do this? I don't understand why that wouldn't place those 16 bytes at 0x400. Can you elaborate on the differences between the "allow security" selection? While I appreciate that you make efforts to ease development it's important to understand what is actually being done by the debugger or the source files that are copied to the project. Related: What is the option to configure the J-…

  • I've defined the following in a C++ file and it isn't referenced by anything. I'm just trying to configure the 16 bytes used by the Kinetis K64 flash protection mechanism.. Source Code (7 lines) I'd like to place it at 0x400 but this doesn't seem to work: Source Code (1 line) It seems to work fine for my vector placement: Source Code (1 line)I'm using MacOS SES 4.10a. Thanks.

  • I'm using SES 4.10a on MacOS. It generates <ProjectName>_<Configuration>.jlink files when I start a debug session. For example: SPA_Debug.jlink. These are formatted as so-called settings files rather than script files and I read that the settings files are deprecated. Why then are these still generated? Is there an option to specify a path to this file or to suppress them? Thanks.

  • I believe the J-Trace Pro operates 4 lanes at 150 MHz but that it is double data-rate so 4 at 300 MHz. What are the limitations of this device when used with a core running at 600 MHz or above? For example the i.MX RT1050 Cortex-M7 devices from NXP has a maximum clock speed of 600 MHz and some Cortex-A devices clock at over 1 GHz.

  • Re-reading my own post, there is the original question: Why didn't execution halt on the second hardware breakpoint? Especially if the trace addresses are reliable. I did eventually resolve this issue. Interrupt code was running in the same block during a program or erase of a sector in that same block. That's why a routine was copied to RAM. This is known problem with these processors but it is not well described in their application note. Maybe there is a hardware bug of some kind or a limitat…

  • Yes. Knowing that the addresses are dependable is very helpful. Thank you.

  • I believe these conditions were satisfied during my last debugging session. I understand that in my original setup, where ReadIntoTraceCache is called in AfterTargetDownload, might have been a problem. Do you think you can describe how the debugger interacts with the ETM/ETB a little more deeply? When ReadIntoTraceCache is called does that build a map of addresses and the instructions in memory (at that time of course)? Then the ETM is configured to deliver only addresses to the ETB? The debugge…

  • These are not garbage instructions. They are the correct block copied from flash. I also tried an experiment where I only called ReadIntoTraceCache with the exact amount required for the function and got Unknown Addresses.

  • My target processor is a Kinetis K64 which has an ETB. I am using trace with Ozone over SWD. At first I was getting Unknown Address in the trace listing and corrected this by adding Exec.Command("ReadIntoTraceCache 0x1FFF0000 0x40000") to AfterTargetDownload(). A block of flash beginning with the function of interest is copied to RAM and that function is called using the appropriate pointer-to-function. The copied block is larger than the function of interest so additional, unused, instructions …

  • I have two timer interrupts which both use OS_Enter/OS_LeaveInterrupt. One has a higher priority than the other. Both are at lower priorities (higher values) than the fast interrupt. My understanding is that these routines disable interrupts that are not so-called fast interrupt. Using a scope I set two GPIOs high when entering these routines and low when leaving. I can clearly see the lower interrupt preempted by that with the higher priority. From the Cortex-M EMBOS manual: Quote: “OS_EnterInt…

  • Silly mistake on my end. I had the 19-pin adapter connected to the Target side instead of direct cable to Target + Trace. ...... I'm not seeing any trace data. Traceport with 4-bit is selected. When I step the Trace LED blinks orange and the debugger stepping is definitely slower. If I run the Trace LED is always orange. This is a custom board. J-Trace for Cortex-M V3.2 SES 3.10i OS X 10.11.6 (El Capitan)

  • Flashing (1 Hz) Red LED

    Kenny - - J-Link/Flasher related

    Post

    It's 500/500 ms. It does this when disconnected from the target altogether. Had no functional issues all weekend while debugging. Actually the red/green is appropriate for the holidays.

  • Flashing (1 Hz) Red LED

    Kenny - - J-Link/Flasher related

    Post

    Hi, I have a JLink Plus V9.3 attached to a new board containing an STM32F746 and the red LED is flashing at 1 Hz. The manual suggests that this is a fatal error. So far things seem to be working correctly. The board brings out trace to the 19-pin Cortex connector. Thanks, Kenny

  • There is no application but DHCP is working and acquires a lease. PHY address was set to 1 by default in Cube rather than 0.

  • I used the ST Cube software to export source as an Atollic TrueStudio project and imported it into SES. My goal is simply to get the LWIP stack up and running with FreeRTOS on the STM32F746 Nucleo board. This first commit will build and prints 'Hello' once a second to the output window using RTT. My next step is to see if I can one of the basic LWIP demos to run. Maybe it will right away but if it doesn't then perhaps others may be interested to help me get this going. If nothing else you may re…

  • It would be useful if one could recursively convert a dynamic folder to a regular one. Also would it be possible to exclude an item in a dynamic folder from a build? I'm exporting code from ST Cube, creating an SES project, then importing that code using dynamic folders (because there are many and they are deep). I would like to exclude the vectors and reset handler and use those provided by SES. As it stands the easiest thing to do is remove those unwanted files (or at least move them to a fold…