SeeeduinoでRTOS

Seeed UG Advent Calendar 2019 17日目の、@dedenさんの投稿。

qiita.com

手を抜いたシンプルな投稿にもかかわらず「SeeeduinoでもRTOSやりたい!!」というワードに、なにか惹きつけられるものがあります。
これは自分でも確認しておかねば!と思い、やってみることにしました。

続きを読む

Seeeduino->IoT PnP Bridge (RasPi4)->Azure IoT Central、構築手順

先月末から、IoT PnP Bridgeをゴニョゴニョとやっていたわけですが、やっとIoT PnP BridgeのUARTを動かす方法が確立できたので書いておきます。

やること

Seeeduino(Arduino Uno互換機)からUART出力する(疑似温度データ)を、IoT PnP Bridgeを動かしたRaspberry Pi 4を経由して、Azure IoT Centralへ送り、グラフ表示します。

続きを読む

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のサンプルプログラム github編 (19.11)

github公開のAzure Sphereサンプルプログラム、

github.com

を、ざーっと確認して、5つに分類しました。

  • ハードウェア制御
  • ネットワーク
  • Wi-Fiセットアップ
  • OTAアップデート
  • その他
続きを読む

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

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

続きを読む