Hi,
I am MK22FN512VLH12 program the component with the Kinetis KWIKSTIK (programming method ezprog).
For this I followed the application note AN4406.
The Kinetis KWIKSTIK shows "RESET", "ERASE", "PROG" and "FAIL";
The board is connected 3v3
The pin connection is this following:
MK22FN512VLH12 | Left side TWRPI Soket | Right side TWRPI Soket
22 | | 12
23 | | 10
24 | | 9
26 | | 11
34 | 20 |
Below is the configuration file:
; EzProg programming script
; Generated by the EzProg Wizard
; mardi 31 mars 2015 10:10:03
[target]
image = "xxx.s19"
architecture = "Kinetis"
flash size = 0x80000
flash program block = 0x100
baud rate = 100000
touch button = 2
buzzer = 1
[reset]
ezp = 1
[mass erase]
[program]
[verify]
[reset]
ezp = 0
can you help me with Resolver this error?
Thank.
Antoine
Hello EVERAERT Antoine:
Are you using a custom board or Freescale board for K22 (e.g. FRDM-K22F or TWR-K22)?
I would like to try and recreate the problem with your same setup and see if I can find the root cause, although it may take a while.
In the meantime there is another excellent document you could check about EZ-PORT programming:
Regards!
Jorge Gonzalez
hello Jorge Gonzalez,
I use a custom board.
Below is the scheme of the board
After various tests, I noticed that when remove the "Verify mode", I arrive to inject flasloader of freescale.
But I still can not operate my client program.
My client create the program with "https://developer.mbed.org" with configuration "KRDM-K22F."
Even when my client creates a program to flash the LED L1 that does not work.
Below is the program:
#include "mbed.h"
int main()
{
DigitalOut LED(PTC5);
while(1)
{
LED=1;
wait_ms(1500);
LED=0;
wait_ms(1500);
}
}
thank you for your support.
Regards.
Antoine Everaert.