program and debug i.MX RT1050 series from the command line

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

program and debug i.MX RT1050 series from the command line

3,993件の閲覧回数
bigbrett
Contributor II

I'm trying to setup an IDE-agnostic and open source toolchain for development on the i.MX RT1050. We will start to develop using simulation and then move to the dev board (with the onboard debugger). After a few months, we will have the chip on a custom PCB and will need to have full debug support via SWD. We already have a CMSIS-DAP compliant debugger (ULINK-2)

We have a number of different developers and do not want to restrict them to a specific IDE. We want to have a makefile-driven workflow that works just as well under an IDE like eclipse as it does driving directly from the command line.

What is the simplest way to flash and debug the RT1050 without depending on MCUXpresso?

It was super simple to setup a build environment for the STM32F4, however doing so for the RT1050 series seems less well documented..... it doesn't appear that NXP provides openOCD support for the RT1050 so are there any other ways to load code onto the chip and attach a gdb server?

Thanks!

ラベル(1)
3 返答(返信)

2,897件の閲覧回数
fbeaulier
Contributor I

Hello,

Two years later i have the exact same request for the  i.MX RT1060 !

It seems that there is no support in openocd.

With pyOCD i was able to create a gdb server but not to flash.

Any news on your side on this subject ?

Thank's for any help

François

0 件の賞賛
返信

2,931件の閲覧回数
jay_heng
NXP Employee
NXP Employee

You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)

GitHub - JayHeng/nxp-sec-boot-ui: A one-stop GUI tool to work with NXP MCU (Kinetis, i.MXRT, LPC) RO... 

0 件の賞賛
返信

2,931件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Brett

one can look on Flashloader

Programmers (Flash, etc.) (1)
Flashloader i.MX-RT1050

i.MX RT1050 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 512KB SRAM |NXP 

sources

https://mcuxpresso.nxp.com/en/license?hash=ad7870cf2d88e6a1da7ee9bb13881321&hash_download=1

AN12238 i.MX RT Flashloader Use Case

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

debugging usage

MCUXpresso IDE V10.1.0 with i.MX RT1052 Crossover Processor | MCU on Eclipse 

AN12183 How to Enable Debugging for FLEXSPI NOR Flash

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

other app notes on

i.MX RT1050 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 512KB SRAM |NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------