STK4 COM ports to Unix device mappings

9 thoughts on “STK4 COM ports to Unix device mappings

  1. Hi Cosmin
    How does the STK4 COM ports map back to Unix devices?
    Looking at the schematics I see the following:
    X506 = AP: COM_5
    X507 = AP: COM_4
    Would the above map to /dev/tty5 and /dev/tty4?
    Thanks
    Bruce
    1. Hi Bruce, Roundsolutions’ STK4 and their C10-3? I see these signals are routed directly to GE863-PRO3 RXDx/TXDx which further go to ARM’s USARTx so I suppose your assumption is correct.

        1. NO, check the boot sequence:

           

          atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
          atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
          atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
          atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = 8) is a ATMEL_SERIAL
          atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
          atmel_usart.5: ttyS5 at MMIO 0xfffd4000 (irq = 24) is a ATMEL_SERIAL

          1.  

            Thanks Cosmin!!!

             

            My boot sequence is the same 

            atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL

            atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL

            atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL

            atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = 8) is a ATMEL_SERIAL

            atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL

            atmel_usart.5: ttyS5 at MMIO 0xfffd4000 (irq = 24) is a ATMEL_SERIAL

            atmel_usart.6: ttyS6 at MMIO 0xfffd8000 (irq = 25) is a ATMEL_SERIAL

             

            I

          2.  

            sorry my reply got chopped off…..I was saying Ill try a scope to be sure.

             

            I think the forum has an issue with an “apostrophe” ….. at least when posting from google chome and firefox on linux

             

            thanks again!  

          3. And to answer your other question, yes you need RS232 driver chips for these lines to interface with a PC.

          4.  

            Thanks Cosmin, scope confirmed the device mapping. 

             

            “other quiestion?” … X506 pins? Actually wanting to drive an external UART from these pins. but I think Ive got it now.

             

            Ive been looking at:

             Telit_GE863_PRO3_Linux_source_code_04_0004_tar.gz

             

            Are there any plans to update it with latest versions, for example Telit busybox version = 1.6.0, current busybox is 1.18.2…..or perhaps just release an updated busybox config.

             

            I tried compiling openssh but the uclibc wasnt compiled with “sysv3″….. so thought I would have a go….but thats a side issue.

             

            So far Im VERY impressed….just wish I had found the platform 2 years ago 🙂

             

            Thanks again for all the help!!

            Bruce

             

          5. I’m afraid I cannot help with this; I see the latest package is labeled 07_1007 from October 2010, I sent you the link maybe might help.