Show us your projects you made with libXenon
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Sun Apr 10, 2011 9:13 am
I'm looking to assemble a serial port interface so that it is easier to debug my code. There is an article of
Free60, but it isn't very in depth. Can anybody explain to me where the wires on the board should be connected to the serial port itself?
Thanks

Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
-
tuxuser
- Administrator

- Posts: 301
- Joined: Sat Feb 19, 2011 4:53 pm
- Location: Germany
-
Contact:
Post
by tuxuser » Sun Apr 10, 2011 11:29 am
Hi,
It depends on your serial converter.
If it needs an external power source (VCC) you connect the + line (3,3V) and GND to it.
If it has its own power supply, you dont connect it.
In any case you connect RX / TX to the according pins on your serial adapter. If you are unsure where these pins are, consult the datasheet.
Greetz
tux
I have no idea what I am doing but atleast I am trying
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Sun Apr 10, 2011 11:20 pm
Thanks Tux,
Just looked at the serial port I will be connecting to and I should be fine just using the RxD and TxD pins. I was just a little unsure about the 3.3v and GND pins and where they should go. I'll get my DB9 connector and serial cable tomorrow and I will port results of the installation

Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
-
Gene
Post
by Gene » Mon Apr 11, 2011 9:55 pm
Please do notice that you need TTL adapter in order to use that serial port of 360.
Without that you will fry either one, COM or 360's serial.
Here is DIY version of the adapter if you dont want to buy pre-made adapter from e.g. ebay:
http://picprojects.org.uk/projects/simpleSIO/ssio.htm
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Tue Apr 12, 2011 12:20 am
Even though my PC serial port is self powered? All I plan on using is a standard female serial cable cut in half and connecting the 3 needed wires to the board.. Is it absolutely necessary to get one of these?
Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Tue Apr 12, 2011 5:06 pm
Alright, well thanks for informing me before I fried either my JTAG or my PC haha! I'll see if I can pick one of those up

Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
-
ddxcb
- User

- Posts: 7
- Joined: Wed Mar 16, 2011 10:38 pm
Post
by ddxcb » Thu Apr 14, 2011 9:08 pm
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Fri Apr 15, 2011 3:08 am
I ended up going with this one:
http://cgi.ebay.com/RS232-Serial-Port-T ... 4687676565
A few dollars more expensive, but the ones you guys referred me to are in China, take forever to ship to here
RxT, DxT, and 3.3/5v input. Can't wait to start debugging proper. Thanks everyone for item suggestions and clarification!
Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Sat Apr 16, 2011 11:22 am
One more question, what program (Linux) do you guys recommend for capturing the debug strings from the console? Is Minicom ok?
Thanks

Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
-
tuxuser
- Administrator

- Posts: 301
- Joined: Sat Feb 19, 2011 4:53 pm
- Location: Germany
-
Contact:
Post
by tuxuser » Sat Apr 16, 2011 12:16 pm
Yes, minicom is great for that

I have no idea what I am doing but atleast I am trying
-
UNIX
- Global Moderator

- Posts: 57
- Joined: Fri Feb 25, 2011 10:40 am
- Location: United States
-
Contact:
Post
by UNIX » Sat Apr 16, 2011 5:19 pm
Cool, just wanted to make sure. Thanks Tux and everyone for all your help!
Moderator, LibXenon programmer, Java programmer.
Need help with something? Just ask! Before making a new thread please use the search function
Be sure to join us in IRC!
EFNET/#libxenon
Who is online
Users browsing this forum: No registered users and 1 guest