[SOLVED] Break OpenFlashLoader at least since v6.20e for Cortex-R4

  • Hello!

    I use OpenFlashLoader for programming EEPROM on my custom board with RM46L852 chip.

    v6.18c is working. But JLinkARM.dll from v6.20c or v6.20e is not working: message "Unsupported CPU" appears.

    What does it means?

    Regards,
    Vitaliy

  • Hi Vitaliy,

    Open Flashloader is supported on Cortex-M/R/A targets.
    Could you please provide us with a screenshot of the error message?
    Which application (J-Link Commander, J-Flash, 3rd party IDE) do you use with Open FlashLoader?

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

  • Hello, Nicklas.

    I use JLink.exe.
    Here is your template project for Segger Embedded Studio (Cortex A/R core) with smallest modification for working on RM46L852 chip.
    Also I add a sample of JLinkDevices.xml for working on my chip.
    If you add JLinkARM.dll from Segger JLink v6.20e and JLink.exe in working directory and run test.cmd then you get that log:

    If you change JLinkARM.dll from v6.18c then you get expected log:

    For v6.18c there is expected verification error because of non-existing eeprom programming algos in my sample.
    For v6.20e there is unexpected error: "****** Error: FLASH_CMSIS: The connected CPU core is not supported by this flash module."

    Regards, Vitaliy

  • Hi Vitaliy,

    We could reproduce this issue and fixed it internally.
    Please find a preliminary version for download here:
    download.segger.com/Niklas/JLink_V621c_Preliminary_OpenFlashloaderAR_Fix.7z

    Could you please give it a try and provide feedback if it works for you?

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

  • Hi,

    thanks for the feedback and good to hear that it works for you!

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!