MarshallMCH

Members
  • Content Count

    14
  • Joined

  • Last visited

  1. Here is the output of uname -a Linux 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l GNU/Linux Here's the output after a fresh reboot: cat /sys/kernel/debug/gpio GPIOs 0-383, platform/sunxi-pinctrl, sunxi-pinctrl: gpio-15 (red_led ) out lo gpio-16 (? ) out hi gpio-166 (cd ) in hi gpio-354 (? ) out hi gpio-362 (green_led ) out hi
  2. Here are the outputs: cat /sys/kernel/debug/gpio GPIOs 0-383, platform/sunxi-pinctrl, sunxi-pinctrl: gpio-15 (red_led ) out lo gpio-16 (? ) out hi gpio-166 (cd ) in hi gpio-354 (? ) out lo gpio-362 (green_led ) out hi ./devmem2 0x1F02C04 w /dev/mem opened. Memory mapped at address 0xb6f1c000. Illegal data type '▒'. Yes, I am talking about the MicroUSB port. Thanks!
  3. Hi Martin, it does not hang, but still does not turn off the OTG port, unfortunately: root@device:~# ./devmem2 0x1F02C10 h /dev/mem opened. Memory mapped at address 0xb6f70000. Value at address 0x1F02C10 (0xb6f70c10): 0x784 root@device:~# ./devmem2 0x1F02C10 h 0x0780 /dev/mem opened. Memory mapped at address 0xb6fb7000. Value at address 0x1F02C10 (0xb6fb7c10): 0x784 Written 0x780; readback 0x780 root@device:~# ./devmem2 0x1F02C10 h 0x0784 /dev/mem opened. Memory mapped at address 0xb6f02000. Value at address 0x1F02C10 (0xb6f02c10): 0x780 Written 0x784; readback 0x784
  4. Here's what I get: root@device:~# ./devmem2 0x1F02C10 h /dev/mem opened. Memory mapped at address 0xb6fe5000. Value at address 0x1F02C10 (0xb6fe5c10): 0x784
  5. Hm, after I run: ./devmem2 0x1F02C10 h then I run either: ./devmem2 0x1F02C10 h 0x0484 or: ./devmem2 0x1F02C10 h 0x0484 My board freezes, and I need to do a hard powercycle.
  6. Hi Martin, here's what I see when running those commands: root@device:~# ./devmem2 1F02C10 h /dev/mem opened. Memory mapped at address 0xb6f52000. Value at address 0x1 (0xb6f52001): 0x61A root@device:~# ./devmem2 1F02C10 h 0000 /dev/mem opened. Memory mapped at address 0xb6f2b000. Value at address 0x1 (0xb6f2b001): 0x61A Written 0x0; readback 0x0 root@device:~# ./devmem2 1F02C10 h 0004 /dev/mem opened. Memory mapped at address 0xb6fce000. Value at address 0x1 (0xb6fce001): 0x0 Written 0x4; readback 0x4 However, I do not see my PCB turn off after running those commands.
  7. Hi Martin, do you happen to have sample commands for that? I'm not familiar with devmem2. Thanks!
  8. I'm powering a small PCB via the OTG port on my OPI PC Plus, however sometimes I need to be able to reboot the device. It is possible to cut power to the OTG port momentarily to force a reboot? I've seen mention of PL2 GPIO, but it is unclear to me how this should be setup. I've also looked at uhubctl, but that didn't work. Thoughts?
  9. Any update on this issue? I have a OPI PC Plus and cannot get the EMMC to be recognized:(
  10. Pretty simple question, I know a few years ago the temps provided by armbianmonitor were off by 10-15 degrees celsius, is that still the case today? Or are those temps accurate in newer versions of Armbian?
  11. Hi all, I'm looking to connect a DS3231 battery-backed RTC to my OPI PC Plus, and I want to confirm I'm connecting it properly. Here's an image of a Raspberry Pi with the module I'm using (I'm assuming the GPIO is the same config as my OPI). Is this correct? I'm not seeing the eeprom at address 57 when using i2cdetect.
  12. So it looks like SPI0 has 4 pins, but SPI1 only has 2 pins? Can you clarify if both are available, or if SPI1 is already assigned to NAND?
  13. I'm looking to add two ENC28J60 Ethernet interfaces to my OPI, does it have two SPI interfaces available? From my reading, it appears the onboard NAND flash takes up one SPI interface, but I cannot find any information on whether there is 1 or 2 other SPI interfaces available?
  14. Hi all, I'm looking to set the UART speed on my OPI PC Plus to 250,000 but I nothing I'm trying seems to work. I've read that it is technically possibly but can't seem to find any documentation on how to actually configure it. Can anyone help?