Based on the RT1052 development board, I have encountered several issues while performing SBL (Secon

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

Based on the RT1052 development board, I have encountered several issues while performing SBL (Secon

873 Views
fovvdk
Contributor II

I have tested the SBL program to load the 'hello world' program generated by MCUXpresso, and it is able to jump correctly from the bootloader to the image. However, when I use the 'evkbimxrt1050_lvgl_demo_widgets' demo, it fails to jump properly. My SBL has initialized the SDRAM with DCD, but I am una微信图片_20240530181247.png微信图片_20240530181318.png微信图片_20240530181448.png微信图片_20240530181534.pngble to continue with the testing at this point. I request assistance.

Labels (2)
Tags (1)
0 Kudos
Reply
4 Replies

772 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @fovvdk,

Apologies for such a delayed response. Are you still experiencing the issue at hand? If so, have you had any further developments with the priority operation?

BR,
Edwin.

0 Kudos
Reply

735 Views
fovvdk
Contributor II

Here's my update, and after the reset it becomes the above situation and doesn't move

[19:30:55.469] Bootloader chainload address offset: 0x100000
[19:30:55.528] Reset_Handler address offset: 0x100400
[19:30:55.528] Jumping to the image
[19:30:55.528]
[19:30:55.528]
[19:30:55.528] this is test vesion 20240611
[19:30:55.584] MuxSem_Handle浜掓枼閲忓垱寤烘垚鍔
[19:30:55.610] Initializing PHY...
[19:30:55.610]
[19:30:55.610] ************************************************
[19:30:55.610] MQTT client example
[19:30:55.616] ************************************************
[19:30:55.616]
[19:30:58.607] Getting IP address from DHCP...
[19:30:58.607] Alicloud updating task enable.
[19:30:58.617] Current image verison: 1.0.0
[19:30:58.617] [3.000][LK-0313] MQTT user calls aiot_mqtt_connect api, connect
[19:30:58.627] [3.000][LK-0317] ali_test_2&a1arN1MeSAI
[19:30:58.640] [3.000][LK-0318] 0FC5F43B6B0C9602F99CA4781CE23C8CB919B6FC650F901F7DA7883A0E92A8D9
[19:30:58.650] unknown option
[19:30:58.650] unknown option
[19:30:58.650] establish tcp connection with server(host='a1arN1MeSAI.iot-as-mqtt.cn-shanghai.aliyuncs.com', port=[443])
[19:30:58.658]
[19:30:58.658] IPv4 Address : 192.168.1.126
[19:30:58.670] IPv4 Subnet mask : 255.255.255.0
[19:30:58.670] IPv4 Gateway : 192.168.1.1
[19:30:58.670]
[19:30:58.670] Resolving "broker.emqx.io"...
[19:30:58.679]
[19:30:58.679] IPv4 Address : 192.168.1.126
[19:30:58.679] IPv4 Subnet mask : 255.255.255.0
[19:30:58.679] IPv4 Gateway : 192.168.1.1
[19:30:58.688]
[19:30:58.688] Resolving "broker.emqx.io"...
[19:30:58.688] Connecting to MQTT broker at 54.244.173.190...
[19:30:58.704] Connecting to MQTT broker at 54.244.173.190...
[19:30:58.716]
[19:31:01.558] success to establish tcp, fd=0
[19:31:01.558] [6.111][LK-0313] MQTT connect success in 3165 ms
[19:31:01.798] AIOT_MQTTEVT_CONNECT
[19:31:01.798] Update done, the last update type: ALI platform
[19:31:01.798] Write OK flag: off = 0x1fffe0
[19:31:01.847] [6.222][LK-0309] pub: /ota/device/inform/a1arN1MeSAI/ali_test_2
[19:31:01.909]
[19:31:01.909] [LK-030A] > 7B 22 69 64 22 3A 31 2C 20 22 70 61 72 61 6D 73 | {"id":1, "params
[19:31:01.909] [LK-030A] > 22 3A 7B 22 76 65 72 73 69 6F 6E 22 3A 22 31 2E | ":{"version":"1.
[19:31:01.919] [LK-030A] > 30 2E 30 22 7D 7D | 0.0"}}
[19:31:01.923]
[19:31:01.923]
[19:31:02.829] MQTT client "nxp_092371d24aa9e087" connected.
[19:31:02.829]
[19:31:03.639] Published to the topic "th_selfweld_device/01".
[19:31:03.648] Published to the topic "th_selfweld_device/01".
[19:31:03.648]
[19:31:04.329] Published to the topic "th_selfweld_device/01".
[19:31:04.329] Published to the topic "th_selfweld_device/01".
[19:31:04.332]
[19:31:08.309] [12.666][LK-0309] pub: /ota/device/upgrade/a1arN1MeSAI/ali_test_2
[19:31:08.320]
[19:31:08.320] [LK-030A] < 7B 22 63 6F 64 65 22 3A 22 31 30 30 30 22 2C 22 | {"code":"1000","
[19:31:08.320] [LK-030A] < 64 61 74 61 22 3A 7B 22 73 69 7A 65 22 3A 33 31 | data":{"size":31
[19:31:08.330] [LK-030A] < 31 33 38 34 2C 22 73 69 67 6E 22 3A 22 66 33 64 | 1384,"sign":"f3d
[19:31:08.339] [LK-030A] < 39 31 61 65 35 66 36 66 63 36 61 34 38 30 38 34 | 91ae5f6fc6a48084
[19:31:08.350] [LK-030A] < 66 63 33 62 34 65 37 65 37 34 34 66 32 22 2C 22 | fc3b4e7e744f2","
[19:31:08.350] [LK-030A] < 76 65 72 73 69 6F 6E 22 3A 22 31 2E 34 2E 30 22 | version":"1.4.0"
[19:31:08.359] [LK-030A] < 2C 22 73 69 67 6E 4D 65 74 68 6F 64 22 3A 22 4D | ,"signMethod":"M
[19:31:08.370] [LK-030A] < 64 35 22 2C 22 75 72 6C 22 3A 22 68 74 74 70 73 | d5","url":"https
[19:31:08.380] [LK-030A] < 3A 2F 2F 6F 74 61 2D 63 6E 2D 73 68 61 6E 67 68 | ://ota-cn-shangh
[19:31:08.380] [LK-030A] < 61 69 2E 69 6F 74 2D 74 68 69 6E 67 2E 61 6C 69 | ai.iot-thing.ali
[19:31:08.389] [LK-030A] < 79 75 6E 63 73 2E 63 6F 6D 2F 6F 74 61 2F 61 35 | yuncs.com/ota/a5
[19:31:08.400] [LK-030A] < 65 66 35 36 63 31 33 62 34 36 38 65 61 64 31 32 | ef56c13b468ead12
[19:31:08.410] [LK-030A] < 66 33 35 33 32 64 31 63 39 33 63 31 39 63 2F 63 | f3532d1c93c19c/c
[19:31:08.410] [LK-030A] < 6C 78 62 6E 70 6D 70 66 30 30 30 30 33 6A 38 6E | lxbnpmpf00003j8n
[19:31:08.420] [LK-030A] < 77 72 33 6F 75 74 76 71 2E 62 69 6E 3F 61 75 74 | wr3outvq.bin?aut
[19:31:08.429] [LK-030A] < 68 5F 6B 65 79 3D 31 37 31 38 32 37 36 34 36 37 | h_key=1718276467
[19:31:08.440] [LK-030A] < 2D 61 38 36 30 38 65 65 33 61 63 31 64 34 37 63 | -a8608ee3ac1d47c
[19:31:08.440] [LK-030A] < 61 38 38 39 35 34 36 39 39 37 36 39 34 35 61 34 | a8895469976945a4
[19:31:08.449] [LK-030A] < 65 2D 30 2D 38 66 66 64 35 61 65 39 30 33 61 65 | e-0-8ffd5ae903ae
[19:31:08.460] [LK-030A] < 36 39 61 39 62 31 38 61 64 33 33 62 35 34 61 38 | 69a9b18ad33b54a8
[19:31:08.469] [LK-030A] < 31 37 32 30 22 2C 22 6D 64 35 22 3A 22 66 33 64 | 1720","md5":"f3d
[19:31:08.469] [LK-030A] < 39 31 61 65 35 66 36 66 63 36 61 34 38 30 38 34 | 91ae5f6fc6a48084
[19:31:08.479] [LK-030A] < 66 63 33 62 34 65 37 65 37 34 34 66 32 22 7D 2C | fc3b4e7e744f2"},
[19:31:08.490] [LK-030A] < 22 69 64 22 3A 31 37 31 38 31 39 31 38 36 37 34 | "id":17181918674
[19:31:08.499] [LK-030A] < 34 38 2C 22 6D 65 73 73 61 67 65 22 3A 22 73 75 | 48,"message":"su
[19:31:08.499] [LK-030A] < 63 63 65 73 73 22 7D | ccess"}
[19:31:08.507]
[19:31:08.507] OTA target firmware version: 1.4.0, size: 311384 Bytes
[19:31:08.515]
[19:31:20.039] unknown option
[19:31:20.049] establish tcp connection with server(host='ota-cn-shanghai.iot-thing.aliyuncs.com', port=[80])
[19:31:20.049] success to establish tcp, fd=1
[19:31:20.109] [12.888][LK-040B] > GET /ota/a5ef56c13b468ead12f3532d1c93c19c/clxbnpmpf00003j8nwr3outvq.bin?auth_key=1718276467-a8608ee3ac1d47ca8895469976945a4e-0-8ffd5ae903ae6
[19:31:20.129] [12.999][LK-040B] > Host: ota-cn-shanghai.iot-thing.aliyuncs.com
[19:31:20.129] [12.999][LK-040B] > Accept: text/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8
[19:31:20.139] [12.999][LK-040B] > Range: bytes=0-
[19:31:20.139] [12.999][LK-040B] > Content-Length: 0
[19:31:20.150] [12.999][LK-040B] >
[19:31:20.150] [12.999][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:20.159]
[19:31:20.159] [LK-030A] > 7B 22 69 64 22 3A 32 2C 20 22 70 61 72 61 6D 73 | {"id":2, "params
[19:31:20.169] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 30 22 2C 22 64 | ":{"step":"0","d
[19:31:20.169] [LK-030A] > 65 73 63 22 3A 22 22 7D 7D | esc":""}}
[19:31:20.190]
[19:31:20.190] [12.999][LK-040D] < HTTP/1.1 206 Partial Content
[19:31:20.197] [12.999][LK-040D] < Server: Tengine
[19:31:20.197] [12.999][LK-040D] < Content-Type: application/octet-stream
[19:31:20.209] [13.000][LK-040D] < Content-Length: 311384
[19:31:20.218] [13.000][LK-040D] < Connection: keep-alive
[19:31:20.226] [13.000][LK-040D] < Date: Wed, 12 Jun 2024 10:00:18 GMT
[19:31:20.237] [13.000][LK-040D] < x-oss-request-id: 666971B295CBF1323717D37B
[19:31:20.257] [13.000][LK-040D] < x-oss-cdn-auth: success
[19:31:20.257] [13.000][LK-040D] < Accept-Ranges: bytes
[19:31:20.265] [13.000][LK-040D] < ETag: "F3D91AE5F6FC6A48084FC3B4E7E744F2"
[19:31:20.276] [13.000][LK-040D] < Last-Modified: Wed, 12 Jun 2024 09:56:57 GMT
[19:31:20.297] [13.000][LK-040D] < x-oss-object-type: Normal
[19:31:20.297] [13.000][LK-040D] < x-oss-hash-crc64ecma: 2400253772806396759
[19:31:20.319] [13.111][LK-040D] < x-oss-storage-class: Standard
[19:31:20.330] [13.111][LK-040D] < Content-MD5: 89ka5fb8akgIT8O05+dE8g==
[19:31:20.338] [13.111][LK-040D] < x-oss-server-time: 27
[19:31:20.338] [13.111][LK-040D] < Ali-Swift-Global-Savetime: 1718186418
[19:31:20.349] [13.111][LK-040D] < Via: cache10.l2cn3162[262,262,206-0,M], cache69.l2cn3162[264,0], kunlun8.cn4307[0,0,206-0,H], kunlun5.cn4307[1,0]
[19:31:20.378] [13.111][LK-040D] < Age: 5461
[19:31:20.389] [13.111][LK-040D] < X-Cache: HIT TCP_MEM_HIT dirn:-2:-2
[19:31:20.399] [13.111][LK-040D] < Content-Range: bytes 0-311383/311384
[19:31:20.404] [13.222][LK-040D] < X-Swift-SaveTime: Wed, 12 Jun 2024 10:00:18 GMT
[19:31:20.418] [13.222][LK-040D] < X-Swift-CacheTime: 15552000
[19:31:20.426] [13.222][LK-040D] < Timing-Allow-Origin: *
[19:31:20.435] [13.222][LK-040D] < EagleId: 74a9a71917181918793287278e
[19:31:20.449] [13.222][LK-040D] <
[19:31:20.451]
[19:31:21.255] Published to the topic "th_selfweld_device/01".
[19:31:21.255] download 5% done, +2048 bytes
[19:31:21.469] [14.222][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:21.479]
[19:31:21.479] [LK-030A] > 7B 22 69 64 22 3A 33 2C 20 22 70 61 72 61 6D 73 | {"id":3, "params
[19:31:21.490] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 35 22 2C 22 64 | ":{"step":"5","d
[19:31:21.490] [LK-030A] > 65 73 63 22 3A 22 22 7D 7D | esc":""}}
[19:31:21.496]
[19:31:21.496]
[19:31:21.797] Published to the topic "th_selfweld_device/01".
[19:31:21.797]
[19:31:22.639] download 10% done, +2048 bytes
[19:31:22.639] [15.333][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:22.650]
[19:31:22.650] [LK-030A] > 7B 22 69 64 22 3A 34 2C 20 22 70 61 72 61 6D 73 | {"id":4, "params
[19:31:22.660] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 31 30 22 2C 22 | ":{"step":"10","
[19:31:22.668] [LK-030A] > 64 65 73 63 22 3A 22 22 7D 7D | desc":""}}
[19:31:22.668]
[19:31:22.668] Published to the topic "th_selfweld_device/01".
[19:31:22.789] Published to the topic "th_selfweld_device/01".
[19:31:22.796]
[19:31:23.669] download 15% done, +2048 bytes
[19:31:23.669] [16.333][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:23.678]
[19:31:23.678] [LK-030A] > 7B 22 69 64 22 3A 35 2C 20 22 70 61 72 61 6D 73 | {"id":5, "params
[19:31:23.678] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 31 35 22 2C 22 | ":{"step":"15","
[19:31:23.688] [LK-030A] > 64 65 73 63 22 3A 22 22 7D 7D | desc":""}}
[19:31:23.693]
[19:31:23.693]
[19:31:24.419] Published to the topic "th_selfweld_device/01".
[19:31:24.425] Published to the topic "th_selfweld_device/01".
[19:31:24.425] download 20% done, +2048 bytes
[19:31:24.819] [17.444][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:24.819]
[19:31:24.829] [LK-030A] > 7B 22 69 64 22 3A 36 2C 20 22 70 61 72 61 6D 73 | {"id":6, "params
[19:31:24.829] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 32 30 22 2C 22 | ":{"step":"20","
[19:31:24.839] [LK-030A] > 64 65 73 63 22 3A 22 22 7D 7D | desc":""}}
[19:31:24.843]
[19:31:24.843]
[19:31:24.966] Published to the topic "th_selfweld_device/01".
[19:31:24.966]
[19:31:25.507] Published to the topic "th_selfweld_device/01".
[19:31:25.507] download 25% done, +2048 bytes
[19:31:25.989] [18.666][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:25.999]
[19:31:25.999] [LK-030A] > 7B 22 69 64 22 3A 37 2C 20 22 70 61 72 61 6D 73 | {"
[19:31:26.010] id":7, "params
[19:31:26.010] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 32 35 22 2C 22 | ":{"step":"25","
[19:31:26.010] [LK-030A] > 64 65 73 63 22 3A 22 22 7D 7D | desc":""}}
[19:31:26.016]
[19:31:26.016] Published to the topic "th_selfweld_device/01".
[19:31:26.054]
[19:31:26.858] Published to the topic "th_selfweld_device/01".
[19:31:26.858] download 30% done, +2048 bytes
[19:31:27.009] [19.666][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:27.019]
[19:31:27.019] [LK-030A] > 7B 22 69 64 22 3A 38 2C 20 22 70 61 72 61 6D 73 | {"id":8, "params
[19:31:27.019] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 33 30 22 2C 22 | ":{"step":"30","
[19:31:27.029] [LK-030A] > 64 65 73 63 22 3A 22 22 7D 7D | desc":""}}
[19:31:27.034]
[19:31:27.034]
[19:31:28.509] download 35% done, +2048 bytes
[19:31:28.509] [21.111][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:28.520]
[19:31:28.520] [LK-030A] > 7B 22 69 64 22 3A 39 2C 20 22 70 61 72 61 6D 73 | {"id":9, "params
[19:31:28.520] [LK-030A] > 22 3A 7B 22 73 74 65 70 22 3A 22 33 35 22 2C 22 | ":{"step":"35","
[19:31:28.529] [LK-030A] > 64 65 73 63 22 3A 22 22 7D 7D | desc":""}}
[19:31:28.533]
[19:31:28.533]
[19:31:29.454] Published to the topic "th_selfweld_device/01".
[19:31:29.454] download 40% done, +2048 bytes
[19:31:29.529] [22.111][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:29.539]
[19:31:29.539] [LK-030A] > 7B 22 69 64 22 3A 31 30 2C 20 22 70 61 72 61 6D | {"id":10, "param
[19:31:29.549] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 34 30 22 2C | s":{"step":"40",
[19:31:29.549] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:29.557]
[19:31:29.557] Published to the topic "th_selfweld_device/01".
[19:31:29.645]
[19:31:30.087] Published to the topic "th_selfweld_device/01".
[19:31:30.087]
[19:31:30.680] download 45% done, +2048 bytes
[19:31:30.680] [23.222][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:30.689]
[19:31:30.689] [LK-030A] > 7B 22 69 64 22 3A 31 31 2C 20 22 70 61 72 61 6D | {"id":11, "param
[19:31:30.700] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 34 35 22 2C | s":{"step":"45",
[19:31:30.700] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:30.707]
[19:31:30.707] Published to the topic "th_selfweld_device/01".
[19:31:31.008]
[19:31:32.037] Published to the topic "th_selfweld_device/01".
[19:31:32.037] download 50% done, +2048 bytes
[19:31:32.079] [24.555][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:32.089]
[19:31:32.089] [LK-030A] > 7B 22 69 64 22 3A 31 32 2C 20 22 70 61 72 61 6D | {"id":12, "param
[19:31:32.099] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 35 30 22 2C | s":{"step":"50",
[19:31:32.099] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:32.107]
[19:31:32.107]
[19:31:32.560] heartbeat response
[19:31:32.561] download 55% done, +2048 bytes
[19:31:33.029] [25.555][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:33.040]
[19:31:33.040] [LK-030A] > 7B 22 69 64 22 3A 31 33 2C 20 22 70 61 72 61 6D | {"id":13, "param
[19:31:33.050] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 35 35 22 2C | s":{"step":"55",
[19:31:33.057] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:33.057]
[19:31:33.057]
[19:31:33.073] Published to the topic "th_selfweld_device/01".
[19:31:33.073]
[19:31:34.628] download 60% done, +2048 bytes
[19:31:34.628] [27.000][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:34.639]
[19:31:34.639] [LK-030A] > 7B 22 69 64 22 3A 31 34 2C 20 22 70 61 72 61 6D | {"id":14, "param
[19:31:34.649] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 36 30 22 2C | s":{"step":"60",
[19:31:34.658] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:34.658]
[19:31:34.658]
[19:31:35.603] Published to the topic "th_selfweld_device/01".
[19:31:35.603] Published to the topic "th_selfweld_device/01".
[19:31:35.800] download 65% done, +2048 bytes
[19:31:35.920] [28.333][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:35.920]
[19:31:35.920] [LK-030A] > 7B 22 69 64 22 3A 31 35 2C 20 22 70 61 72 61 6D | {"id":15, "param
[19:31:35.929] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 36 35 22 2C | s":{"step":"65",
[19:31:35.940] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:35.943]
[19:31:35.943]
[19:31:36.237] Published to the topic "th_selfweld_device/01".
[19:31:36.237]
[19:31:37.060] download 70% done, +2048 bytes
[19:31:37.060] [29.444][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:37.070]
[19:31:37.070] [LK-030A] > 7B 22 69 64 22 3A 31 36 2C 20 22 70 61 72 61 6D | {"id":16, "param
[19:31:37.079] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 37 30 22 2C | s":{"step":"70",
[19:31:37.079] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:37.087]
[19:31:37.087] Published to the topic "th_selfweld_device/01".
[19:31:37.201]
[19:31:38.307] Published to the topic "th_selfweld_device/01".
[19:31:38.307] download 75% done, +2048 bytes
[19:31:38.549] [30.999][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:38.559]
[19:31:38.559] [LK-030A] > 7B 22 69 64 22 3A 31 37 2C 20 22 70 61 72 61 6D | {"id":17, "param
[19:31:38.568] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 37 35 22 2C | s":{"step":"75",
[19:31:38.568] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:38.576]
[19:31:38.576]
[19:31:39.258] Published to the topic "th_selfweld_device/01".
[19:31:39.262] download 80% done, +2048 bytes
[19:31:39.719] [32.000][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:39.719]
[19:31:39.719] [LK-030A] > 7B 22 69 64 22 3A 31 38 2C 20 22 70 61 72 61 6D | {"id":18, "param
[19:31:39.729] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 38 30 22 2C | s":{"step":"80",
[19:31:39.739] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:39.742]
[19:31:39.742]
[19:31:40.289] Published to the topic "th_selfweld_device/01".
[19:31:40.290]
[19:31:40.859] download 85% done, +2048 bytes
[19:31:40.859] [33.111][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:40.870]
[19:31:40.870] [LK-030A] > 7B 22 69 64 22 3A 31 39 2C 20 22 70 61 72 61 6D | {"id":19, "param
[19:31:40.878] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 38 35 22 2C | s":{"step":"85",
[19:31:40.889] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:40.889]
[19:31:40.889]
[19:31:41.879] download 90% done, +2048 bytes
[19:31:41.879] [34.111][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:41.889]
[19:31:41.889] [LK-030A] > 7B 22 69 64 22 3A 32 30 2C 20 22 70 61 72 61 6D | {"id":20, "param
[19:31:41.889] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 39 30 22 2C | s":{"step":"90",
[19:31:41.899] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:41.903]
[19:31:41.903]
[19:31:42.792] Published to the topic "th_selfweld_device/01".
[19:31:42.792] Published to the topic "th_selfweld_device/01".
[19:31:42.981] download 95% done, +2048 bytes
[19:31:43.049] [35.222][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:43.049]
[19:31:43.049] [LK-030A] > 7B 22 69 64 22 3A 32 31 2C 20 22 70 61 72 61 6D | {"id":21, "param
[19:31:43.059] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 39 35 22 2C | s":{"step":"95",
[19:31:43.069] [LK-030A] > 22 64 65 73 63 22 3A 22 22 7D 7D | "desc":""}}
[19:31:43.072]
[19:31:43.072]
[19:31:43.466] Published to the topic "th_selfweld_device/01".
[19:31:43.466]
[19:31:44.460] [36.666][LK-0901] digest matched
[19:31:44.460] download 100% done, +88 bytes
[19:31:44.460] [36.666][LK-0309] pub: /ota/device/progress/a1arN1MeSAI/ali_test_2
[19:31:44.470]
[19:31:44.470] [LK-030A] > 7B 22 69 64 22 3A 32 32 2C 20 22 70 61 72 61 6D | {"id":22, "param
[19:31:44.479] [LK-030A] > 73 22 3A 7B 22 73 74 65 70 22 3A 22 31 30 30 22 | s":{"step":"100"
[19:31:44.479] [LK-030A] > 2C 22 64 65 73 63 22 3A 22 22 7D 7D | ,"desc":""}}
[19:31:44.490]
[19:31:44.490] write update type = 0x4
[19:31:44.498] write magic number offset = 0x2fffe0
[19:31:44.498] Down finished all.SystemReset Now...hello sbl.
[19:31:44.520] Bootloader Version 1.1.0
[19:31:44.520] Primary image: magic=good, swap_type=0x1, copy_done=0x3, image_ok=0x1
[19:31:44.529] Secondary image: magic=good, swap_type=0x1, copy_done=0x3, image_ok=0x3
[19:31:44.529] Boot source: none
[19:31:44.534] Swap type: test
[19:31:44.534] erasing trailer; fa_id=1
[19:31:44.534] initializing status; fa_id=1
[19:31:44.719] writing swap_info; fa_id=1 off=0xlx (0xlx), swap_type=0xfffd8 image_num=0x1fffd8
[19:31:44.729] writing swap_size; fa_id=1 off=0xlx (0xlx)
[19:31:44.729] writing magic; fa_id=1 off=0xlx (0xlx)
[19:31:44.734] erasing trailer; fa_id=2
[19:31:44.734]
[19:31:56.825] writing copy_done; fa_id=1 off=0xlx (0xlx)
[19:31:56.825] Bootloader chainload address offset: 0x100000
[19:31:56.878] Reset_Handler address offset: 0x100400
[19:31:56.883] Jumping to the image
[19:31:56.883]
[19:31:56.883]
[19:31:56.883] this is test vesion 20240611
[19:31:56.939] MuxSem_Handle浜掓枼閲忓垱寤烘垚鍔
[19:31:56.959] Initializing PHY...
[19:31:56.968]
[19:31:56.968] ************************************************
[19:31:56.968] MQTT client example
[19:31:56.968] ************************************************
[19:31:56.970]
[19:31:59.969] Getting IP address from DHCP...
[19:31:59.969] Alicloud updating task enable.
[19:31:59.979] Current image verison: 1.4.0
[19:31:59.979] [3.000][LK-0313] MQTT user calls aiot_mqtt_connect api, connect
[19:31:59.989] [3.000][LK-0317] ali_test_2&a1arN1MeSAI
[19:31:59.999] [3.000][LK-0318] 0FC5F43B6B0C9602F99CA4781CE23C8CB919B6FC650F901F7DA7883A0E92A8D9
[19:32:00.008] unknown option
[19:32:00.008] unknown option
[19:32:00.008] establish tcp connection with server(host='a1arN1MeSAI.iot-as-mqtt.cn-shanghai.aliyuncs.com', port=[443])
[19:32:00.019]
[19:32:00.019] IPv4 Address : 192.168.1.126
[19:32:00.019] IPv4 Subnet mask : 255.255.255.0
[19:32:00.029] IPv4 Gateway : 192.168.1.1
[19:32:00.029]
[19:32:00.029] Resolving "broker.emqx.io"...
[19:32:00.029]
[19:32:00.029] IPv4 Address : 192.168.1.126
[19:32:00.039] IPv4 Subnet mask : 255.255.255.0
[19:32:00.039] IPv4 Gateway : 192.168.1.1
[19:32:00.043]
[19:32:00.043] Resolving "broker.emqx.io"...
[19:32:00.043] Connecting to MQTT broker at 54.244.173.190...
[19:32:00.058] Connecting to MQTT broker at 54.244.173.190...
[19:32:00.075] success to establish tcp, fd=0
[19:32:00.075] [3.111][LK-0313] MQTT connect success in 166 ms
[19:32:00.150] AIOT_MQTTEVT_CONNECT
[19:32:00.155] Update done, the last update type: ALI platform
[19:32:00.155] Write OK flag: off = 0x1fffe0
[19:32:00.204] [3.222][LK-0309] pub: /ota/device/inform/a1arN1MeSAI/ali_test_2
[19:32:00.258]
[19:32:00.269] [LK-030A] > 7B 22 69 64 22 3A 31 2C 20 22 70 61 72 61 6D 73 | {"id":1, "params
[19:32:00.269] [LK-030A] > 22 3A 7B 22 76 65 72 73 69 6F 6E 22 3A 22 31 2E | ":{"version":"1.
[19:32:00.278] [LK-030A] > 34 2E 30 22 7D 7D | 4.0"}}
[19:32:00.281]
[19:32:00.281]
[19:32:01.238] MQTT client "nxp_092371d24aa9e087" connected.
[19:32:01.238] Published to the topic "th_selfweld_device/01".
[19:32:01.242] Published to the topic "th_selfweld_device/01".
[19:32:01.652]
[19:32:02.369] Published to the topic "th_selfweld_device/01".
[19:32:02.369]
[19:32:04.609] Published to the topic "th_selfweld_device/01".
[19:32:04.609] Published to the topic "th_selfweld_device/01".

 

==============reset====================

 

[19:40:06.145]

[19:40:06.389] hello sbl.

[19:40:06.389] Bootloader Version 1.1.0

[19:40:06.389] Primary image: magic=good, swap_type=0x1, copy_done=0x3, image_ok=0x1

[19:40:06.389] Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3

[19:40:06.399] Boot source: primary slot

[19:40:06.399]

0 Kudos
Reply

753 Views
fovvdk
Contributor II

I'm on track for now, but I still have a few questions for you to answer

1、Whether the “*((volatile uint32_t *)0x41044100) = 5” executed in SBL will be carried over to the subsequent app?

2、After the upgrade, if you do not reset, you can jump to app2 to execute it, and images cannot be started normally after reset

fovvdk_0-1718160529796.png

 

0 Kudos
Reply

841 Views
fovvdk
Contributor II

I know what's wrong, it's caused by *((volatile uint32_t *)0x41044100) = 5。

I put it at the beginning of the sbl file, whether this priority operation is necessary, whether the operation will be inherited to app1 when put it in the sbl program, who can help me solve this

0 Kudos
Reply