Michael

Forum Replies Created

Viewing 24 posts - 31 through 54 (of 54 total)
  • Author
    Posts
  • in reply to: mDot with GPS on Weather Shield #12395
    Michael
    Participant

    I was able to verify, with a sniffer of sorts (TTL-to-USB), that the GPS module is beaconing at a 1Hz rate its various $G messages. The messages appear on the Weather Shield pin marked “RX” which, according to the schematic, makes it to the “D0” pin of the mDot – which should have been OK. I was not able to get the code to “get” anything however.

    So after some scrutiny I found there are several jumpers on the UDK2 board, located in a cluster that’s identified as JP98. The default location of one of the jumpers disrupts GPS module’s TX output. (It appears to tie this output to another output from the 232 chip)

    in reply to: mDot with GPS on Weather Shield #12387
    Michael
    Participant

    >>The TX pin should be first.

    Sigh – after all my unraveling of the schematics etc I still got this wrong?

    But does that affect the operation of the debug port?

    in reply to: mDot with GPS on Weather Shield #12382
    Michael
    Participant

    1) I think the default for the GPS is 4800 – besides that should only screw up the GPS, not the USB debug port.

    2) I tweaked my post probably while you were responding. Yes, it’s still busted with the standard.

    in reply to: mDot with GPS on Weather Shield #12376
    Michael
    Participant

    Yes, I was already using those pins as you recommend in your post

    For my debug output I’ve had all along
    Serial pc(PA_9,PA_10);
    and later in the code, a call to
    pc.baud(115200);
    That worked fine for a few weeks…

    Then today I tried to add GPS functionality:
    SerialGPS gps(PA_3, PA_2, 4800);
    or

    Serial gps(PA_3, PA_2);
    gps.baud(4800);

    …and now the debug doesn’t output anything

    • This reply was modified 8 years ago by Michael.
    • This reply was modified 8 years ago by Michael.
    • This reply was modified 8 years ago by Michael.
    in reply to: mDot with GPS on Weather Shield #12374
    Michael
    Participant

    Hi Mike,
    Thanks for the quick response… actually I *am* trying to use the hard interface, since, as a hardware guy, it was clear the wires just weren’t there for the “soft”.

    However I thought I had compatible example code, but upon further inspection it warns against an overlap with the USB pins…so…

    I don’t really know how to do what you suggested (Serial object).
    Can you spoon feed me just a bit more?

    Thanks!

    in reply to: Centos: Dragging files to the Multitech Folder on the mDot #12354
    Michael
    Participant

    Unfortunately seems I don’t have permission on this machine
    ( thought I was a sudoer but I guess not )

    Michael
    Participant

    >>The USB drive is a staging ground to flash the processor on the mDot, it is not the mDot flash memory.

    Ah, important distinction.

    I’ll see if your incantation (or some variant) solves this issue for me.

    Thanks!

    in reply to: Conduit seems lost #12335
    Michael
    Participant

    It seems I am now able to get into the unit via Web UI (after getting all the admin credentials and IP stuff squared away) so I started “from scratch” with my experimentation.

    AT commands are OK now.
    Moving on to “real code”.

    Not sure what (but I think I know “who”!) got the unit so hosed up to start with.

    Thanks a lot.

    Mike

    in reply to: Conduit seems lost #12332
    Michael
    Participant

    OK, it’s wasn’t mentioned to hit enter. Besides, I had tried that, but the login opportunity vanishes quickly so I though it was not actually available.
    (IOW it goes into that “Sending discover…” mode as I mentioned)

    So…I pressed enter and got:

    mtcdt login:

    and typing admin for both the login and password (quickly!) I received back:

    admin@mtcdt:~#

    However, again, the “Sending discover…” mode starts up.
    Is that expected?

    (edit: OK, looks like you indicated that it is – even after logging in?)

    • This reply was modified 8 years ago by Michael.
    • This reply was modified 8 years ago by Michael.
    in reply to: Conduit seems lost #12314
    Michael
    Participant

    >> Wait until you get a login prompt. Try to login with your credential and see if you are able to log in.

    I never see a log-in prompt. Here’s what I get:

    Setting up User-Space Watchdog
    
         _        _____     ____
        / \      | ____|   |  _ \
       / _ \     |  _|     | |_) |
      / ___ \  _ | |___  _ |  __/_
     /_/   \_\(_)|_____|(_)|_|  (_)
    
    MultiTech Systems Application Execution Platform with mLinux GNU/Linux
    
    mLinux 3.1.0 mtcdt /dev/ttyS0
    
    Version: 1.1.2
    Date: 2016-01-13T09:59:04
    mtcdt login: path ends at json object.  increase depth or add --jsobj option
    udhcpc (v1.22.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    Usage: /etc/udhcpc.d/lanup {bound|renew|deconfig}
    run-parts: /etc/udhcpc.d/lanup exited with code 1
    No lease, failing
    udhcpc (v1.22.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    .
    .
    .

    The last few lines repeat over and over.

    • This reply was modified 8 years ago by Michael.
    • This reply was modified 8 years ago by Michael.
    in reply to: Conduit seems lost #12313
    Michael
    Participant

    BTW: The instructions on never mention at which point to power up the unit.

    in reply to: Resetting Conduit #12303
    Michael
    Participant

    Jeff,

    Thanks for the clarification.

    Might I suggest the page I referenced be made more complete by including your description?

    b/r
    Mike

    in reply to: NodeRed, message payload #12175
    Michael
    Participant

    Terence,
    If you look at my posts and the replies, apparently the eui is the device-specific ID.

    in reply to: mDot sleep mode(s) #12164
    Michael
    Participant

    My previous post has as example (00000037�) of what I’m talking about; you identified as some kind of leftover stuff. How would a user know it’s only leftovers?

    If you are saying the output is generally easily readable, I’ll accept that and move on.

    Thanks
    Mike

    in reply to: NodeRed, message payload #12162
    Michael
    Participant

    I was unable to find a “decoder ring” for the various fields in the “complete message object”. Some fields are rather obvious; others, not so much:

    chan, cls, codr, datr, etc…

    Thanks

    Mike

    Michael
    Participant

    The unit was in that mode, 2, (I queried AT+NJM?) , but I did not issue the command.

    in reply to: NodeRed, message payload #12080
    Michael
    Participant

    Thanks!

    Is there a ‘c’ call I can make to extract s/n (EUI) within the mDot?

    -Mike

    in reply to: mDot's flash memory is erased every power down. #12076
    Michael
    Participant

    Ahmed,

    I believe we are running similar environments.

    I’m using Fedora and after r/r the power, the bin file does not appear when looking at the Multitech folder. (As you experience)

    However, the mDot still has the file and will run it.

    Mike

    • This reply was modified 8 years, 1 month ago by Michael.
    in reply to: How to power on the MTUDK2-ST-MDOT #12074
    Michael
    Participant

    J3 applies power to the Arduino connectors, but does not power the UDK2 board itself. The micro-USB supplies power to the UDK2.

    in reply to: mDot sleep mode(s) #12071
    Michael
    Participant

    Mike,

    Yes, and thanks.

    Is there documentation for the library that would explain this kind of output?

    Mike

    • This reply was modified 8 years, 1 month ago by Michael.
    in reply to: mDot sleep mode(s) #12068
    Michael
    Participant

    JR,

    Awesome, that worked!

    Is there a place where this output
    [INFO] entering sleep (stop) mode 00000037�
    is explained?

    Thanks,
    Mike

    Michael
    Participant

    Hi BT,

    No, I did not issue that command. At least not deliberately.
    I will try to query the device should this happen again.

    b/r

    Mike

    Michael
    Participant

    That did it. I got “Command not found”, but control returned to the AT command set.

    What was going on?

    Michael
    Participant

    OK, after a few minutes of playing with #3, it now acts like #2.

    Why might this be?

Viewing 24 posts - 31 through 54 (of 54 total)