On 3.2.2015 11:11, Paul Fertser wrote: > Hi, > > On Tue, Feb 03, 2015 at 09:39:34AM +0100, Tomas Vanek wrote: >> I started working with Kinetis MK22FN1M0VLL12 > There's also an open issue regarding other Kinetis issue which is > related: http://sourceforge.net/p/openocd/tickets/73/ . I'm aware of this ticket. To be honest I do not understand. >> Warn : 157 148158 kinetis.c:1261 kinetis_read_part_info(): Flash >> ordinal/bank number mismatch > The logic regarding bank_ordinal seems to be buggy, as this variable > is never assigned anyway. The kinetis driver really need some love... I noticed it in the code. >> I investigated the problem further and found that programming session of >> length 1kB or less works. >> Reference manual K22P100M120SF5RM does not help here. > As far as I can tell, Freescale's FAEs are rather smart and can > hopefully help clarifying this, probably worth trying an erase + write > session with -d3 and sending them a log along with the specific > question. For the moment I can program at least part of pflash with modified driver (programing section limited to 1kB). As I do not have an experience with any other Kinetis MCU, I'm far from proposing any patch or whatever. I also have a MKL17Z256VLH4 (granularity 6 ??!) and MKE06Z128VLD4 not tested yet. I'm a bit afraid to try them.
Situation looks like the driver is little bit abandoned, isn't it? Tom ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel