Question about how to use OTA Bootloader in i.MXRT1060 EVK.

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

Question about how to use OTA Bootloader in i.MXRT1060 EVK.

Jump to solution
1,422 Views
Caine
Contributor I

I'm using i.MXRT1060 EVK, and the SDK version is 2.9.1.

I'm going to implement the SW download function using OTA_BOOTLOADER example in SDK.

But I couldn't understand how to setup and download a application. 

I reviewed the 'Readme.txt' in doc folder of 'evkmimxrt1060_ota_bootloader' project. 

For examples,

Q1) i.MXRT1060 EVK is basically booted from QSPI, not Hyper flash.

       Why does the boot mode have to setup as a hyper flash?

Q2) Where is the sample project, 'flexspi_nor_release'?

 

Could you let me know how to download an sample application using the OTA project?

 

******************* Readme.txt ************************

Overview
========
The OTA(Over-the-Air) bootloader is a secondary bootloader resides in external memory which supports updating and booting the application.

Hardware requirements
=====================
- Mini/micro USB cable
- EVK-MIMXRT1060 board
- Personal Computer

Board settings
============
No special settings are required.

Prepare
===============
1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2. Download the program to the target board.
3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Note:
To download binary into hyper flash in MDK and boot from hyperflash directly, following steps are needed:
1. Select the target flexspi_nor_release.
2. Compile the project.
3. Press F8 or click the download button, to program the application into hyper flash.
4. Set the SW7: 1 off 2 on 3 on 4 off, then power on the board
5. After power on the board, program has already started to run, reset SW4 is recommended.

Note:
To debug in hyper flash in MDK, following steps are needed:
1. Select the target flexspi_nor_release.
2. Compile the project.
3. Press F8 or click the download button, to program the application into hyper flash.
4. Set the SW7: 1 off 2 on 3 on 4 off, then power on the board
5. Push SW4 to reset.
6. Start to debug.

Note:
To debug in hyper flash in MCUXpresso, following steps are needed:
1. Set the SW7: 1 off 2 on 3 on 4 off, then power on the board
2. Compile the project.
3. Start to debug.

Known issue:
Currently, this example can't be downloaded using Jlink, for no supported flash algorithm.

0 Kudos
1 Solution
1,387 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

You can find detailed steps to use ota_bootloader in the following community thread.

How to run evkmimxrt1060_lwip_httpssrv_ota_freerto... - NXP Community

Additionally,  flexspi_nor_release is not a sample project, it means that you need to build the project in release mode.

Best regard,

Felipe

-------------------------------------------------------------------------------

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

0 Kudos
2 Replies
1,388 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

You can find detailed steps to use ota_bootloader in the following community thread.

How to run evkmimxrt1060_lwip_httpssrv_ota_freerto... - NXP Community

Additionally,  flexspi_nor_release is not a sample project, it means that you need to build the project in release mode.

Best regard,

Felipe

-------------------------------------------------------------------------------

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,415 Views
mjbcswitzerland
Specialist V

Hi

Note that you can get ready made loaders (greater flexibility, with encrypted operation) from https://www.utasker.com/iMX/RT1060.html

Detailed documentation and videos at https://www.utasker.com/iMX/developers.html

Can be used in QSPI or HyperFlash (if you have examples that only can work in HyperFlash you need to solder the bridges on the board to remove the QSPI flash connections and add the HyperFlash ones, or you will need to port it to working with different Flash types).

Uploadeable reference applications included or details of how to use SDK application in plain code or on-the-fly decrypted modes in the documentation.

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/iMX/RT1060.html

0 Kudos