[ABANDONED] STM32F746 programming flash in ITCM and AXIM regions

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

  • [ABANDONED] STM32F746 programming flash in ITCM and AXIM regions

    Greetings,

    Our RTOS vendor recommended migrating our application from the AXIM-bus region (0x08000000-0x080FFFFF) to the ITCM-bus (0x00200000-0x002FFFFF). Internally it's the same 1MB of on-chip flash, but when accessed over the ITCM bus it makes use of the ART flash-accelerator block. We've done the change and it works fine; however the JLink commander and the JFlash utility do not recognize the ITCM flash address range as being valid.

    We currently have two nasty hacks to work around the issue:
    1. Use srec_cat to convert the SREC to a binary and then use "loadbin" to flash it via the AXIM region
    2. Use srec_cat to offset the SREC from the ITCM to the AXIM region, and then use "loadfile" to flash it via the AXIM-bus region.

    Would it be possible to make JLink Commander accept both regions; for example by aliasing the ITCM addresses to the AXIM addresses.

    Many thanks,
    - Malcolm
  • Hello Malcolm,

    Thank you for your inquiry.
    Such an issue is not known to us.
    What J-Link software version are you using?
    The ITCM alias region has been added with V6.22 and you should be able to program your application using the 0x200000 memory access.

    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.