I am trying to interface frdm-mkl43 with custom made MKV31 board via EzPort.
As I've read I have to pull reset down, pull CS down, pull up reset and after that I'll be in EzPort programming mode.
I got no answer from device. Logic analyzer and SCH are shown in attachment .
The board MKV31 working as it's supposed to-JTAG and other function are fine so it is not any issue with bad soldering or other physical stuff.
I've tried "bulk erase". Result is negative-my program is still inside the MCU.
Does EzPort enabled by default on MKV31 MCUs?
Thanks for your fast response! I'll reprogram my KV31 ezport enable bit in the firmware and test it again.
CS->0x6->CS__CS->0x05-0x00(dummy byte)->CS Am I right to expect read non-zero answer after write a dummy bit if everything is ok with ezport?
Update: Checked FOPT security register-both EzPort and bulk erase allowed. Also tested connection point to pins connections one more time. Tomorrow I'll try to change polarity of SPI...dont belive a lot but will give it a try.
I am sorry but I don't remember the details but the complete code is available in the uTasker project (including a command line interface for testing) if you want to use or copy a working solution.
Looks like there are some steps missing to enter into EzPort mode, please kindly refer to the following for details.
and you may refer to page 91 of http://cache.nxp.com/assets/documents/data/en/quick-start-guide/KQRUG.pdf?fsrch=1&sr=1&pageNum=1 for more details.
it contains SPI+reset signal(chanell 4). Check it up. May be I still have some misunderstanding about cs-reset-cs sequence.
Looks like SPI+RESET signals are not enough, the recommended process also polls the RSTOUT pin for determining when to enter the EzPort mode. Please kindly refer to the above code for details.