How to program MK20DX128VFM5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to program MK20DX128VFM5

2,154 Views
Dhanyalakshmi
Contributor III

Hello All,

I am currently working on a custom board that is based on the FRWY-LS1012A reference design. The board includes the MK20DX128VFM5 IC (K20 MCU), which, on my custom board, is completely unprogrammed. I need to program this IC so that it functions similarly to the one on the FRWY-LS1012A board, such as performing as a Serial-to-USB or USB-to-UART converter.

I have submitted a ticket requesting the firmware used for programming this IC on the FRWY-LS1012A board. Below is the link to my submitted case, and I have also attached the binary file provided to me, along with the programming documentation.

 

https://support.nxp.com/s/case/5002p00002zpMUVAA2/request-for-firmware-that-is-programmed-to-mk20dx1...

 

I have a few questions regarding the programming process:

  1. The documentation mentions a "CSAM USB connector on the board." Could you please clarify whether this refers to a standard USB 2.0 connector or the JTAG connector (J10)?

  2. Assuming that the "CSAM USB connector on the board" refers to J10, I connected my PC to the board using a Segger J-Link via the JTAG debugger. After powering on the board and connecting the Segger J-Link’s USB cable to the PC while pressing the reset button on the board, Windows 10 did not recognize any mass storage device as mentioned in the documentation. How can I resolve this issue?

  3. Is it possible to flash this firmware using the J-Link command tool? If yes, could you please provide the steps involved in this process?

  4. Once the firmware is programmed, will it allow boot messages to be printed on the console? Additionally, will the console be accessible when I connect the board to a USB 2.0 port after programming?

Your guidance on these matters would be greatly appreciated.

Thank you for your assistance.

Best regards,
Dhanyalakshmi

Labels (1)
5 Replies

1,930 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Dhanyalakshmi,'

Sorry for the late response,

Regarding to the questions:

  1. Assuming that the "CSAM USB connector on the board" refers to J10, I connected my PC to the board using a Segger J-Link via the JTAG debugger. After powering on the board and connecting the Segger J-Link’s USB cable to the PC while pressing the reset button on the board, Windows 10 did not recognize any mass storage device as mentioned in the documentation. How can I resolve this issue?

  2. Is it possible to flash this firmware using the J-Link command tool? If yes, could you please provide the steps involved in this process?

In order response that you can contact with the Segger J-link team

Regards

0 Kudos
Reply

1,928 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Dhanyalakshmi,

Regarding to the question "Once the firmware is programmed, will it allow boot messages to be printed on the console? Additionally, will the console be accessible when I connect the board to a USB 2.0 port after programming?"

Yes, Once you succesfully programmed the MK20DX128VFM5 you have output in console

You only have output in the console in a serial port

0 Kudos
Reply

1,982 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Dhanyalakshmi,

Regarding to the question "The documentation mentions a "CSAM USB connector on the board." Could you please clarify whether this refers to a standard USB 2.0 connector or the JTAG connector (J10)?"

The MK20DX128VFM5 in the schematic of the FRWY-LS1012A is routed to the k20 JTAG connector and the USB connector, In the context for flash the MK20DX128VFM5 is referred to the JTAG connector.

Regards,

Sebastian

 

0 Kudos
Reply

2,072 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Dhanyalakshmi,

I am already working on your question, when I have any update I will let you know

2,153 Views
Dhanyalakshmi
Contributor III
I followed the steps that is provided in the document directly on the completely empty MK20DX128VFM5 IC on custom board. Am i following the correct steps?Or am i missing any steps?
0 Kudos
Reply