Hi everyone, I'd like to use openocd for programming the eeprom of an STM32L device. Googling, and grepping for eeprom and openocd doesn't result in much more than a hit on AVR. For AVR, eeprom programming is apparently implemented as part of the flash driver.
So, for eeprom programming on STM32s, what is the preferred approach? Make it a part of the flash driver or create a separate eeprom driver? Should there be an "eeprom" command set? I'm not familiar with openocd internals, I have just started looking at the source in the past few days. I have written a few TCL functions that handle unlocking and writing to eeprom, but now I'd like to make something that is upstreamable. My goal is to program ELF files with an .eeprom section. With that in mind, I think there should be one command that handles it all, flash and eeprom. Using "flash write_image" sounds a bit wrong. Maybe we could add a new "nvram" command that would encompass nand/nor/eeprom programming? Best regards, Bjørn Forsman ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
