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

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

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

Jump to solution
1,161 Views
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.

Labels (1)
0 Kudos
1 Solution
1,104 Views
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.

View solution in original post

0 Kudos
8 Replies
1,019 Views
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 Kudos
1,014 Views
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 Kudos
1,108 Views
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 Kudos
1,072 Views
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 Kudos
1,105 Views
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 Kudos
1,134 Views
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 Kudos
1,141 Views
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 Kudos
1,155 Views
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