SDK Example - evkmimxrt1064_ota_mcuboot_client_enet

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

SDK Example - evkmimxrt1064_ota_mcuboot_client_enet

508 Views
james_boyce
Contributor II

Hello,

When trying to run the example from the SDK 'evkmimxrt1064_ota_mcuboot_client_enet' I keep getting this failure message 'FAILED to init TLS (ret=-24)'.

Has anyone any suggesting on what the issue is?

 

 

0 Kudos
Reply
6 Replies

230 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry I have the same issue, but I research more information, and it was my PC of the office, I test on my personal computer the connection was established, I use DHCP, I connect the board direct to my modem, start the http server the send the command and the communication was done. 

 

Pavel_Hernandez_2-1724901935034.png

Pavel_Hernandez_3-1724902035596.png

Best regards,
Pavel

0 Kudos
Reply

314 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I'm back with more results, I test it with the SBL [GitHub - nxp-mcuxpresso/sbl

Pavel_Hernandez_0-1724383986829.png

For testing purposes, I only modify the Slot1 address.

Pavel_Hernandez_1-1724384128753.png

Tomorrow I will try to test with the http server. I attached the documentation of the SBL.

Best regards,
Pavel

0 Kudos
Reply

318 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my apologize for the delayed answerback, we are experiencing a backlog at these days, and I commit a mistake I test only the mcuboot_opensource and that was the image that works for me.

At these days I still having doing testing on this both examples, but I have the next message error.

Pavel_Hernandez_0-1724379315214.png

This behavior is different that you present. Could you let me know the command that you are using to sign the image? 

I did the test with the next one.

"imgtool sign --key sign-rsa2048-priv.pem --align 4 --header-size 0x0400 --pad-header --slot-size 0x200000 --max-sectors 800 --version "1.0" app.bin app_binary_SIGNED.bin"

The version of SDK is the 2.16 and the IDE 11.9.1.

Could you add more information about your steps to replay your issue?

Best regards, 
Pavel

0 Kudos
Reply

459 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I test it on my side and the example work as expected, the version of SDK is the 2.16 and the IDE 11.9.1.

Best regards,
Pavel

445 Views
james_boyce
Contributor II

Hello.

OK, I was using SDK 2.16 and IDE 11.10.0.

I have tested it on IDE 11.9.1, and I'm still getting the same error.

Are you using DHCP? 

Are you running the example in debugging by using 'jump ResetISR' or are you signing the binary image and running it on the RT1064?

Regards

James


 

 

0 Kudos
Reply

483 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting our case, let me get into your case, when I have more information, I will contact you.

Best regards,
Pavel