Flasher Arm, Algo 13 error

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

  • Flasher Arm, Algo 13 error

    I am attempting to program an ARM STR912FAW46x6 microcontroller with the Flasher ARM tool. I end up with the error 'Programming failed @ address 0x00004000 (Algo13: Sector is locked)'. It seems that the programmer doesn't recognize all the available flash. This chip has two banks, so I've tried programming them separately and together.

    I found another post where someone had mentioned using the 'JLinkSTR91x.exe' application. This allows specifying the size of the flash and other config settings. I'm not sure if this is the route I should go with this problem. I found another post claiming to have the same problem and having to resort to using the r-link programmer. Can anyone shed some light on this problem?

    Programming failed @ address 0x00004000 (Algo13: Sector is locked)
    Images
    • Algo13 Sector is locked.JPG

      10.86 kB, 408×126, viewed 571 times
  • Hi,

    First of all: Which configuration do you have selected?
    Each STR91x device is available twice in J-Flash, for example:
    STR912FAW44
    STR912FAW44 (Bootbank: 1)

    Note: If you have the "Bootbank 1" selection selected, make sure that your device has been previously configured to boot from bank 1, otherwise bank 0 is still mapped at 0x0 which causes the programming to fail.


    - 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.
  • I managed to get the chip to program after using the separate JLinkSTR91x.exe to perform a full erase. My main concern now is the addressing is different than what appears in the datasheet and other programmers. Bank 0 programs at address 0 and bank 1 appears to begin at address 0x200000. But this is actually address 0x400000 in the datasheet for the STM912FAW46x6 ARM that I am programming. Why the discrepancy?