Author Topic: How to set up RealTerm for 1start+1stop bits?  (Read 4206 times)

0 Members and 1 Guest are viewing this topic.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
How to set up RealTerm for 1start+1stop bits?
« on: July 23, 2013, 09:04:57 am »
Willrandship, Spyro and I are trying to figure out how to program an eZ8 microcontroller. It can be done via the on-chip debugger, but we'd have to set up a UART like this:
Is this possible with realterm or should willranship write his own software in python. (I can do it in C too)
« Last Edit: July 23, 2013, 09:05:08 am by Keoni29 »
If you like my work: why not give me an internet?








Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: How to set up RealTerm for 1start+1stop bits?
« Reply #1 on: July 23, 2013, 09:35:44 am »
Willrandship, Spyro and I are trying to figure out how to program an eZ8 microcontroller. It can be done via the on-chip debugger, but we'd have to set up a UART like this:
Is this possible with realterm or should willranship write his own software in python. (I can do it in C too)
Just browsing thru the 'ReaTerm' Readme: http://sourceforge.net/projects/realterm/files/Realterm/2.0.0.70/ it seems possible, indeed. BTW, any serial communications program should allow that else is not good enough.
BOTOH, why bother to use an external program when you can do it with C or with inline assembly, with just a few code lines? My 2 cents,

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: How to set up RealTerm for 1start+1stop bits?
« Reply #2 on: July 23, 2013, 09:46:50 am »
With C or asm you can't do anything unless you compile/assemble it into an executable binary (external program as you call it). What exactely did you find in the readme?

Edit: I need to set it to little endian mode as well. This option is "greyed out" at the moment.
« Last Edit: July 23, 2013, 09:50:20 am by Keoni29 »
If you like my work: why not give me an internet?








Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: How to set up RealTerm for 1start+1stop bits?
« Reply #3 on: July 23, 2013, 11:32:56 am »
1. Ok, probably the good link is this: http://realterm.sourceforge.net/index.html#Command_Line_Parameters . Look at the commandline parameter 'DATA'. It should allow you to specify the data-bits+parity+stop-bits. I guess, that's what you are looking for.
2. I understood you intended to configure the serial i/o port to use from within some program of yours. That's why i've mentionned it would be easier to program the UART-port in code rather than using an 'external program' (RealTerm in this case), provided you have the eZ8 UART docs.
IMO, try to sort it out first with RealTerm and later write a small routine that initializes the UART.  Little endian with 8-bits? I don't get it, sorry. Cheers,

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: How to set up RealTerm for 1start+1stop bits?
« Reply #4 on: July 23, 2013, 11:37:54 am »
It aint got no start bit option. I'm gonna write my own software I think.
If you like my work: why not give me an internet?