[SOLVED] JLinkCommander & JLinkDevices.xml

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

  • [SOLVED] JLinkCommander & JLinkDevices.xml

    Is where any way to add a custom flash loader to the JLinkCommander?

    the latest version 6.16c doesn't work with with my external qspi

    I'm unable to do a full erase of my qspi chip. The latest working version was 6.15e

    Erasing flash [020%]
    ****** Error: Can not read register 15 (R15) while CPU is running

    ****** Error: Can not read register 7 (R7) while CPU is running

    ****** Error: Can not read register 6 (R6) while CPU is running

    ****** Error: Can not read register 5 (R5) while CPU is running

    ****** Error: Can not read register 4 (R4) while CPU is running

    ****** Error: Can not read register 3 (R3) while CPU is running

    ****** Error: Can not read register 2 (R2) while CPU is running

    ****** Error: Can not read register 1 (R1) while CPU is running

    ****** Error: Can not read register 0 (R0) while CPU is running

    ****** Error: Can not read register 15 (R15) while CPU is running
    100%] Done.
    Verifying flash [100%] Done.

    ****** Error: PC of target system has unexpected value after erasing sector. (PC = 0x00000000)!
    ---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
    PC = 00000000
    Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
    R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------



    ****** Error: Can not read register 20 (CFBP) while CPU is running

    ****** Error: CPU is not halted

    ****** Error: Can not read register 15 (R15) while CPU is running

    ****** Error: Can not read register 7 (R7) while CPU is running

    ****** Error: Can not read register 6 (R6) while CPU is running

    ****** Error: Can not read register 5 (R5) while CPU is running

    ****** Error: Can not read register 4 (R4) while CPU is running

    ****** Error: Can not read register 3 (R3) while CPU is running

    ****** Error: Can not read register 2 (R2) while CPU is running

    ****** Error: Can not read register 1 (R1) while CPU is running

    ****** Error: Can not read register 0 (R0) while CPU is running

    ****** Error: Can not read register 15 (R15) while CPU is running
    J-Link: Flash download: Total time needed: 6.966s (Prepare: 0.095s, Compare: 0.000s, Erase: 6.840s, Program: 0.000s, Verify: 0.000s, Restore: 0.029s)

    ****** Error: PC of target system has unexpected value after restoring target. (PC = 0x00000000)!
    ---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
    PC = 00000000
    Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
    R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    ERROR: Erase returned with error code -5.
  • Hi,

    Is where any way to add a custom flash loader to the JLinkCommander?

    Yes, there is:
    wiki.segger.com/Adding_Support_for_New_Devices

    This works for all SEGGER utilities: J-Link Commander, GDBServer, J-Flash, ...

    Please note that no support is provided by SEGGER, for custom flashloaders.
    Could you please let us know which device you are using (Vendor + device name) that your QSPI is connected to?
    It would help to check if there is a regression in the current version.


    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.