debug -> infrared -> PocketPC??


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    3

    Default debug -> infrared -> PocketPC??

    I can't find any real documentation on any of this,
    so I'm just observing and guessing what might be needed.

    PBP has a very nice debug command that I use to send
    status info in serial format. Works great. I'd like to get
    rid of the wire.

    I have a PocketPC that implements SIR protocol. Again,
    found no documentation, but looking at it on the scope,
    it seems like straight on/off (unmodulated) RS-232-like
    data, but it's RZ format.

    The debug command outputs NRZ data and the PocketPC
    doesn't like it. I'm assuming that's the problem. I can't change
    the PocketPC, so I'll have to change the data I send it.

    What I think i want is a debug command that outputs
    RZ data. Yes, I could recode the whole thing, but I don't
    want to lose all the data formatting features of the debug command.
    And I'd like to modify some existing programs without having to modify
    them...much.

    I'm about to put another hack into PBPPIC14.LIB (split debugdelay into two pieces
    and reset the data in the middle) to make this
    happen. I don't yet understand enough about how the compiler works to know
    if it will let me create my own "define" to turn this feature on and off.
    If it works, it's a simple matter of recompiling my old code.
    I'm guessing there will be unintended consequences,
    so I'll ask here first.

    Is there a simpler way, to make the
    debug command output whatever is required by the SIR protocol of
    Windows Mobile 5?
    Maybe someone has already hacked the library?
    Actual documentation on the SIR format used by Windows Mobile 5?
    I'm not really sure that hacking in RZ will fix my problem.

    Ideas?
    Thanks, mike

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    Do a search on MicroChips web site. I was going to do some thing like this using Palm a few years ago and never got around to it, but do remember seeing an app note talking about it.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Nov 2007
    Posts
    3

    Default ir

    Thanks, I searched Microchip again. Everything I found
    is an application of their ir protocol chip.
    And all roads seem to lead to irda.com who want big bux
    just to look at their data.

    What I'm looking for is application of Pbp to generate what
    I need to talk to the pocket pc or palm.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    I do not have my notes from way back, but...

    Have you read this?
    http://www.microchip.com/stellent/id...pnote=en012140
    Page 15 has
    PALM OS SERIAL MANAGER
    PROGRAMMING

    Go here
    https://pdn.palm.com/regac/pdn/page?...ICAL_RESOURCES
    and look for
    Public Access
    Palm Developer Guide,
    Palm OS Platform
    Palm Develop Guide,
    Windows Mobile Platform
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2007
    Posts
    3

    Default done

    Thanks for the inputs. I've read a bunch of that stuff. Not much help.
    I gave up, reverse engineered it and hacked PicbasicPro
    to talk to my palm. Seems to be working, and all I have to do is
    recompile existing progs to make it work.
    mike

Similar Threads

  1. N-Bit_MATH
    By Darrel Taylor in forum Code Examples
    Replies: 38
    Last Post: - 16th December 2010, 14:48
  2. About USB
    By dias11 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2009, 20:41
  3. debug not working with MPASM assempler
    By santamaria in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th March 2009, 07:51
  4. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  5. Need help with debug
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th March 2008, 06:37

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts