MK20DX128VFM5 chip usage consultation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MK20DX128VFM5 chip usage consultation

ソリューションへジャンプ
9,069件の閲覧回数
zhaofan123
Contributor I

I am a newbie and have a lot of doubts, and I would very much like to get the help of your seniors.

I am using the MK20DX128VFM5 chip, and when I connect the computer directly through USB, the computer does not recognize any device, and when I press the reset button to enter, there is no phenomenon.

So I started measuring the REST-B pin of the chip, and I had applied it high, but the chip would force the signal low. When I change a chip that someone else has used, press and hold the reset button to enter, a high level signal appears on the REST-B pin, and the computer can recognize the device and display 'BOOTLOADER'.But when I drag the firmware, the device still doesn't respond.

What do I need to do to make my computer recognize the correct device and be able to refresh the program? I'm not sure if I overlooked some important steps during the operation.

Anyone who can provide answers or documentation would be appreciated.

0 件の賞賛
返信
1 解決策
9,055件の閲覧回数
ErichStyger
Specialist I

Hi @zhaofan123 ,

your device does not have a USB bootloader on it in the ROM. You need to program it first with an application running the USB stack.

I hope this helps,

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
38 返答(返信)
9,056件の閲覧回数
ErichStyger
Specialist I

Hi @zhaofan123 ,

your device does not have a USB bootloader on it in the ROM. You need to program it first with an application running the USB stack.

I hope this helps,

Erich

0 件の賞賛
返信
5,524件の閲覧回数
zhaofan123
Contributor I
There is one more thing I would like to confirm with you. Is the USB bootloader for MK20DX128VFM5 chip the default? Or do I need to create different USB bootloaders based on different functional requirements?
0 件の賞賛
返信
5,491件の閲覧回数
ErichStyger
Specialist I

The K20 has no ROM bootloader. You need to implement one for your needs.

0 件の賞賛
返信
5,480件の閲覧回数
zhaofan123
Contributor I
Do you have any K20 programs available for KDS here? I would like to make some references and modifications.
0 件の賞賛
返信
5,393件の閲覧回数
zhaofan123
Contributor I
0 件の賞賛
返信
5,454件の閲覧回数
zhaofan123
Contributor I
I have one more question I would like to get your confirmation. When I load the bootloader for the K20, can I load it directly with USB? Or do I need to use the SWD interface to burn the program?
0 件の賞賛
返信
5,451件の閲覧回数
ErichStyger
Specialist I
0 件の賞賛
返信
5,441件の閲覧回数
zhaofan123
Contributor I
Where can I buy a debug probe with SWD? Can I trouble you to provide a link to this?
0 件の賞賛
返信
5,440件の閲覧回数
ErichStyger
Specialist I
0 件の賞賛
返信
5,149件の閲覧回数
zhaofan123
Contributor I
Hello, I now get the USB bootloader for MK20 chip, but it is a hexadecimal file type. I have purchased MCU-Link, what software should I download to program the chip? Looking forward to hearing from you.
0 件の賞賛
返信
5,134件の閲覧回数
ErichStyger
Specialist I
0 件の賞賛
返信
4,945件の閲覧回数
zhaofan123
Contributor I

I read your blog, then added K20 and was able to query it successfully.

zhaofan123_0-1690794422534.png

But as I read this,

zhaofan123_0-1690794559338.png

I have some doubts:

I don't know what 'implicit wildcards' is.My device is MK20DX128VFM5 and my board is Analog Devices' EVAL-ADICUP3029, so how exactly should I enter instructions when entering?

0 件の賞賛
返信
4,928件の閲覧回数
ErichStyger
Specialist I

What matters in this case is the device, not the board.

The board would be only relevant if you have external RAM or FLASH, as that would be board specific.

Implicit wildcards means that you did not specify the full device/board tuple.

0 件の賞賛
返信
4,922件の閲覧回数
zhaofan123
Contributor I
When I input commands, just use a * sign to replace the board behind the device, right?
0 件の賞賛
返信
4,771件の閲覧回数
ErichStyger
Specialist I

You don't need a * as a wildcard, it does that implicitly

0 件の賞賛
返信
5,120件の閲覧回数
zhaofan123
Contributor I

I just installed the LinkServer command line utility and tried to follow your blog to use it. But when I enter the command shown in the figure below, the computer shows the supported devices as I thought, and I can't query any information about the K20.

zhaofan123_0-1690717298677.pngzhaofan123_1-1690717307215.png

 

 

0 件の賞賛
返信
5,094件の閲覧回数
ErichStyger
Specialist I

As a consideration, have you thought about adding the K20 to the list of devices for LinkServer?

0 件の賞賛
返信
5,082件の閲覧回数
zhaofan123
Contributor I
I hope to add K20, but I don't know how to do so. It would be great if I could get your help.Also, I would like to confirm one thing, is it not possible to burn. HEX files using KDS?
0 件の賞賛
返信
5,078件の閲覧回数
ErichStyger
Specialist I
0 件の賞賛
返信