Anyone having trouble using MIKROPROG for ARM with the newer K22 devices. I have a board that supports both K64 and K22 chips in the 144 pin LQFP. The pinouts are the same for K64 and K22 according to the data sheets. The K64 chips program and run correctly on the board but the K22 chips do not, they remain blank. Chips are the MK22FX512AVLQ12, MK22FN1M0VLQ12, and MK64FX512VLQ12. Only the K64 programs correctly.
Using MIKRO Basic for ARM and just tried the blinking LED example for the K22s, just to keep it simple. The K64 program is also in basic and much more complex. Wanted to port it to the K22, but no go on the programming, thats why I tried the simple program...
TIA ed
Trouble programming Kenetis K22 chips
- petar.suknjaja
- mikroElektronika team
- Posts: 683
- Joined: 05 Mar 2018 09:44
- Location: Belgrade
Re: Trouble programming Kenetis K22 chips
Hi,
If you look in the mikroPROG for Kinetis MCU support list, you`ll see that
MK22FX512AVLQ12 & MK64FX512LQ12 are not supported
and MK22FN1M0VLQ12 is supported by mikroPROG.
You can check the list of supported MCU at this link:
https://www.mikroe.com/mikroprog-kinetis
Regards,
Petar
If you look in the mikroPROG for Kinetis MCU support list, you`ll see that
MK22FX512AVLQ12 & MK64FX512LQ12 are not supported
and MK22FN1M0VLQ12 is supported by mikroPROG.
You can check the list of supported MCU at this link:
https://www.mikroe.com/mikroprog-kinetis
Regards,
Petar
Re: Trouble programming Kenetis K22 chips
The MK64FX512LQ12 seems to program correctly when I have the part selected as an MK64FN1M0, code was developed to work with either part. Just have to keep the program in the lower section. Programmed a number of boards and everything works as expected.
And a typo in my earlier post, the 3rd chip tried is an MK22FX512VLQ12, not the ALVQ12 version.
MikroBasic supports the MK64FN1M0XXX12, MK64FX512XXX12, MK22FN1M0XXX12, and MK22FX512XXX12, (copied these right from the pull down list) so I expected programming support also.
I see all 3 of the chips I tried in the MIKROPROG list and also the 64FN1M0... Copied from the list -- MK22FX512VLQ12, MK22FN1M0VLQ12, MK64FN1M0VLQ12, and MK64FX512VLQ12
I have the MK22FN1M0VLQ12 and MK22FX512VLQ12 on the test boards and they do not program correctly. Even with a simple LED blink program. The device reads blank after programming.
I do see the reset line pulsing after power ON on the blank 22s, going to look into that next.
ed
And a typo in my earlier post, the 3rd chip tried is an MK22FX512VLQ12, not the ALVQ12 version.
MikroBasic supports the MK64FN1M0XXX12, MK64FX512XXX12, MK22FN1M0XXX12, and MK22FX512XXX12, (copied these right from the pull down list) so I expected programming support also.
I see all 3 of the chips I tried in the MIKROPROG list and also the 64FN1M0... Copied from the list -- MK22FX512VLQ12, MK22FN1M0VLQ12, MK64FN1M0VLQ12, and MK64FX512VLQ12
I have the MK22FN1M0VLQ12 and MK22FX512VLQ12 on the test boards and they do not program correctly. Even with a simple LED blink program. The device reads blank after programming.
I do see the reset line pulsing after power ON on the blank 22s, going to look into that next.
ed
- petar.suknjaja
- mikroElektronika team
- Posts: 683
- Joined: 05 Mar 2018 09:44
- Location: Belgrade
Re: Trouble programming Kenetis K22 chips
Hi,
There are cases that MCU is supported by compiler, but not by mikroPROG, but those are rare cases.
If the MCU isn't present in supported list, i suppose there`s a good reason why development team choose to omit it from release.
As for the mentioned MCU, as soon as i get them ,i`ll test them for mentioned problems.
Kind regards,
Petar
There are cases that MCU is supported by compiler, but not by mikroPROG, but those are rare cases.
If the MCU isn't present in supported list, i suppose there`s a good reason why development team choose to omit it from release.
As for the mentioned MCU, as soon as i get them ,i`ll test them for mentioned problems.
Kind regards,
Petar