Is there any documentation available for designing software to program an i.MX RT1050?

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

Is there any documentation available for designing software to program an i.MX RT1050?

ソリューションへジャンプ
1,213件の閲覧回数
MartinEnG
Contributor II

I want to create software to program an i.MX RT1050. I aim to integrate this microcontroller into a test board and program it using ladder logic with software I will design. I'm unsure if this is possible or how to begin. Is there any documentation available for this?

Regards,

Martin P.

ラベル(1)
0 件の賞賛
1 解決策
1,156件の閲覧回数
sagonzal
Contributor III
OK, MartinEnG I see now what you are trying to do is a Ladder Logic Compiler/Interpreter (aka Ladder parser) based on the i.MX 1050. Computing power wise is fine; an interpreter can be run on the i.MX 1050...now memory wise, you'll heavily on the FLASH and not on the RAM for such an endeavour.

just another pointer, some years ago I come across a very interesting project:
https://cq.cx/ladder.pl
and repository in:
https://github.com/LDmicro

That's aims to exactly what you're trying to implement.

Good luck.

元の投稿で解決策を見る

0 件の賞賛
8 返答(返信)
1,071件の閲覧回数
MartinEnG
Contributor II

Hello everyone,

Excellent contributions, thank you very much for the help, I believe this will take me quite some time to develop. Thanks to everyone.

Regards,

Martin P.

0 件の賞賛
1,066件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MartinEnG ,

  You are always welcome!

  If your question is solved, please help to mark the correct answer, just to close this case.

  Any new issues, welcome to create the new case, thanks.

 

Best Regards,

Kerry

0 件の賞賛
1,160件の閲覧回数
MartinEnG
Contributor II

Hi @mjbcswitzerland@sagonzal and @kerryzhou ,

I believe I may not have been very clear with my question. I will be designing a PLC and will be using an i.MX RT1050 as the main controller. So, I would like to know if it's possible to create a very basic IDE that allows me to program the i.MX RT1050 through an Ethernet port using the ladder language, as the users do not know how to program in C/C++ but are familiar with ladder programming. Is this possible?, 

0 件の賞賛
1,124件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MartinEnG ,

   Thanks for your detailed information.

   From your description, you need the Ethernet port program, then it will be need the OTA secondary bootloader function.

  You can refer to this code in the RT1050 SDK:

SDK_2_14_0_EVKB-IMXRT1050\boards\evkbimxrt1050\ota_examples

  But you don't want to use the C code, you need the ladder language, as I know, the NXP don't have the related application for your reference, you may need to refer to the SDK thought to design it by yourself.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

0 件の賞賛
1,157件の閲覧回数
sagonzal
Contributor III
OK, MartinEnG I see now what you are trying to do is a Ladder Logic Compiler/Interpreter (aka Ladder parser) based on the i.MX 1050. Computing power wise is fine; an interpreter can be run on the i.MX 1050...now memory wise, you'll heavily on the FLASH and not on the RAM for such an endeavour.

just another pointer, some years ago I come across a very interesting project:
https://cq.cx/ladder.pl
and repository in:
https://github.com/LDmicro

That's aims to exactly what you're trying to implement.

Good luck.
0 件の賞賛
1,186件の閲覧回数
sagonzal
Contributor III

Ladder logic was primarily used with 80s and 90s PLC controller; for the automation industry and mainly for entry level PLC. In the 2000s automation industry moved to more robust lexicological scripting languages for industrial automation. 

i.MX RT1050 is a full fledged MCU that you would probably want to program using C or even C++ to use full use of the resources, modules and excellent NXP SDK.

My advise is, read the tutorials and learn your way thru the MCUXpresso IDE. Then use a advances scheduler for the i.MX RT1050 like the uTasker or the FreeRTOS which you can read many tutorials online.

0 件の賞賛
1,193件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MartinEnG ,

  Please refer to these application note, you will know how to program the RT1050 with the external memory.

https://www.nxp.com/docs/en/application-note/AN12107.pdf

https://www.nxp.com/docs/en/application-note/AN12108.pdf

https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf

 

Wish it helps you!

Best Regards,

Kerry

0 件の賞賛
1,207件の閲覧回数
mjbcswitzerland
Specialist V

Hi

I haven't understood exactly what you want to do but take a look at this: https://www.utasker.com/docs/iMX/uTasker_iMX-RT-Programmer.pdf

The uTasker project includes solutions for programming i.MX RT parts from other i.MX RT parts via USB or SWD.

This is one of my own programming boards that uses a MIMXRT1050EVB (with its TFT display) to automatically program (and test) other i.MX RT products in a production environment:

mjbcswitzerland_0-1696380324400.png

 


Regards

Mark


For i.MX and Kinetis stock availability see https://www.utasker.com/Shop/semi.html