Shop OBEX P1 Docs P2 Docs Learn Events
Changing Baud rate on Viniculum /Memory Datalogger — Parallax Forums

Changing Baud rate on Viniculum /Memory Datalogger

kanthonykanthony Posts: 7
edited 2010-04-30 22:09 in Accessories
Has anyone successfully changed the baud rate to anything other than the default rate of 9600 on the Memory Datalogger when using the serial interface (non-SPI mode)? I've tried the command listed in the Vinculum FW document (v2.05) which is "SBD $4EC000" for 38,400 BPS, also tried to·issue the command at the default rate of 9600 which is "SBD $384100" which should do nothing since it's already at 9600. In·both cases, the rate changes and I can no longer talk to the datalogger until I power cycle it.

I'm using a propellor chip as the processor with a modified "parallax serial terminal " sw-based UART.

Post Edited (kanthony) : 4/30/2010 2:45:24 PM GMT

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-04-30 04:44
    A subject on your post would help, use the pencil in the upper right of your first post. What are you using to communicate? BS2s can't do 38,400.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • kanthonykanthony Posts: 7
    edited 2010-04-30 14:55
    I did find that the default numerical mode is binary, not ASCII. To set the numerical mode to ASCII, issue the IPA command befoer trying to change the baud rate.
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2010-04-30 15:43
    Hi, Vinculum have a download page with several utilities which enable you to update firmware and one that allows customization of the boot process that includes changing the default baud rate.

    Jeff T.
  • T ChapT Chap Posts: 4,217
    edited 2010-04-30 17:19
    You must start with the Prop talking to the Vinculum at 9600. Then send the following to the Vinculum, immediately after sending the baud change you have to switch the Prop to the same baud for further communication. This works fine for me on Vmusic2, with music firmware. This code is for 28800

    Using defalut hex and ECS mode.


          SetRamBaud   := $D0
    
          ser.tx($02)
          ser.tx($40)
          ser.tx($00)
          ser.tx(SetRamBaud)
          ser.tx($00)
          ser.tx($00)
    
    
  • kanthonykanthony Posts: 7
    edited 2010-04-30 22:09
    Thanks! I'll try this tonight.
Sign In or Register to comment.