Hi,
I am using a winIDea with IC5000 debugger environment. I have problems erasing and programming the MKE02Z64 44pin and 32pin on my board. What is interesting is that I am able to see the register and memory contents. I am using winIdea 2012 ver 9.12.161.
Any idea on how to fix is appreciated ?
Regards,
Johny
It looks like winIDEA doesn't support KE02 Flash programing algorithm.
I check below link from iSYSTEM about winIDEA open, which not list KE02 product supported.
http://www.isystem.com/download/winideaopen
While, could you please check with iSYSTEM if winIDEA 2012 ver 9.12.161 support KE02 product or not?
You can find iSYSTEM contact way from below link:
http://www.isystem.com/support
Wish it helps.
Best regards,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
I am not sure if this is expected, but when I added a pull-up on NMI capable pin 13 of 44 pin KE02, the erase and program feature seems to work now. Do you know if this pull-up is required ? Datasheet does not mention any thing.
Regards,
Johny
Hi Johny,
The NMI pin with internal weak pull up, about 30~50Kohm. It would recommend to use a 4.7Kohm or 10Kohm external pull up to make sure NMI pin keep high voltage during operation.
Wish it helps.
Best regards,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ma Hui,
How to avoid the pull -up on NMI so that it is easy to program and erase the uC ? Also I want to use this as a normal GPIO pin.
Regards,
Johny
It can disable NMI function with SIM_SOPT [NMIE] bit setting using software code after each reset. While, it need make sure NMI external input voltage keep high during chip reset, otherwise the chip will enter into NMI interrupt after reset.
While customer can hold external reset pin to make programmer connects with KE02 and programing successfully.
During the normal code running, if customer NMI pin without external pull up, it will enter into NMI interrupt as expected(NMI pin detect low voltage during reset). Then customer can disable NMI function in NMI interrupt service routine.
After that, customer can use NMI pin as GPIO function.
Wish it helps.
Best regards,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------