Closed yskkin closed 9 years ago
I can run epd_test with the following modification.
diff --git a/PlatformWithOS/RaspberryPi/gpio.c b/PlatformWithOS/RaspberryPi/gpio.c
index 2048a4f..36128b4 100644
--- a/PlatformWithOS/RaspberryPi/gpio.c
+++ b/PlatformWithOS/RaspberryPi/gpio.c
@@ -34,7 +34,7 @@
// register addresses in Rasberry PI
enum {
- BCM_PERIPERALS_ADDRESS = 0x20000000,
+ BCM_PERIPERALS_ADDRESS = 0x3F000000,
GPIO_REGISTERS = 0x00200000,
PWM_REGISTERS = 0x0020C000,
CLOCK_REGISTERS = 0x00101000,
epd_test can run with both of PANEL_VERSION=V230_G2
and PANEL_VERSION=V231_G2
epd-fuse can run with PANEL_VERSION=V231_G2
I did not try any testing with B2, and only recently have one. I Thought that changing the base address should be sufficient. So the program works correctly with this change?
Any Idea if this can be determined at run time? (read /proc/cpuinfo perhaps)
fix applied: 08e936eee1d
I'm using Raspberri Pi 2 Model B and 2.7" EPD.
compilation goes fine, epd-fuse service is running and /dev/epd is mounted but demo/DrawDemo.py and other demo codes do not show anything on the screen.
I checked this FAQ page and tried both of
make PANEL_VERSION=V230_G2 rpi
andmake PANEL_VERSION=V231_G2 rpi
. Neither of them work.output of
uname -a
is