Jump to content

rjp

Members
  • Posts

    2
  • Joined

  • Last visited

  1. thanks for that - i have them working as gpios using that approach. what im not quite getting is how to get them working as ttl uarts, as the new approach doesnt have the '3' mode the old one used so im unsure of the equivilant. ill keep plugging
  2. Hi Guys, sorry if its a stupid question I have edited the script.fex in the boot folder and enabled the extra uart ports on the board. #dmesg | grep uart [ 0.676838] [uart]: used uart info.: 0x3f [ 0.681530] [uart]: serial probe 0 irq 33 mapbase 0x01c28000 [ 0.707837] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A [ 0.712720] [uart]: serial probe 1 irq 34 mapbase 0x01c28400 [ 0.738944] sunxi-uart.1: ttyS1 at MMIO 0x1c28400 (irq = 34) is a U6_16550A [ 0.743804] [uart]: serial probe 2 irq 35 mapbase 0x01c28800 [ 0.770000] sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 35) is a U6_16550A [ 0.774874] [uart]: serial probe 3 irq 36 mapbase 0x01c28c00 [ 0.801075] sunxi-uart.3: ttyS3 at MMIO 0x1c28c00 (irq = 36) is a U6_16550A [ 0.805926] [uart]: serial probe 4 irq 49 mapbase 0x01c29000 [ 0.832111] sunxi-uart.4: ttyS4 at MMIO 0x1c29000 (irq = 49) is a U6_16550A [ 0.836977] [uart]: serial probe 5 irq 50 mapbase 0x01c29400 [ 0.863160] sunxi-uart.5: ttyS5 at MMIO 0x1c29400 (irq = 50) is a U6_16550A however i cant appear to use them and any ttl device i plugin wil not send/recv data - is there more i need to do ? on the original pcduino kernel you also had to echo "3" > /sys/device/virtual/misc/gpio/mode/gpio12 to the appropriate pins however this kernel does not appear to have an equivilant ? Thanks.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines