ota_mcuboot_server_enet#
Overview#
This application demonstrates OTA update through HTTP server based on lwIP TCP/IP stack with FreeRTOS. The user uses an Internet browser to upload new version of firmware and restarts the board to perform the update
Supported Boards#
EVKB-IMXRT1050
Hardware requirements
Mini/micro USB cable
Network cable RJ45 standard
EVKB-IMXRT1050 board
Personal Computer
Board settings
No special settings are required.
MIMXRT1060-EVKB
Hardware requirements
Mini/micro USB cable
Ethernet cable
EVKB-MIMXRT1060 board
Personal Computer
Board settings
No special settings are required.
MIMXRT1170-EVKB
Hardware requirements
Mini/micro USB cable
Network cable RJ45 standard
MIMXRT1170-EVKB board
Personal Computer
Board settings
This example uses 1G port(J4) as default. If want to test 100M port(J3), please set the macro BOARD_NETWORK_USE_100M_ENET_PORT to 1.
Running the demo
Platform specific behavior: When an application programmatically performs software-induced reset while in a debugging session, the execution stalls in the ROM code. This is a feature. Your attention is needed at that moment: please perform reset manually by pressing the on-board hw reset button once you spot “SystemReset” message in the serial console. Manual reset is not needed while MCU is running freely without a debugger.
MIMXRT1060-EVKC
Hardware requirements
Mini/micro USB cable
Ethernet cable
MIMXRT1060-EVKC board
Personal Computer
Board settings
No special settings are required.
MIMXRT1040-EVK
Hardware requirements
Mini/micro USB cable
Ethernet cable
MIMXRT1040-EVK board
Personal Computer
Board settings
No special settings are required.
EVK-MIMXRT1064
Hardware requirements
Mini/micro USB cable
EVK-MIMXRT1064 board
Personal Computer
Board settings
No special settings are required.
MIMXRT1160-EVK
Hardware requirements
Mini/micro USB cable
Network cable RJ45 standard
MIMXRT1160-EVK board
Personal Computer
Board settings
This example uses 1G port(J4) as default. If want to test 100M port(J3), please set the macro BOARD_NETWORK_USE_100M_ENET_PORT to 1.
Platform specific behavior
When an application programmatically performs software-induced reset while in a debugging session, the execution stalls in the ROM code. This is a feature. Your attention is needed at that moment: please perform reset manually by pressing the on-board hw reset button once you spot “SystemReset” message in the serial console. Manual reset is not needed while MCU is running freely without a debugger.
MIMXRT1180-EVK
Hardware requirements
Mini/micro USB cable
Network cable RJ45 standard
MIMXRT1180-EVK board
Personal Computer
Board settings
This example uses port ENET4 (J32) as default.
FRDM-MCXN947
Hardware requirements
Mini/micro USB cable
RJ45 Network cable
FRDM-MCXN947 board
Personal Computer
Board settings
Note that when HW flash swapping feature is used the images are swapped so that address range of the primary image translates to the range of the secondary image and vice versa. The web page of the ota_mcuboot_server example shows image state as read from the bus so when HW flash swapping is used it will not match with the physical image state - the slots will be swapped.
FRDM-MCXN947T
Hardware requirements
Mini/micro USB cable
RJ45 Network cable
FRDM-MCXN947T board
Personal Computer
Board settings
Note that when HW flash swapping feature is used the images are swapped so that address range of the primary image translates to the range of the secondary image and vice versa. The web page of the ota_mcuboot_server example shows image state as read from the bus so when HW flash swapping is used it will not match with the physical image state - the slots will be swapped.
FRDM-RW612
Hardware requirements
Micro USB cable
Personal Computer
Board settings
MCX-N5XX-EVK
Hardware requirements
Mini/micro USB cable
RJ45 Network cable
MCX-N5XX-EVK board
Personal Computer
Board settings
Connect JP13 2-3 pin. Populate R274 to sync reference clock. Note that when HW flash swapping feature is used the images are swapped so that address range of the primary image translates to the range of the secondary image and vice versa. The web page of the ota_mcuboot_server example shows image state as read from the bus so when HW flash swapping is used it will not match with the physical image state - the slots will be swapped.
MCX-N9XX-EVK
Hardware requirements
Mini/micro USB cable
RJ45 Network cable
MCX-N9XX-EVK board
Personal Computer
Board settings
Connect JP13 2-3 pin. Populate R274 to sync reference clock. Note that when HW flash swapping feature is used the images are swapped so that address range of the primary image translates to the range of the secondary image and vice versa. The web page of the ota_mcuboot_server example shows image state as read from the bus so when HW flash swapping is used it will not match with the physical image state - the slots will be swapped.
RD-RW612-BGA
Hardware requirements
Micro USB cable
Personal Computer
Board settings
FRDM-IMXRT1186
Hardware requirements
Type-C USB cable
Network cable RJ45 standard
FRDM-RT1186 board
Personal Computer
Board settings
Short jumpers J12 (1-2) and J13 (2-3) and connect network cable to J56A.