Startup Code Modification for MKL16

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

Startup Code Modification for MKL16

1,108件の閲覧回数
BPR
Contributor I
スポイラ
 

 Hi,

Iam using FRDM-KL26Z board for developing a MKL16 based code. But I guess there is a difference between MKL26Z and MKL16 startup code. How can I modify it?

0 件の賞賛
7 返答(返信)

1,091件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @BPR 

The startup code is basically the same, the difference is that the KL26Z has the inclusion of an USB interrupt, see thread bellow.

MKL16Z ADC

Best Regards, Miguel.

0 件の賞賛

1,040件の閲覧回数
BPR
Contributor I

Hi, But when Iam flashing the hex file. This is the issue I'm facing

Selected file: C:\Users\PBR\Desktop\ExampleProject.hex
Data file contains 1 memory range:
#0: 0x00000000 - 0x0000B757 (46936 Bytes)
Conecting to J-Link...
Connecting to target...
Downloading...
ERROR: Could not download file.
Done.

 

I build the code with no errors and warnings. Unable to what is the issue with the hex file generated.

 

 

 

0 件の賞賛

1,019件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @BPR 

Can you share the details of how are you trying to connect please?

Best Regards, Miguel.

0 件の賞賛

1,005件の閲覧回数
BPR
Contributor I
I just connected by board using a J-Link tool and trying to flash the genreated hex file. Other hex files are flashing but my hex file is not getting flashed.
0 件の賞賛

989件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @BPR

Can you also tell me how did you generate the hex file and and where do the files you are able to flash come from?

Best Regards, Miguel. 

0 件の賞賛

972件の閲覧回数
BPR
Contributor I

I tried porting MKL16 code from KEIL IDE to MCUXpresso. I took MKL26/FRDM board example and modified it to the MKL16 code and then build it without any errors. But while flashing the binary file is not getting flashed. Other example hex files are flashing but the modified example hex file is not able to flash stating the above error in the thread.

0 件の賞賛

954件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @BPR 

Can you tell me the modifications you made?

Are the modifications made directly from the working projects?

Have you tried using directly MCUXpresso and the SDK?

Sorry that I'm making a lot of questions I require more details.

Best Regards, Miguel. 

0 件の賞賛