RT1015 write a simple application execute from sdhost

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

RT1015 write a simple application execute from sdhost

Jump to solution
1,060 Views
kensu
Contributor V

Hi

I am testing an application. (SDK: evkmimxrt1015_iled_blinky)

I expect this application can execute from sdphost in download mode.

I think it's possible.

My Step are:

1. make RT1015 to download mode

2. Load my test application to 0x20208000

3. jump to 0x20208000.

The result is fail, the led is not blinking.

kensu_0-1600656069139.png

Can anyone teach me how to modify the evkmimxrt1015_iled_blinky so that it can run in sdphost jump?

 

Thanks

Ken

Labels (1)
0 Kudos
1 Solution
1,043 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi kensu,

  感谢你的信息更新!

   你可以试想下flashloader.bin是什么?

   它其实就是一个特殊应用app对不对,然后是放到RAM,并且跳转过去运行的,所以如果你的app本身就是RAM的,我认为你完全可以这么干,你可以试试,如果有问题,我们再继续交流。

   你可以模仿flashloader那样去做。

 

Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------

 

View solution in original post

3 Replies
1,056 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi kensu,

    Can you read the chinese document?

   If yes, please read these post, it will be useful to you:

https://www.cnblogs.com/henjay724/p/9096222.html

https://www.cnblogs.com/henjay724/p/11992494.html

This is my post about how to use the sdphost and the blhost to download the ledblinky code for RT1064:

http://www.nxpic.org.cn/module/forum/thread-620980-1-1.html

RT1015 is similar.

 

Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------

 

 

0 Kudos
1,050 Views
kensu
Contributor V

Hi Kerry

谢谢回覆

但我这边要试的是并不是SDPHOST + BLHOST将application烧到Flash内

我想试的是: 将application透过SDPHOST放在SRAM内,然后Jump直接执行这个Application

标准方式:

1. SDPHOST将FlashLoader.bin放到SRAM

2. SDPHOST Jump到SRAM的位置开始执行FlashLoader

3. BLHOST下command给SRAM的FlashLoader,将application烧录到Flash

4. DIP Switch改成boot mode执行application

 

而我想试的是

1. SDPHOST直接将Application.bin放到SRAM

2. SDPHOST Jump到SRAM的位置开始执行Application

 

有机会吗?

 

Regards

Ken

0 Kudos
1,044 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi kensu,

  感谢你的信息更新!

   你可以试想下flashloader.bin是什么?

   它其实就是一个特殊应用app对不对,然后是放到RAM,并且跳转过去运行的,所以如果你的app本身就是RAM的,我认为你完全可以这么干,你可以试试,如果有问题,我们再继续交流。

   你可以模仿flashloader那样去做。

 

Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------