[SOLVED] J-flash - flashloader exceeds max. size error

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

  • [SOLVED] J-flash - flashloader exceeds max. size error

    Hello,
    I'm using the Jflash tool with a custom flashloader created using the open flash loader tool, for the Cortex-M3 r2p1. When I open JFlash I get




    - ERROR: Specified flashloader exceeds max. size of 64 KB.


    I haven't seen this in the docs so I'm asking if anyone's seen this before.


    I have a feeling it's because the .elf file is too large because we included our own library (this must be included).
    text data bss dec hex filename
    13413 100 71952 85465 14dd9 open_flash_loader.elf


    Where does the 64KB limit come from and is it possible to increase this?


    I've been changing the FlashBankInfo-MaxSize in the JLinkDevices.xml, that doesn't seem to be it.

    Thank you

    Update:
    Updated to the latest j-link version and the error seems to have went away (was using 6.34). Now have cannot find flash struct, but that's another problem.

    The post was edited 1 time, last by fire: Update ().

  • Hello,

    Thank you for your inquiry.
    Great to hear that you could resolve the issue by yourself.
    We will consider this thread as solved now.

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