Forum: ARM programming with GCC/GNU tools Define second flash bank in STR75x

Author: Jack Peacock (jakbird)
Posted on:

Rate this post
0 useful
not useful
The STR750 has two flash banks, one at 0x20000000 and a second,
independent bank at 0x200c0000.  The OpenOCD examples show how to define
the first bank, but it isn't clear how the second flash bank is defined.

flash bank str7x 0x20000000 0x00040000 0 0 0 STR75x

works for the first 256KB bank, but for the second 16KB bank I tried:

flash bank str7x 0x200c0000 0x00004000 0 0 1 STR75x

which returns an error of missing target 1.  Does OpenOCD support a
second flash bank for this CPU?


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.