|
From: Sean de la H. <se...@gm...> - 2013-03-08 03:27:20
|
Marlon, There is a procedure in the datasheet for writing the user regs. For the LM3S9B96, check out section 6.2.3.6 in the latest datasheet. They are accessed through regular registers (0x400FE1E0 is in the Sysctl address space) and the values are committed to a region of non-volatile storage with an operation similar to writing flash. You can also use the FlashUserSet and FlashUserSave functions as guidelines in the flash.c file that's part of StellarisWare. Thanks, Sean On Thu, Mar 7, 2013 at 7:24 PM, Marlon Smith <mar...@gm...>wrote: > ** > Hi everyone, > > I'm using an Olimex ARM-USB-OCD with openocd. On the luminary > microcontrollers from TI, there are 2 user registers that are write-once. > I know they can be written using TI's LMflashprogrammer, but I was > wondering if I could do this with openOCD? I'm using GDB, and I can read > the values at those addresses, but trying to write to them gives me an > error: > > No flash at address 0x400fe1e0 > > Which makes sense, since it's not regular flash memory. > > Does anyone know how to do this? > > Thanks! > > Marlon > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > OpenOCD-user mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openocd-user > > |