question

FrankHsieh-5045 avatar image
0 Votes"
FrankHsieh-5045 asked asergaz commented

Azure Sphere RT Core Update Failed

Hi,
I've developed with the USI Azure Sphere Dev Kit Board, and the installed SDK version is 21.10.
I'm trying to run the UART real-time core sample code (mt3620-m4-samples), but the VS shows device update failed.
165632-vs-error.png
165519-vs-output.png

Do you have any ideas?
Tell me if you need more infos.

P.S:
1. The rt-core-debugging has already been enabled.
2. The MSFT MT3620 Std Interface driver has already been installed.
165616-ftdi-driver.png
3. The high-level application can normally operate.


azure-sphere
vs-error.png (3.9 KiB)
vs-output.png (99.3 KiB)
ftdi-driver.png (68.9 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

FYI

I tried my environment. It is working.

165881-image.png


0 Votes 0 ·
image.png (65.6 KiB)

Hi,
Thanks for providing the setup environment, I found that the problem is my hardware setup, which is replied to above, after the SWD interface is connected, the sample works fine.

0 Votes 0 ·

1 Answer

asergaz avatar image
0 Votes"
asergaz answered asergaz commented

Hi @FrankHsieh-5045,
Can you confirm that before trying this sample you successfully Build and run the HelloWorld RTApp application with Visual Studio ? When we complete this tutorial it helps us confirm that the setup to build a sample application for the real-time cores on an Azure Sphere device is correct.

Thanks!


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Thanks for your comment, after checking the mt3620-mcu-program-debug-interface, I found that I forgot to connect the SWD interface, which is needed for RT core debugging.
After connecting the SWD interface, the sample is working.

2 Votes 2 ·

Thanks for confirming @FrankHsieh-5045 , glad to have helped unblock you :). Can you please accept the answer if it helped?

Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
- Want a reminder to come back and check responses? Here is how to subscribe to a notification.

0 Votes 0 ·