Shaun Nelson

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: first connection using arduino #11829
    Shaun Nelson
    Participant

    Manuel,

    Here’s a link to a sketch for Arduino to mDot communication.

    https://github.com/mikimer/LoRa

    Enjoy,
    -Shaun

    • This reply was modified 8 years, 8 months ago by Shaun Nelson.
    in reply to: Should pyOCD work with mDot on UDK2 #11798
    Shaun Nelson
    Participant

    Hi Mike,

    OpenOCD works great!

    I did hit a speed bump on the configure/make step. It seemed to build fine but OpenOCD could not find the debug interface; the exact error was “specified debug interface was not found (hla).

    Looking in the configure log there was an error that libusb-1.0.x was missing, which apparently is not enough to abort the make (don’t you love silent failures!). I fixed this with ‘apt-get install libusb-1.0.1-dev.

    When I ran configure the 2nd time I also passed in –enable-stlink because I read on a forum that perhaps the interface support was not compiled in.

    As a final step to confirm OpenOCD was properly configured, I ran ‘openocd -c interface_list’ and voila hla was in the list.

    Thanks again,
    -Shaun

    in reply to: Should pyOCD work with mDot on UDK2 #11713
    Shaun Nelson
    Participant

    Hi Mike,

    Thanks for the info. I’ll give OpenOCD a shot.

    Regards,
    -Shaun

    in reply to: mDot-EVB AT Commands #11708
    Shaun Nelson
    Participant

    Hi Shankar,

    On the UDK the UART used for AT commands is on the XBEE_DIN/XBEE_DOUT while in the case of the MTDOT-EVB the USBTX/USBRX pins are used.

    I was able to get the AT commands working by making the following change to the mDot_AT_firmware:

    #define IS_MDOT_EVB

    #ifdef IS_MDOT_EVB
    mts::MTSSerial serial(USBTX, USBRX, 512, 512);
    #else
    mts::MTSSerial serial(XBEE_DOUT, XBEE_DIN, 512, 512);
    #endif

    Hopefully that helps,
    Shaun

Viewing 4 posts - 1 through 4 (of 4 total)