Visual StudioでHLApp(HLCore)をデバッグ実行したときの振る舞い

ちょっとタイトルが上手く書けませんでした(汗

Azure SphereバイスをUSB接続してVisual Studioからデバッグ実行したときの、デバイス内の実行イメージが保持されているか否かを確認しました。

HLApp (HLCore)をデバッグ実行

Cortex-Aで動かすアプリケーション(HLApp)を見てみましょう。

azsphere device enable-developmentしたばかりのデバイス内は、gdbserverだけが入っています。

続きを読む

サイドロードを有効にできない

azsphere device enable-developmentコマンドでサイドロードを有効にしようとしたところ、
error: Device group 'Development' for product 'POTestSKU' cannot be found.
というエラーが発生しました。

C:\>azsphere device enable-development
Getting device group 'Development' for product 'POTestSKU'.
error: Device group 'Development' for product 'POTestSKU' cannot be found.
Ensure that you have the right permissions to execute this command in the selected Azure Sphere tenant.
Please see https://aka.ms/AzureSphereSDKHelp/Cloud for troubleshooting or suggestions.
error: Trace ID: 42fcf6a8-4d49-4625-bc8e-a6baed0bd71d
error: Can't retrieve the target device group.
error: Product 'POTestSKU' does not have a 'Development' device group. Run 'azsphere product device-group create-defaults --productname "POTestSKU"' and then retry.

C:\>

新しい認証モデルへ移行する前に、特定SKUに割り当てているとエラーが出るのかな?

続きを読む

Azure Sphereのサンプルプログラム VisualStudio編 (19.11)

しばらくAzure Sphereを触っていなかったら、SDKバージョンが結構上がったので、今日はサンプルプログラムを一通り確認することにします。

続きを読む

azsphere operation list (19.11)

azsphereコマンドのオプション、なかなか思い出せないですよね?

自分用にazsphereコマンドの一覧を1ページにまとめた、azsphere operation listをバージョン19.11に更新しました。

azsphere operation list v19.11

f:id:matsujirushix:20191208202538p:plain

ちなみに、v19.02とv19.11の差分はこちら

最新のAzure Sphere SDK(19.11)にアップグレード

最後にAzure Sphereで遊んだのが9/10
3か月経って、SDKバージョンが19.08から19.09、19.10、19.11と3つもアップデートしているので、最新をインストールすることにしました。

続きを読む