[SOLVED] Possible to use ExcludeFlashCacheRange with JLinkGDBServer?

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

  • [SOLVED] Possible to use ExcludeFlashCacheRange with JLinkGDBServer?

    I need to be able to view volatile flash memory with GDBServer. I see there's a command "ExcludeFlashCacheRange", but it looks like it's only for the JLink.dll? Is it possible to pass this command to JLinkGDBServer? If I try to pass the command on the command line, it comes back as Unknown.

    I'm using the latest Jlink (v510q) with arm-none-eabi-gdb version 5.2.

    Thanks for your help.

    edit: Forgot to mention this is on mac osx.

    The post was edited 1 time, last by Austin ().

  • Hi,

    All J-Link software components in the end are using the J-Link DLL.
    So yes, this command is also available when using GDBServer.

    Just add the following to your gdbinit file/sequence:
    monitor exec ExcludeFlashCacheRange <SAddr>-<EAddr>


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.