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.
Solved! Go to Solution.
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.
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
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?,
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
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.
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
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:
Regards
Mark
For i.MX and Kinetis stock availability see https://www.utasker.com/Shop/semi.html