Hi, On Fri, Feb 25, 2022 at 01:39:15PM -0000, Milan wrote: > I try to write data to the eeprom of the stm32l151. In OpenOCD Version 0.10.0 > I > made a .bin File and write that with >flash write_bank 0 eePromFile.bin > 0x80000< > in the Eeprom of the device.
I can't see how it could have been working, guess you had some OpenOCD non-upstream fork, not vanilla 0.10.0. What I'd probably try is something like this: mww [expr {0x40000000 + 0x20000 + 0x3C00 + 0xC}] 0x89ABCDEF mww [expr {0x40000000 + 0x20000 + 0x3C00 + 0xC}] 0x02030405 load_image eepromfile.bin 0x08080000 -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com --- ** [tickets:#339] Stm32l write to Eeprom failed** **Status:** new **Milestone:** 0.11.0 **Created:** Fri Feb 25, 2022 01:39 PM UTC by Milan **Last Updated:** Fri Feb 25, 2022 01:39 PM UTC **Owner:** nobody Hi all, I try to write data to the eeprom of the stm32l151. In OpenOCD Version 0.10.0 I made a .bin File and write that with >flash write_bank 0 eePromFile.bin 0x80000< in the Eeprom of the device. With the Version 0.11.0 OpenOCD say: >Error: Offset 0x00080000 is out of range of the flash bank< I tried it with >program< and a hexfile but it is the same. How can I write to the Eeprom in Version 0.11.0 --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.