TWR-K40D100M WORKING

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
4,363件の閲覧回数
keerthanas
Contributor I

Hi, This is keerthana. I am new to free scale products. I am currently working in TWR-K40D100M DEVELOPMENT BOARD. How can I import GPIO example code using CodeWarrier IDE. I had found example code in codewarrier for MK40DX256. But PK40DX256 in TWR-K40DX development board. please let me know.

0 件の賞賛
返信
1 解決策
4,142件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Keerthana,

The project example you reference is for the older initial TWR-K40DX256 tower board.

To get a baremetal projects you can do the following:

From the http://www.freescale.com/tower web site you can find the Kinetis TWR-K40D100M product page by clicking plus logo next to "MCU and Processor Modules" then click on "Kinetis MCU Modules".  Then click on the TWR-K40D100M.

Short cut link to TWR-K40D100M product page.

Now click on the Download tab, then scroll to bottom of page and Download the "Kinetis 100MHz Rev 2 Example Projects".

Kinetis 100MHz Rev 2 Example Projects (REV 1.0)

Kinetis 100MHz Rev 2 Example Projects.

  • ZIP (722.5 kB) KINETIS512_V2_SC

If you want an RTOS that supports the TWR-K40D100M, you can get the MQX RTOS from http://www.freescale.com/MQX .

Regards,

David

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
4,143件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Keerthana,

The project example you reference is for the older initial TWR-K40DX256 tower board.

To get a baremetal projects you can do the following:

From the http://www.freescale.com/tower web site you can find the Kinetis TWR-K40D100M product page by clicking plus logo next to "MCU and Processor Modules" then click on "Kinetis MCU Modules".  Then click on the TWR-K40D100M.

Short cut link to TWR-K40D100M product page.

Now click on the Download tab, then scroll to bottom of page and Download the "Kinetis 100MHz Rev 2 Example Projects".

Kinetis 100MHz Rev 2 Example Projects (REV 1.0)

Kinetis 100MHz Rev 2 Example Projects.

  • ZIP (722.5 kB) KINETIS512_V2_SC

If you want an RTOS that supports the TWR-K40D100M, you can get the MQX RTOS from http://www.freescale.com/MQX .

Regards,

David

0 件の賞賛
返信
4,142件の閲覧回数
keerthanas
Contributor I

Hello Mr.DavidS,

            Thanks for your reply. I have tried the codes which you sent yesterday. But It is not properly built by the compiler. As  I am new to CodeWarrier IDE as well as TWR-K40D100, not able to find the cause of the error.  But Code Given in this link https://community.freescale.com/docs/DOC-1023 for LED toggle is working for me. 

    I want to know the programming basics of TWR-K40D100 . How can I get the documents regarding Programming.

0 件の賞賛
返信
4,142件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Keerthana,

That is a great educational link but it is now old and only worked with the TWR-K40X256 (old initial silicon) and not the TWR-K40D100M (newer silicon).

You can use those resources as a guide but you really need to download and use the code options I presented in last post.

Advice:  The TWR-K40 hardware is getting old and having less and less support to it.  For training I would recommend purchasing a Freedom board (range from $10-$35) and specifically the FRDM-K64F.

The Freedom boards have most recent support in the KDS (Kinetis Design Studio IDE) and KSDK (Kinetis SDK).  Both are free of charge.  KSDK has lots of examples in it.  The web site has DOC's and Video's too.

Regards,

David

0 件の賞賛
返信
4,141件の閲覧回数
keerthanas
Contributor I

Hello Mr.David,

            Thank you so much. Is it possible to give the procedure for import the projects which are given in the link you have sent. When I tried to import and build the project given in that link,It shows  an error as in the image attached here.  

0 件の賞賛
返信
4,141件の閲覧回数
DavidS
NXP Employee
NXP Employee

​Hi Keerthana,

When you do the import process, to you copy the project to the workspace (there is a check box for this) or do you leave the files where they are located (check box not checked)?

In general you should not have the check box checked.  The files should remain where they are in the folder structure so that the Paths defined in the Project Properties remain valid.

I also as a rule of thumb place my workspace in the root directory of the bare metal code. 

Regards,

David

0 件の賞賛
返信
4,141件の閲覧回数
keerthanas
Contributor I

Hello Mr.David,

Thank you. Please guide me to create a ProcessorExpert project in codeWarrior . I imported and debug the example project successfully. When I tried to debug my own code in ProcessorExpert, its terminated and points to CPU Interrupt. Not able to find the problem. Please find the attachment

With Regards,

Keerthana. S

0 件の賞賛
返信