Page 1 of 1

Has anyone programmed/run an MK22FN1M0VLQ12 in the 144 pin TQFP?

Posted: 23 Apr 2022 19:49
by scskits
Has anyone successfully programmed the MK22FN1M0VLQ12 or MK22FX512VLQ12 in the 144 pin TQFP package?
My MIKROPROG will not program them and CODEGRIP would not program them without a patch.
After programming using CODEGRIP using the patch, MIKROPROG will also verify the code correctly so it should be OK.
Even after programming, the code will not run. It is only a simple LED turn ON program.
It is not the board as a much more complex program runs fine with a MK64FN1M0VLQ12 installed.
The parts have the same pinout and should not be an issue when only using GPIO.
The debugger indicates that the code gets stuck in a loop in the initialization code that runs before my code is even executed.

ed

Re: Has anyone programmed/run an MK22FN1M0VLQ12 in the 144 pin TQFP?

Posted: 23 Apr 2022 19:58
by scskits
Just some additional info, my MikroProg Suite is V1.61 and CODEGRIP is 1.51 and both chips I tried are in the supported list for the MIKROBasic ARM compiler and MIKROPROG.

ed

Re: Has anyone programmed/run an MK22FN1M0VLQ12 in the 144 pin TQFP?

Posted: 23 Apr 2022 21:43
by Alessandro Fulignani
Hi,

Are you using JTAG or SWD ?
I use to program MK22FN128VLL10 and MK22FN256VLL12 without any problem using JTAG.
Don't forget that if you use the SWD it will works only once, because it is a pre-programmed firmware.

Let me know....

Alex

Re: Has anyone programmed/run an MK22FN1M0VLQ12 in the 144 pin TQFP?

Posted: 28 Apr 2022 16:16
by scskits
Alex:

I am using JTAG, but thanks for the info about SWD.
This issue seems to be particular to the 512K and 1M parts in the 144 pin TQFP (LQFP?) package.

At this time, I have given up for the moment as I found some inexpensive MK64 parts that work properly on the board.
The pinout of the MK22 and MK64 in the 144 pin package is the same (in the data sheet at least) so should not have a problem.
I am using a 12MHz clock oscillator external to the MK22/64. Reset is controlled by a MicroChip reset IC.

I also have a new board with the MK22FN128 on it for a different program.
While it does not solve my other problem with the 512K/1M parts, I do want to get it up and running soon.
It is possible that I will turn the board that has the 144 pin part and port the program over to the MKFN128 if I can get that working...

Ed

Re: Has anyone programmed/run an MK22FN1M0VLQ12 in the 144 pin TQFP?

Posted: 10 May 2022 17:20
by Alessandro Fulignani
Hi Ed,

Good to know. i have used the MK22FN128VLL128 for many project, but right now i needed to move to another uC because the next delivery of the NXP uC will be on August 2023.
And we ordered it on March 2021 !!
Right now i'm working with a STM32L051 (The only one that i found on the market).
Which programming language are you using?

Alex