Hi pgo,
what failed was an MKE02Z16VLD2 and an MKE02Z64VLD2 (16K and 64K otherwise
the same chip).
One of them has NMI as output, but it's driving a load that has a 13K
equivalent resistance to GND. The other one is an input (the MISO pin at a
SPI port). That one receives the output of a SPI device.
I also disable the NMI in my firmwares. This NMI thing is annoying, I don't
know why this NMI thing gets in the 21st century microcontrollers...
BTW, I found an issue o these 5V micros: On some of my 5V designs, I setup
the LVD trip point to 4.3V. Later, I made a design with the same chip (an
MKE02Z16VLC2) but at 3.3V, and forgot the LVD trip point to 4.3V. Result:
the chip never came up from reset (or if it did it was for a very short
time - in fact it must be it, because that setting of the LVD was in my
application). Also, the reset line was kept as an output low - I found this
because when I tried an opensda dongle it turned up in bootloader mode!
The solution was to cut the 3.3V trace from the chip - I was lucky about it
because it was simple enough) and to connect a 5V to it. The chip started
normally and I was able to reprogram it.
So, it is a possibility of "bricking" a device like this. But I'm thinking,
because the application is really starting for a moment, is this a
possibility to unbrick the chip with USBDM? A solution would be that the
USBDM to connect to the chip under reset. But this seems that it is not
working, and I don't understand why. My command line is:
"C:\Program Files\pgo\USBDM 4.12.1.150\UsbdmFlashProgrammer.exe"
-device=MKE02Z16M2 -useReset -erase=mass -program -execute a.axf
and I understand that "useReset" is the flag that tells it to connect to
the chip under reset. Is it correct?
Thanks,
Raimond
2017-03-08 11:19 GMT+02:00 pgo <admin@community.nxp.com>:
NXP Community
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: USBDM software problems with Kinetis E targets
reply from pgo
<https://community.nxp.com/people/pgo?et=watches.email.thread> in *OSBDM
and TBDML* - View the full discussion
<https://community.nxp.com/message/884702?commentID=884702&et=watches.email.thread#comment-884702>