How to disable flash caching using Linux GDB server?

  • How to disable flash caching using Linux GDB server?

    Hello.

    I'm working on some code that modifies its flash and so I need to disable the flash caching that the J-Link does by default.

    Under Windows there's a checkbox, but how do I disable it under Linux? I'm using a J-Link Plus and the "J-Link GDB Server V6.10b Command Line Version".

    Many thanks,
    Asher.
  • Hi,

    this can be done either via the Command "ExcludeFlashCacheRange <Addr>,<Size>" or via the "exec ExcludeFlashCacheRange <Addr>,<Size>" .

    Best regards,
    Niklas
    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.