Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mirko Bonello
    @mirkob_twitter
    but my device gets stuck in "Running" state after re-booting and the Azure signal does NOT turn on. Can someone help?
    Benjamin Cabé
    @kartben
    Hi everyone -- I have an issue with my MXChip (tried with quite a few actually, so it's not a HW issue I believe) where a firmware built using SDK 1.9.10 deployed by copying to mass storage leads to the MXChip not booting up at all (black screen) whereas the same program deployed from VS Code / OpenOCD just works. Any thoughts? FWIW this is the firmware: https://github.com/kartben/mxchip_pnp_asset_tracker
    Peter Gallagher
    @pjgpetecodes
    @mirkob_twitter I've got the exact same problem... Did you have any luck fixing it?
    ashishjos
    @ashishjos
    Although I had been using MXCHIP for some time. But just today installed the setup in a new laptop. I am stuck in the step in Visual Code where I have to go to Arduino:Board Manager and select AZ3166. I have tried multiple times refreshing package list but this board does not appear. I have installed the latest Arduino UI 1.8.10. The log indicates some certificate error. Pasting the excerpt below. Any help would be great, as I am stuck right now:
    This is the error: 2019-11-16T12:46:03.909Z INFO c.a.u.n.HttpConnectionManager:148 [main] Connect to https://raw.githubusercontent.com/VSChina/azureiotdevkit_tools/master/package_azureboard_index.json, method=HEAD, request id=97F4B1E8C4EC49E4
    2019-11-16T12:46:04.149Z ERROR c.a.u.n.FileDownloader:199 [main] The request stop
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Sean Weiss
    @weisssean
    Been trying to follow the get started doc but my Mac running OSX 10.15.1 does not see the device as an external device, not even in the terminal. Any clue? see https://stackoverflow.com/questions/58905122/azure-az3166-not-showing-in-finder
    JerryYang
    @JerryYangKai
    @mirkob_twitter @pjgpetecodes I think it may have got some problem when connecting to Azure. You can check the log in Serial Monitor to tracking the error.
    JerryYang
    @JerryYangKai
    @ashishjos It may be some java cert problem in your new laptop. I searched your error log in Google and found someone meet same problem like you. The solution is generate a new cert.
    JerryYang
    @JerryYangKai
    @weisssean MAC OSX and Linux machines will recognize the device automatically. Have you checked the device connecting to windows? Excluding physically problem first.
    JerryYang
    @JerryYangKai
    @kartben I tried your repo and went well, so which step you met problem, upload fail or the devkit don't run?
    ashishjos
    @ashishjos
    @JerryYangKai Thanks. Could you point me to the instruction on how do I do that?
    ashishjos
    @ashishjos
    was able to install. Not sure what fixed the issue. I just went to browser and downloaded the certificate file locally and then just restarted visual code.
    Sean Weiss
    @weisssean
    Sorry @JerryYangKai it was the fault of a bad micro usb cable. The device was powering up so I assumed it was fine.
    tisa
    @tisa_ia_twitter
    Hello, I'm trying the DevKit Translator example with DevKit Firmware 1.6.3 and 1.6.5 but unable to connect to Azure. It deploys something to Azure Function, but when it comes to the translation process, it always display "Sorry, can't hear" in OLED screen and in serial monitor "Azure Function fails". There's also some error in VSCode Problems tab, such as: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute [Functions], and when I monitor Azure Function stream it says: Microsoft.CognitiveServices.Speech.core.dll or its dependencies cannot be found.
    Am I missing something? I've read and done the whole tutorial, also done some googling but still confused on what to do to resolve this.
    fadyanwar
    @fadyanwar
    Hello, I'm not sure if this is a relevant question, but i'm not able to find the Contoso template on IoT Central Azure Application and I was wondering where it went.
    tisa
    @tisa_ia_twitter
    Nvm, turns out I was using a newer version of .NET Core SDK. When I try to use the 2.1 version, it runs perfectly well
    tisa
    @tisa_ia_twitter
    I try to connect my DevKit to MPU6050 sensor using DevKit's SCL & SDA I2C pins, but it always returns can't read the MPU6050 address. I've checked the MPU6050 and it works fine with other device, so it isn't MPU's fault. I have tried using some Arduino libraries and none works out. Does anyone have any suggestion on why it wasn't working out?
    DevScienceScope
    @DevScienceScope
    Hi. I have just had an intresting problem where one of our internal DNS servers went offline and the IoT Dev Kit wasnt looking for the other DNS servers. All other devices could find the second DNS such as a Windows 10 HP laptop and a Raspberry PI 3 running Raspbian. It was like the device was only looking at one DNS and not attempting to look for any others. I was looking through the libraries to see if i could manually set a DNS for the devices however this does not seem to exist. I was looking for something like the Arduino WiFi.config https://www.arduino.cc/en/Reference/WiFiConfig . I was wandering if there is a way to manually set the DNS of these devices?
    Jani Turunen
    @Janisku7
    mine show when initialize the version and show latest what the devkit already have as latest
    tisa
    @tisa_ia_twitter
    @tisa_ia_twitter solved it by using mbed library
    AnkiJoelsson
    @AnkiJoelsson

    Hi, I'm desperately trying to get my iot-devkit to work on my windows 10 laptop but no luck. My last hope is that someone in here could give me a hint what I'm doing wrong :) . I'm using this tutorial: https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/ and I'm stuck at step 5 - the serial port. When I'm loading the GetStarted example I get just "No serial port is available" and <Select Serial Port> doesn't show any ports but when I'm loading the MXChip IoT DevKit samples VoiceRecord - I can see the port "COM1" but when I click it it says "No serial port is available". I don't get what's wrong in my setup.
    I've tried to find out which versions of visual studio code, extension versions, Arduino IDE and the ST-link drivers I should use, since it seems to be some issues using different versions together. I started off with all latest versions in the setup and it didn't work either.
    I'm using the following setup right now:
    WINDOWS version:
    Windows 10 Home 18362.535
    VISUAL STUDIO CODE:
    Version: 1.40.2 (system setup)
    Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
    Date: 2019-11-25T14:54:45.096Z
    Electron: 6.1.5
    Chrome: 76.0.3809.146
    Node.js: 12.4.0
    V8: 7.6.303.31-electron.0
    OS: Windows_NT x64 10.0.18362
    ARDUINO:
    v1.8.6
    ST-LINK driver:
    downloaded the en.stsw-link009 file

    someone help me pls... I really want this to work :)

    JerryYang
    @JerryYangKai
    @AnkiJoelsson Hi, in step 5, it said 'In the bottom-right status bar, check the MXCHIP AZ3166 is shown as selected board and serial port with STMicroelectronics is used'. So I want to know have you got 'the MXCHIP AZ3166' show below?
    AnkiJoelsson
    @AnkiJoelsson
    @JerryYangKai Hi! :) Yes it is the selected board and when I click on it to open the Arduino Board Configuration it says 'MXCHIP AZ3166 (MXChip - Microsoft Azure IoT Developer Kit)' - Upload method: 'OpenOCD'. But clicking on the <Select Serial Port> gives me 'No serial port is available'.
    tisa
    @tisa_ia_twitter
    @AnkiJoelsson is it similar to this?
    microsoft/vscode-iot-workbench#661
    AnkiJoelsson
    @AnkiJoelsson
    @tisa_ia_twitter Yes, I understood that they had fixed the problem on Nov 15 for the Arduino extension version 0.2.28. I installed it but I still have the same problem. Maybe I need to change some other things as well to make it work? This is brand new to me and it's a bit difficult to try to find out what's missing in this setup :)
    JerryYang
    @JerryYangKai
    @AnkiJoelsson I tried to repro your problem. I reproed it when my devkit have not connected to my laptop. So I suggested you to check your usb line, it may got some problem. And the second suggestion is our doc is updated, you can follow the new tutorials in https://docs.microsoft.com/en-us/samples/azure-samples/mxchip-iot-devkit-get-started/sample/. Thanks.
    AnkiJoelsson
    @AnkiJoelsson
    @JerryYangKai I'm feeling so embarrassed right now... another cable did the trick! :D Thanks a lot for your help! @tisa_ia_twitter as well!
    RakeLund
    @RakeLund
    I've been setting IoT devkit and running through the "get started" project. When I have uploaded the code to the device and start serial monitor I get the error message: socketio_mbed_os5.c (ln 212): Socketio_Failure: encountered unknow connection issue��. Anyone know what is wrong?
    Connection status: connected
    IoTHubClient_LL_SendEventAsync accepted message for transmission to IoT Hub.
    Confirmation[0] received for message tracking id = 0 with result = IOTHUB_CLIENT_CONFIRMATION_OK
    IoTHubClient_LL_SendEventAsync accepted message for transmission to IoT Hub.
    ERROR: socketio_mbed_os5.c (ln 212): Socketio_Failure: encountered unknow connection issue��
    Nik - Shahriar Nikkhah
    @SQLDataSide
    I am having problems wit connecting MXCHip to DPS , getting the error on the MXCHIP.....DPS FAILED on the screen
    Anyone have set MXCHIP with DPS?
    JerryYang
    @JerryYangKai
    @RakeLund Hi, RackLund. I think this problem may caused by wi-fi's weak signal. Devkit has disconnected from wi-fi then printed this log.
    JerryYang
    @JerryYangKai
    @SQLDataSide Hi, Shahriar Nikkhah. You can follow this tutorials https://docs.microsoft.com/en-us/samples/azure-samples/mxchip-iot-devkit-dps/sample/. I suggest do not leave registrationId as blank in STEP 'Update the Global Device Endpoint and ID Scope in device code' . And in STEP 'Generate X.509 certificate', follow '1.Specified the registrationId' and input same registrationId.
    JerryYang
    @JerryYangKai
    @SQLDataSide And I strongly suggest using version 1.6.5 to test this sample.
    Usman UrRehman Ahmed
    @usman_ur_rehman_twitter
    Can someone help me understand if MX3166 has same level of security built into it as MT3620 or does it belong to Azure Sphere and Iot Edge
    Vijay
    @VQuery
    Hi Folks
    Shall i ask query regarding Azure Function App here ?
    Nik - Shahriar Nikkhah
    @SQLDataSide
    thanks for the help i got the ball rolling
    got it fixed
    Nik - Shahriar Nikkhah
    @SQLDataSide
    hi i am looking for a code that i can use in a MXCHIP DEV KIT, it needs to

    1- Must use WIFI
    2- Must use Azure Function call
    3- The Azure function will insert data into a blob or SQL
    4- when setting up the WIFI parameter i want to be able to pass the Functions parameter as well (.bin file)
    5- mxchip will pass something simple like temp.
    6- i want my
    .bin file be in a way so that i do not need VS or VSCode to be installed on my machine

    Can someone help ????????, Thanks

    Nik - Shahriar Nikkhah
    @SQLDataSide
    @jakubsvobodacz wilde guess, i had something similer and i found out that i was not using the MXChip cable from the box i changes the cable and it worked.
    and about the link it is working perfectly, i am sure that it is just a simple basic step that youmight be missing
    brodbor
    @brodbor
    I just finished my pet project - inventory replenishment system with Proximity Sensor, ML, and Sitecore. I can share code if anyone is interested: https://youtu.be/19yxF6Uo9z4 . Let me know.
    Mostafa Rafiur Wasib
    @mrw-soumik
    Hey
    Can I know how I can use the MXchip accelerometer for tilt degree detection?
    Maciej Skuratowski
    @mskuratowski

    Hi guys, I'm trying to deploy Azure MXChip IoT DevKit Translator (https://docs.microsoft.com/en-us/samples/azure-samples/mxchip-iot-devkit-translator/sample/) but when I try to Azure IoT Device Workbench: Configure Device Settings... > Config Device Connection String. Select Select IoT Hub Device Connection String I get Writing to COM port (GetOverlappedResult): operation aborted

    Do you know how can I investigate it and fix it? To be honest, I don't know where even I can check the logs

    Maciej Skuratowski
    @mskuratowski
    Nevermind ;). Restart VS code helped ;)
    laurentg91
    @laurentg91_twitter
    Hello, for an unknown reason, the code i was using for 2 years for my MXChip, seems to not be valid anymore:
    Stupid error like cannot open source file "windows.h" (dependency of "FATFileSystem.h")C/C++(1696)
    appears. Any idea on how to fix it ? [ if was working a few weeks ago, and i changed nothing , can it be a package update that messed it up ?