Rt1176_evkb OTA Via Ethernet

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

Rt1176_evkb OTA Via Ethernet

814 Views
RAVIRAJ123
Contributor I

I am using rt1176 evkb we can are using j-link and serial linker for code dump and debug if i want to apply OTA via ethernet how it is possible.And also prvide guidance for that. @nxp #NXPAnalogComp

0 Kudos
Reply
3 Replies

525 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Raviraj,

The following threads may be of help:

Solved: Need RT1170 FOTA example - NXP Community

Solved: RT1170 - Field firmware update - NXP Community

Regards,
Gustavo

0 Kudos
Reply

783 Views
MStackDev_376
Contributor I

Hi,


Implementing OTA over Ethernet is a common requirement. The usual way to do it is to run a simple web server on your device that can handle file uploads.

 

For this, you can use the Mongoose Networking Library. It's a lightweight library for embedded systems that provides a wide range of networking protocols like HTTP, MQTT, WebSockets, and more. A key feature is its powerful HTTP server, which has built-in support for handling large file uploads, making it ideal for Over-the-Air (OTA) firmware updates, which is supported in Mongoose through an easy-to-use API. The library is well-documented and designed to be easily portable across different platforms, including bare-metal and RTOS environments like the one on the RT1170 board.

 

To give you a practical starting point, I've put together a simple MCUXpresso project for the RT1170 that demonstrates a working OTA implementation using Mongoose. You can import it directly and see how it works.

 

Heads up: I am part of the Mongoose development team. Hope this helps you get started.

0 Kudos
Reply

642 Views
RAVIRAJ123
Contributor I

Hello,
I am working on the i.MX RT1176 EVKB and exploring options for implementing OTA (Over-The-Air) updates. I would like to know if it is possible to perform OTA updates over Ethernet without using the Lightweight IP (LWIP) stack, by directly communicating MAC-to-MAC (i.e., using raw Ethernet frames).

Is there any example, SDK support, or recommended approach for handling OTA purely at the MAC layer (bypassing LWIP)?
Or is LWIP (or another IP stack) mandatory for OTA implementation?

Thank you.
— Raviraj

Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2172009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERt1176_evkb%20OTA%20Via%20Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2172009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20rt1176%20evkb%20we%20can%20are%20using%20j-link%20and%20serial%20linker%20for%20code%20dump%20and%20debug%20if%20i%20want%20to%20apply%20OTA%20via%20ethernet%20how%20it%20is%20possible.And%20also%20prvide%20guidance%20for%20that.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61445%22%20target%3D%22_blank%22%3E%40nxp%3C%2FA%3E%26nbsp%3B%23NXPAnalogComp%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2172009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFRDM-Training%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHands-On%20Training%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MXRT%20102x%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MXRT%20105x%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189353%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Rt1176_evkb%20OTA%20Via%20Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189353%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3BRaviraj%2C%3C%2FP%3E%0A%3CP%3EThe%20following%20threads%20may%20be%20of%20help%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FNeed-RT1170-FOTA-example%2Fm-p%2F1326147%22%20target%3D%22_blank%22%3ESolved%3A%20Need%20RT1170%20FOTA%20example%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FRT1170-Field-firmware-update%2Fm-p%2F1338628%22%20target%3D%22_blank%22%3ESolved%3A%20RT1170%20-%20Field%20firmware%20update%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EGustavo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2180488%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Rt1176_evkb%20OTA%20Via%20Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2180488%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI%20am%20working%20on%20the%20i.MX%20RT1176%20EVKB%20and%20exploring%20options%20for%20implementing%20OTA%20(Over-The-Air)%20updates.%20I%20would%20like%20to%20know%20if%20it%20is%20possible%20to%20perform%20OTA%20updates%20over%20Ethernet%20%3CSTRONG%3Ewithout%20using%20the%20Lightweight%20IP%20(LWIP)%20stack%3C%2FSTRONG%3E%2C%20by%20directly%20communicating%20%3CSTRONG%3EMAC-to-MAC%3C%2FSTRONG%3E%20(i.e.%2C%20using%20raw%20Ethernet%20frames).%3C%2FP%3E%3CP%3EIs%20there%20any%20example%2C%20SDK%20support%2C%20or%20recommended%20approach%20for%20handling%20OTA%20purely%20at%20the%20MAC%20layer%20(bypassing%20LWIP)%3F%3CBR%20%2F%3EOr%20is%20LWIP%20(or%20another%20IP%20stack)%20mandatory%20for%20OTA%20implementation%3F%3C%2FP%3E%3CP%3EThank%20you.%3CBR%20%2F%3E%E2%80%94%20Raviraj%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2172587%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Rt1176_evkb%20OTA%20Via%20Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2172587%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EImplementing%20OTA%20over%20Ethernet%20is%20a%20common%20requirement.%20The%20usual%20way%20to%20do%20it%20is%20to%20run%20a%20simple%20web%20server%20on%20your%20device%20that%20can%20handle%20file%20uploads.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFor%20this%2C%20you%20can%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fmongoose.ws%2Fu%2Fs%2Fnxp%2F222%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMongoose%20Networking%20Library%3C%2FA%3E.%20It's%20a%20lightweight%20library%20for%20embedded%20systems%20that%20provides%20a%20wide%20range%20of%20networking%20protocols%20like%20HTTP%2C%20MQTT%2C%20WebSockets%2C%20and%20more.%20A%20key%20feature%20is%20its%20powerful%20HTTP%20server%2C%20which%20has%20built-in%20support%20for%20handling%20large%20file%20uploads%2C%20making%20it%20ideal%20for%20Over-the-Air%20(OTA)%20firmware%20updates%2C%20which%20is%20supported%20in%20Mongoose%20through%20an%20easy-to-use%20API.%20The%20library%20is%20%3CA%20href%3D%22https%3A%2F%2Fmongoose.ws%2Fdocumentation%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewell-documented%3C%2FA%3E%20and%20designed%20to%20be%20easily%20portable%20across%20different%20platforms%2C%20including%20bare-metal%20and%20RTOS%20environments%20like%20the%20one%20on%20the%20RT1170%20board.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETo%20give%20you%20a%20practical%20starting%20point%2C%20I've%20put%20together%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmongoose-examples%2Fnxp-rt1170-mcuxpresso-baremetal-default%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ea%20simple%20MCUXpresso%20project%3C%2FA%3E%20for%20the%20RT1170%20that%20demonstrates%20a%20working%20OTA%20implementation%20using%20Mongoose.%20You%20can%20import%20it%20directly%20and%20see%20how%20it%20works.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHeads%20up%3A%20I%20am%20part%20of%20the%20Mongoose%20development%20team.%20Hope%20this%20helps%20you%20get%20started.%3C%2FP%3E%3C%2FLINGO-BODY%3E