Tomas, I am trying to add the new K22s. Detecting the DIEID is easy, and I noticed that I can't use the SECTION support to write the flash as that needs FlexRAM. The device currently uses the LONGWORD method to program the flash, but it doesn't seem to work. For some reason, every time I program the device, it ends up in secured state.
Any idea what's going on? I use the exact same binary with the PEMicro programmer and pegdbserver without any issues, so the setting of the flash bits inside the elf file are not the problem. Do we need a special case for the K22 and erasing those flash bits? I remember seeing something like this in the Freescale version of openocd. - Thomas On Tue, Sep 29, 2015 at 4:34 PM, Thomas Schmid <[email protected]> wrote: > Tomas, > > Made a review for the earlier patch. Do I need a device with flexnvm to > test 2958? > > > - Thomas > > > On Tue, Sep 29, 2015 at 3:21 AM, Paul Fertser <[email protected]> wrote: > >> Hey Tomas :) >> >> On Tue, Sep 29, 2015 at 11:06:21AM +0200, Tomas Vanek wrote: >> > And if you want to help, [2]http://openocd.zylin.com/#/c/2958/ >> > needs a review - it is kind of trivial change and I'd like to have it >> merged >> > before I upload >> > new work: I fixed FlexNVM/data flash handling in Kinetis driver. >> >> Please feel free to simply declare kinetis patches ready when you feel >> like it, and I'll turn your +1s into +2s. >> >> -- >> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! >> mailto:[email protected] >> > >
------------------------------------------------------------------------------
_______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
