[ABANDONED] CrossWorks, Jlink, SWD, Debug disconnect on pause

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

  • [ABANDONED] CrossWorks, Jlink, SWD, Debug disconnect on pause

    The error occurs when I try to pause the debugger, I get a 'Mis-aligned
    memory read: Address: 0xA5A5A5B5, NumBytes: 4, Alignment: 4
    (word-aligned)' The error message is coming from the JLink Log

    I tested the Jlink+ using a standard JTAG interface and I did not get
    the problem.

    The only differences between the 2 systems are that the JTAG system is a
    Cortex-M3, the error system is a Cortex-M0, debug interface is SWD, and
    is running FreeRTOS. I also tested using the original CrossLink
    debugger (Olimex design), level shifter board, interfaced using 2 signal wire SWD. I can start and stop
    (pause) the debugger at will with no errors. It is something Jlink
    related.

    I'm using Rowley CrossStudio 3.5. Any idea about this?
  • Hi,


    well the error message is correct, reading 4 bytes from 0xA5A5A5B5 is a mis-aligned memory read.
    Who is requesting this read? Is there a watch-window etc in Crossworks which reads from this address?
    0xA5A5A5B5 also does not seems like a memory address someone normally wants to read from.


    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.