Looks like a false alarm. I tried to recreate the issue today, and switched
the programmer (i.e. same model, different physical device), and everything
seems to work. Must have broken the JTAG somehow :(

- Thomas


On Thu, Oct 29, 2015 at 2:32 PM, Thomas Schmid <[email protected]>
wrote:

> Tomas,
>
> I found a bug. Today, I tried to write a flash image of >128k onto a
> MK22FN25612 and it failed to write to any location > 128k. Using the same
> binary, but the PE micro utility works just fine. I will try to get a log
> trace to see what's going on.
>
> - Thomas
>
>
> On Sat, Oct 3, 2015 at 4:19 PM, Tomas Vanek <[email protected]
> > wrote:
>
>> Thomas, huge thanks for testing.
>> It seems that you do not have a FlexNVM device, do you?
>>
>> To anybody:
>>
>> If you have a Frescale Kinetis KxxDX or KxxFX device
>> (other than already tested MK66FX1M0xxx18 and MK21DX256xxx5),
>> please help us with testing FlexNVM support.
>>
>> Especially wanted for test is an old MK20DX256xxx10 (ref man states
>> strange protection
>> region, data flash protection register is not described at all)
>>
>> Tomas
>>
>>
>>
>> On 02.10.2015 21:49, Thomas Schmid wrote:
>>
>> Updated my patch #2986. Mistakenly also updated your patch 2989 as my
>> version had a different checksum. One of these days, I will figure out how
>> to NOT do that! Sorry!
>>
>> Code looks great. Tested on:
>> K22FN512VLH12
>> KL16Z1287VFT
>> MK64FN1M0VLL12 (this is the one on the FRDM-K64F board)
>>
>> Also added your comment and added a new command to disable the watchdog:
>> kinetis disable_wdog
>>
>> Commands tested on all of them:
>> reset halt
>> mdm mass_erase
>> program
>> step, break, continue
>>
>> - Thomas
>>
>>
>> On Fri, Oct 2, 2015 at 8:12 AM, Tomas Vanek <
>> [email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I submitted a bunch of Kinetis related changes.
>>> I kindly ask everybody with access to any Kinetis Kx and KLx MCU/kits
>>> please give them a try.
>>> Especially wanted devices:
>>>     old K20 series like MK20DN128xxx5, MK20DX128xxx7, MK20D{N|X}512xxx10
>>>     four bank MCUs like MK20FN1M0xxx12 or MK20FX512xxx12 or similar K60
>>>     one bank Kx: any K02
>>>     K63/K64
>>>
>>> Tested so far:
>>>     MK66FX1M0VLQ18, MK21DX256AVLK5
>>> I'm going to test soon
>>>     MK26FN2M0VLQ18, MK22FN1M0VLL12 and MKL17Z256VLH4
>>>
>>> To get complete new Kinetis flash driver use:
>>>
>>> git fetch ssh://[email protected]:29418/openocd
>>> refs/changes/94/2994/1 && git checkout FETCH_HEAD
>>> git fetch ssh://[email protected]:29418/openocd
>>> refs/changes/89/2989/1 && git cherry-pick FETCH_HEAD
>>> git fetch ssh://[email protected]:29418/openocd
>>> refs/changes/86/2986/1 && git cherry-pick FETCH_HEAD
>>> (this one has a conflict now: I'm sure Thomas will publish a new version
>>> soon)
>>>
>>> Please do not forget to state full MCU name (with flash size and max
>>> clock freq) in a review comment.
>>> Also describe what operations you have tested.
>>>
>>> Thank you in advance
>>>     Tomas
>>>
>>
>>
>>
>
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to