repaper / gratis Goto Github PK
View Code? Open in Web Editor NEWEPD Source codes and Documentation
EPD Source codes and Documentation
How do we build on raspberry pi after this recent change?
Gives error:
Cloning into 'gratis'...
remote: Counting objects: 2492, done.
remote: Total 2492 (delta 0), reused 0 (delta 0), pack-reused 2491
Receiving objects: 100% (2492/2492), 8.30 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (1291/1291), done.
Checking connectivity... done.
make: *** No rule to make target 'rpi'. Stop.
make: *** No rule to make target 'rpi-install'. Stop.
Failed to start epd-fuse.service: Unit epd-fuse.service failed to load: No such file or directory.
unsupported EPD FLASH chip: MFG: 0x0 device: 0x0. I'm getting the following error when trying to run the demo code with an Arduino UNO and 2" display. It is also displaying a temperature of 117 Celcius which seems highly unlikely
Change lines 36 and 38 of EPD_GFX.h for
#if EPD_IMAGE_TWO_ARG
uint8_t old_image[(uint32_t)pixel_width * pixel_height / 8];
#endif
uint8_t new_image[(uint32_t)pixel_width * pixel_height / 8];
Report log
In file included from thermo_270.ino:45:0:
~/Documents/Projets/Arduino/libraries/EPD_GFX/EPD_GFX.h:36:50: error: overflow in constant expression
uint8_t old_image[pixel_width * pixel_height / 8];
^
~/Documents/Projets/Arduino/libraries/EPD_GFX/EPD_GFX.h:36:50: error: size of array 'old_image' is negative
~/Documents/Projets/Arduino/libraries/EPD_GFX/EPD_GFX.h:38:50: error: overflow in constant expression
uint8_t new_image[pixel_width * pixel_height / 8];
^
~/Documents/Projets/Arduino/libraries/EPD_GFX/EPD_GFX.h:38:50: error: size of array 'new_image' is negative
Error compiling.
Is support for the 4.41" panel http://www.pervasivedisplays.com/products/441 already available ?
If not, what changes need to be implemented ?
I have an application that requires the use of the UART PINS on the RPi.
Is it possible to make use of alternate free GPIO pins on the PI to drive the Functions on the epaper board ?
I am using pervasive display 2.7 inch thermo_270.ino for EPD_231_G2 I get following error is:
`Sketch uses 15382 bytes (6%) of program storage space. Maximum is 253952 bytes.
Global variables use 12138 bytes (148%) of dynamic memory, leaving -3946 bytes for local variables. Maximum is 8192 bytes.
Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
Error compiling for board Arduino/Genuino Mega or Mega 2560.`
how do I resolve this?
image.sram() functions take in two parameters that are both const uint8_t. This would only work with saved images rather than a buffer as described...unless I am missing something?
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
and make PANEL_VERSION=V231_G2 rpi
. Neither of them work.
output of uname -a
is
Linux raspberrypi 3.18.13-v7+ #785 SMP PREEMPT Mon May 18 17:53:02 BST 2015 armv7l GNU/Linux
demo_270:65: error: #error MSP430: not enough memory /Users/shirishbytelens/Documents/Energia/libraries/EPD_V231_G2/examples/demo_270/demo_270.ino:93:51: fatal error: Images.h: No such file or directory compilation terminated. Using library SPI at version 1.0.0 in folder: /private/var/folders/w2/jb9h2v3j5s5bs70q009xq2x00000gn/T/AppTranslocation/BE951230-8E18-41ED-98C5-FAC968D6B34B/d/Energia.app/Contents/Java/hardware/energia/msp430/libraries/SPI Using library EPD_FLASH in folder: /Users/shirishbytelens/Documents/Energia/libraries/EPD_FLASH (legacy) Using library EPD_V231_G2 in folder: /Users/shirishbytelens/Documents/Energia/libraries/EPD_V231_G2 (legacy) Using library EPD_PANELS in folder: /Users/shirishbytelens/Documents/Energia/libraries/EPD_PANELS (legacy) Using library S5813A in folder: /Users/shirishbytelens/Documents/Energia/libraries/S5813A (legacy) Using library EPD_PINOUT in folder: /Users/shirishbytelens/Documents/Energia/libraries/EPD_PINOUT (legacy) exit status 1 #error MSP430: not enough memory
somehow I am not able to work with e-paper. some controllers don't have enough memory for 2.7 inch displays. I want some solution with low cost low power micro controllers that can effectively display text messages on 2.7", just like what GFX library. Is there any way?
Connector J3 is a polarized shrouded, right-angle header. There is a molded triangle intended to identify pin 1. However as used in this reference board -05, the pins of that connector are numbered such that the arrow is on the pin 19/20 row. If you use a ribbon cable and 20-contact IDC receptacle to mate with J3, it's going to cause confusion. Fortunately the board silkscreen has the correct pin numbers. To support those numbers a ribbon cable with a pin 1 stripe is going to have to be made deliberately wrong: with it's pin 1 not matching with the pin 1 triangle on the header.
What can be done about this now? I don't know if versions of a header are available with the triangle on the other end of the connector. It's possible that the pins were numbered incorrectly, without regard to the polarization markings.
It's also odd that the ref board ships with a receptacle cable which is too small for the board shell and is non-polarized, creating the likelihood that someone will plug it in the wrong way and end up damaging the board (the very thing a polarized shell should prevent).
I'll research this more asap when I have ribbon cable parts on hand.
Support for the CC3200 is provided only with CCS6, and not with Energia.
With Energia Multi-Tasking, Energia now brings RTOS for the CC3200 and MSP432 LaunchPads.
Please adapt the libraries for the CC3200 and MSP432 LaunchPads on Energia Multi-Tasking.
Hey there,
I'm trying to get the demo file running on my Arduino Uno with 2.6 EPD (V231 G2).
I copied the Sketches folder into my sketchbook, but when trying to compile the demo_260 code, the error
demo_260:243: error: #error "unsupported image function"
#error "unsupported image function"
...
is shown.
What's the matter? The folders are correctly stored in libraries folder.
Thanks
In spi.c, SPI_send and SPI_read don't initialize all the elements of spi_ioc_transfer which caused problems (epdTest: SPI: send failure: Invalid argument) on my SAMA5D3 Xplained board. Need to add the following lines:
transfer_buffer.pad = 0;
transfer_buffer.tx_nbits = 0;
transfer._buffer.rx_nbits = 0;
A better solution would be to initialize the structure as follows:
struct spi_ioc_transfer transfer = {
.tx_buf = (unsigned long)(buffer),
.rx_buf = 0,
.len = length,
.delay_usecs = 2,
.speed_hz = spi-bps,
.bits_per_word = 8,
.cs_change = 1,
};
Under PlatformWithOS/driver-common there is a code error in epd_v1.c:
epd_v1.c: In function ‘EPD_create’:
epd_v1.c:203:12: error: expected expression before ‘EPD_type’
Got it to compile with V2 but can't get it to work on the Beaglebone or the Raspberry pi. The gpio_test works great, and when I run epd_test I can see on the scope that my I am sending SPI data. Even tried using the epd_fuse, which responds with the LCD info and version but doesn't seem to do anything with the commands. Any hidden gem I may be missing (I have tried this on raspberry pi and Beaglebone black with no luck).
Thanks for your time.
I have (recent, 2.7 inch) COG 2 panels. I've tried two known good EPD's, one from Adafruit, one from EmbeddedArtists and two Pi's (a model B and a B+) running a recent Raspbian. I did (as root)
apt-get update
apt-get upgrade
before starting on the installation instructions. I get the following when I run the first demo:
pi@raspberrypi:~/gratis/PlatformWithOS $ python demo/DrawDemo.py
panel = EPD 2.7 264 x 176 version=4 COG=2 FILM=231
Traceback (most recent call last):
File "demo/DrawDemo.py", line 70, in <module>
main(sys.argv[1:])
File "demo/DrawDemo.py", line 31, in main
epd.clear()
File "/home/pi/gratis/PlatformWithOS/demo/EPD.py", line 152, in clear
self._command('C')
File "/home/pi/gratis/PlatformWithOS/demo/EPD.py", line 156, in _command
f.write(c)
IOError: [Errno 103] Software caused connection abort
The build instructions in the FAQ don't work. I built (as root) with
make rpi PANEL_VERSION='V231_G2'
make rpi-install PANEL_VERSION='V231_G2'
The build looked OK but install produced the following output:
root@raspberrypi:/home/pi/gratis/PlatformWithOS# make rpi-install PANEL_VERSION='V231_G2'
make PLATFORM=../RaspberryPi PANEL_VERSION="V231_G2" EPD_IO="epd_io.h" -C driver-common install
make[1]: Entering directory '/home/pi/gratis/PlatformWithOS/driver-common'
[ -e epd_fuse ] || false
install --group=root --mode=750 --owner=root epd_fuse "/usr/sbin"
[ -e /etc/default/epd-fuse ] || install --group=root --mode=644 --owner=root epd-fuse.default /etc/default/epd-fuse
if [ -e "../RaspberryPi/epd-fuse.conf" ] ; \
then \
install --group=root --mode=644 --owner=root "../RaspberryPi/epd-fuse.conf" /etc/init ; \
fi
if [ -e "../RaspberryPi/epd-fuse.sh" ] ; \
then \
install --group=root --mode=755 --owner=root "../RaspberryPi/epd-fuse.sh" /etc/init.d/epd-fuse ; \
update-rc.d epd-fuse defaults ; \
fi
make[1]: Leaving directory '/home/pi/gratis/PlatformWithOS/driver-common'
Is this correct? Any assistance gratefully received.
Need help in figuring out what the error message below means which is generated from Arduino Sketch after the following two lines of code.
#include <{% DRIVER:header %}>
#define SCREEN_SIZE {% PANEL:size %}
"demo.ino:47:31: fatal error: {% DRIVER:header %}: No such file or directory
compilation terminated."
Hello,
please find attached a set of debian files, to create debian packages for the V230_G2 and the EPD.py file. The patches (found in debian/patches) improve the Makefiles to support DESTDIR (installation into a specified folder, which is needed to package) and also create a setup.py file to create the python package. They are applied during the build process automatically.
It would be very nice, if you integrate the files (and apply the patches to your repository) into your repository. You may want to improve the packaging, to build a package per PANEL_VERSION. To do this, you need to support out of source builds and add the relevant packages to the debian/control file.
If you have any questions, feel free to ask me!
Kind regards!
P.s.: I'm not able to upload the zip file, but you find the files at https://trac.falaba.de/gnuboat/browser/externals/epaper-driver
Hi, I'm trying to use the screen rotated, is there a way to update the columns serially instead of lines? The way described of sending the line and then the scan bytes, is it the only way to update the screen? For example, I would like to send just one byte in a specific column and line to make a faster partial update, without sending 'nothing' bytes to the rest of the screen.
Using 1.44" V231_G2 display.
Am interested to know how i would achieve partial updates as demonstrated on your Youtube video.
Trying to use the python examples like "DrawDemo.py" or "PartialDemo.py" or "CounterDemo.py" but i get errors as shown below:
root@beaglebone:/home/debian/gratis/PlatformWithOS# python demo/PartialDemo.py 3 20
panel = EPD 1.44 128 x 96 version=4 COG=2 FILM=231
Traceback (most recent call last):
File "demo/PartialDemo.py", line 89, in
main(sys.argv[1:])
File "demo/PartialDemo.py", line 52, in main
demo(epd, objects, frames)
File "demo/PartialDemo.py", line 82, in demo
epd.display(image)
File "/home/debian/gratis/PlatformWithOS/demo/EPD.py", line 139, in display
f.write(image.tobytes())
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 512, in getattr
raise AttributeError(name)
AttributeError: tobytes
I would like to achieve similar output as shown in the video.
https://www.youtube.com/watch?v=enzUbiSWenQ
Hi,
the file epd-fuse.service contains at line 13:
ExecStartPre=/usr/bin/mkdir -p ${EPD_MOUNTPOINT}
but this is wrong because you can never be sure of the position of mkdir (in my system is /bin). For this exists the PATH.
See raspberrypi/linux#1902 and PiSupply/PaPiRus#82
There is a compatibility issue with EPD FUSE in the latest version of the Raspberry Pi Firmware.
@hxw any thoughts on this?
When doing an epd.update on the 2.7" display, the full refresh takes over 3 seconds (first showing inverted image, then flashing a number of times). Is there any way to change this algorithm for a faster refresh?
Also, what is the difference in epd.partial_update? (I can't notice any) Say, for example, I only want to refresh the top half of the display - is there any way to do this (while keeping the bottom static/not flashing)?
See discusion here - raspberrypi/linux#1902 (comment)
In an ideal world they would be using the kernel GPIO driver via the sysfs interface or a dedicated kernel driver
Hi all,
Wanted to share an issue that I encountered while working with the gratis sample sketches with the Repaper EPD development board hooked up to an Arduino UNO R3.
When uploading a custom XBM image in the demo2 sketch that contained a lot of black pixels, the IDE would throw the following error during the upload procedure and the display would render a corrupted image:
avrdude: verification error, first mismatch at byte 0x0080
0xff != 0x00
avrdude: verification error; content mismatch
The reference image was an XBM at 264 x 176 px that contained only black pixels (5808 bytes of value 0xff). As expected, the error occurred when converting an XBM image in GIMP or generating it manually.
Our solution to this issue was a bit of a hack, but worked like a charm: we added 1px of padding to either side of the image canvas. These borders are, of course, barely noticeable to the naked eye.
Again, this is a hack, but it worked well for our project. If anyone has any more insight into the root of this issue or other suggestions for fixing it, please share below. It would be great to grow the body of knowledge around E Ink development boards.
Re-opening issue #51 as it is still not fixed and does not work correctly.
Me and @shawaj have been testing this. It seems that there is an error in the makefile? It compiles correctly now, but we get the following error when trying to start the service:
Job for epd-fuse.service failed. See 'systemctl status epd-fuse.service' and 'journalctl -xn' for details.
When checking systemctl status epd-fuse.service
we get the following errors:
● epd-fuse.service - A Fuse driver for the Repaper.org EPD
Loaded: loaded (/usr/lib/systemd/system/epd-fuse.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-03-15 18:11:20 UTC; 10s ago
Process: 3592 ExecStartPre=/usr/bin/mkdir -p ${EPD_MOUNTPOINT} (code=exited, status=203/EXEC)
Mar 15 18:11:20 raspberrypi systemd[1]: epd-fuse.service: control process exited, code=exited status=203
Mar 15 18:11:20 raspberrypi systemd[1]: Failed to start A Fuse driver for the Repaper.org EPD.
Mar 15 18:11:20 raspberrypi systemd[1]: Unit epd-fuse.service entered failed state.
Any further thoughts?
I am exploring E-paper using the Arduino Uno, and the TI Booster Pack. It has been fantastically easy to display images using these tools and the open source code. However I would like to show 4-bit format images (16 shade grayscale) rather than 1-bit format images (black or white). can anyone help me understand if this format limitation is in the hardware or in the code, and what can be done to change this limitation?
I noticed that partial update functionality is implemented only for PlatformsWIthOS. Is there a reason it's not done for MSP430 and Arduino?
Judging by the comments here It seems that the port already exists, but isn't released to this repository.
Hello,
The Gratis libraries for Arduino only have functions to send bitmap data to the ePaper display module. But what if I want to send text? Is there something in the Gratis library that can help me? Do I need to use a separate Arduino library to convert text to a bitmap? If so, which one do you recommend?
Thanks!
The files and variable FLASH
are conflicting with other implementations of flash, especially on Energia and Energia Multi-Tasking.
I suggest to rename the files and variable FLASH.h
FLASH.cpp
and FLASH_Class FLASH;
to EDP_FLASH
to avoid conflicts.
Just got 2.7'' Dev board from Adafruit and hooked up to Arduino Uno.
Demo sketch works very nice!
With Command Sketch, I get different result for 'l' search for non-empty sector command even though the commands were issued one after another.
e.g.
Command: f
FLASH chip detected OK
FLASH: manufacturer = c2 device = 2014
Command: l
00 01 02 03 04 05 06 07 08 09 0a 0b 10 11 12 13
16 17 20 21
Command: f
FLASH chip detected OK
FLASH: manufacturer = c2 device = 2014
Command: l
00 01 02 03 04 05 06 07 08 09 10 11 12 13 16 17
20 21
Command: f
unsupported FLASH chip
FLASH: manufacturer = 00 device = 0000
Command: l
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 10 11 12
13 16 17 20 21
Command: f
FLASH chip detected OK
FLASH: manufacturer = c2 device = 2014
Command: l
00 01 02 03 04 05 06 07 08 09 0a 10 11 12 13 16
17 20 21
And I do often get "unsupported FLASH chip" message for 'f' command. Still I do sometimes get 'FLASH chip detected OK' message as well.
Uploading an image to an empty sector works fine. But erasing a non-empty sector, uploading to it and displaying it often result in corrupted image.
Any advice what to check to make flash access stable?
My unit's label reads "MEM027BS***" thus I believe using EPD_V230_G2 example is correct. A bit strange thing is that it doesn't have 'r' remove image command described on rePaper document.
While using the upload command, I am not able to upload any of sketch or xbm file, and i can't even type anything in serial terminal ?why is this happening, and any terminal can be used to upload the xbm file?thank you
On the board I have, the connector spacing is about 0.050" wider than the MSP430 launch pad board. It can be plugged with a little effort but it bows the rePaper board.
It looks like my device is using spi-bcm2835 rather than spi-bcm2708.
In https://github.com/repaper/gratis/blob/master/PlatformWithOS/RaspberryPi/epd-fuse.sh#L34, changing modprobe spi-bcm2708
to modprobe spi-bcm2835
(line ) did the trick for me, for I'm guess it depends on the model / version of the OS people are using...
The RePaper Extension board does not seem to shut down properly when running the program "demo" on the Arduino Uno with the 2.7 inch eInk display. The board uses 5 mA after the command "EPD.end();" is run, which is more than it uses when it is actively updating the display. However the current does go to zero after the "EPD.end()" command if you comment out the following two lines from the file EPD.cpp in the function "EPD_Class::end()":
// SPI_off();
// digitalWrite(this->EPD_Pin_EPD_CS, LOW);
This workaround seems to work, but it might have some undesirable side effects.
Hi!
I use pervasive display boosterpacks with 2 inch EPD and EPD library. And use MSP430F5529 launchpads.
I broke one display and hed to buy new one.
All what happend with new display - after first attempt to show image there is only some grey lines on it. After 3-4 tries whole display is black and nothing happens.
When I replace this display with an old one - it works good.
You may think, that the problem is in the display module, but I have 4 new displays with the same behaviour!.
Sometime, after turning on, display became white, but blacky behaviour repited.
If you show on the serial number, you can see, that driver revision(Symbol 7 = 'A') is the same, but new displays serial number starts from 'R' symbol - I didn't find anything about this.
Old display serial:
NEG020AS0122A90212
New display:
REG020AS0123B82031
Display under test: 1.44" V230_G2
Presently have the image "Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Lx" downloaded from http://debian.beagleboard.org/images/bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz
I have followed the exact same procedure mentioned in <>/gratis/PlatformWithOS/README-BBB-Debian.md
My GPIO test is passing and I have my SPI configured as well. I have the reference circuit for the display as mentioned in http://repaper.org/doc/ek014as014.html#tft-epd-panel-product-specifications
I have the circuit on a bread board. But, still when i run the tests, i don't see any errors occurring on my console but i don't see anything on the display! Can anyone point to any leads?
I use the 144px epaper display on the MSP430 Launchpad. I could download the demo SW. But the cat picture vanished half in the time when the display power is down.
What could be the error?
Holger
I was trying to play the thermo.ino example using Arduino Mega. I have added the EPD_GFX and Adafruit_GFX libraries. The following error is displayed when trying to compile:
In file included from thermo.ino:39:
...\Arduino\libraries\EPD_GFX/EPD_GFX.h: In constructor 'EPD_GFX::EPD_GFX(EPD_Class&, S5813A_Class&)':
...\Arduino\libraries\EPD_GFX/EPD_GFX.h:47: error: no matching function for call to 'Adafruit_GFX::Adafruit_GFX()'
...\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:17: note: candidates are: Adafruit_GFX::Adafruit_GFX(int16_t, int16_t)
...\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:13: note: Adafruit_GFX::Adafruit_GFX(const Adafruit_GFX&)
...\Arduino\libraries\EPD_GFX/EPD_GFX.h:48: error: 'constructor' was not declared in this scope
It seems that Adafruit_GFX was updated (last update 2 months ago), but EPD_GFX wasn't (last update 6 months ago). So I am thinking that some incompatibilities between these two libraries (due to EPD_GFX hasn't been updated) is the problem.
Thoughts about that?
Anyone has an older version of Adafruit_GFX?
Hi -- I'm having trouble configuring the Raspberry Pi for 2.7" display. Any insight into which file(s) I modify in the rpi-install process?
I have hacked together a Linux drm graphics driver that (sort of) works with a RePaper 2.7" display I bought from Adafruit 2-3 years back: https://www.adafruit.com/products/1346
I would like to get this included in the Linux kernel, but the Apache 2.0 license is not compatible with the GPLv2 required by the kernel.
So before I spend more time on this I need to know if you would allow me to re-license the code in this file under GPLv2: PlatformWithOS/driver-common/V110_G1/epd.c
I am getting a write error on Beaglebone black with Debian.
EPD-fuse service seems to work fine since I can access the panel/version etc. However, whenever I want to send a command, first I get a connection abort and then endpoint is not connected.
Any ideas about what may have gone wrong? Is this ever tested on Debian?
~/gratis/PlatformWithOS$ sudo service epd-fuse restart
~/gratis/PlatformWithOS$ cat /dev/epd/panel
EPD 2.0 200x96 COG 1 FILM 110
~/gratis/PlatformWithOS$ python demo/DrawDemo.py panel = EPD 2.0 200 x 96 version=4 COG=1 FILM=110
Traceback (most recent call last):
File "demo/DrawDemo.py", line 70, in <module>
main(sys.argv[1:])
File "demo/DrawDemo.py", line 31, in main
epd.clear()
File "/home/scypho/gratis/PlatformWithOS/demo/EPD.py", line 152, in clear
self._command('C')
File "/home/scypho/gratis/PlatformWithOS/demo/EPD.py", line 156, in _command
f.write(c)
IOError: [Errno 103] Software caused connection abort
~/gratis/PlatformWithOS$ cat /dev/epd/panel
cat: /dev/epd/panel: Transport endpoint is not connected
~/gratis/PlatformWithOS$ sudo service epd-fuse restart
~/gratis/PlatformWithOS$ echo -n "C" > /dev/epd/command
-bash: echo: write error: Software caused connection abort
~/gratis/PlatformWithOS$ echo -n "C" > /dev/epd/command
-bash: /dev/epd/command: Transport endpoint is not connected
Hi,
I'm trying to connect a 10.2" display from Pervasive Displays (model EZ102CT011) and when I use the epd-fuse and set EPD_SIZE to 10.2 it does not work.
I haven't been able to display anything. Can I request some support please?
Thank you very much in advance.
Hi
We tested the code in kernel 3.8.13-bone47. We moved to 3.8.13-bone79.
While running "./epd-test 2.0 2" we get these error messages
bone cape mgr .9:slot #15 : gpio-p9.12 conflit p9.12
slot #15: Failed verification write_file only wrote -1 of 3
it is repeating for slot 16, 17,18,19
May I get any solution
I've been working with the repeper epd module 2.7" for a few months now on the BeagleBone Black and just moved my system from one of the Debian images on the 3.8 kernel to a reacent ARCH image
$ uname -a
Linux alarm 4.3.3-2-ARCH #1 Tue Jan 5 19:01:58 MST 2016 armv7l GNU/Linux
I've been stumbling my way along reading through the changes for working with 4.x kernels and I have the module drawing the epd_test program but the issue is that it is much much slower then the older system...
I'm still not 100% sure how to find what version of the panel I'm running but everything I've compiled has been for the V231_G2 model. I've been fumbling my way through to debug why it would be so slow and my initial thought was that maybe the data was just not getting clocked out at speed from the spi header, So I hooked up an o-scope and measured the bit rate got something like 6 Mhz. I noticed that on the faster system the epd_cs signal was much more active than on the ARCH system so I went went down a rabbit hole trying to figure out if maybe the pwm period settings were not getting set only to realize the PWM is not even used on the V231_G2 build.
I'm stuck at the moment and running out of ideas, however I did notice that there are a whole slew of error in dmesg multiple per ms exclaiming
[ 2925.614069] spidev spi1.0: not using DMA for McSPI
which seems like it may be related to the issue.
I'm wondering if anyone else has seen this? or if it is just a matter of me missing something.
thank you for you input :)
In the recent addition of /dev/epd/error in epd_fuse.c the strings representing the error codes (output of 'cat /dev/epd/error') do not have a terminating '\n'. Other strings, e.g. /dev/epd/panel and /dev/epd/version, have a terminating '\n'.
Should a '\n' be added to the error text definitions?
Dears"
Hope you are doing great.
I was asking about command sketch . i have v 230 with EDP 2.0 how can i upload xmb image to the flash memory and display it.
I am using my Arduino IDE serial monitor are it support ASCII upload ?
Are it must upload the image and write ( 0x )in the start of each byte ?
Are it need to split the image file to sectors and upload each one separately?
Thanks in advance .
hi, i'm actually doing a project that is the same as how the amslide would work. im using an epd extension board to display multiple images. i was hoping to load them from an sd card shield. im using arduino uno for my interface between the sd and the display board. i have tried many configurations already, but to no avail im having issues with SPI. i have tried using the recently posted code in this site. independently, the uploading the demo code 270 in version 230 worked fine. also for the sd card. but when they are both connected. i cant seem to solve the problem.. something on pin 12? if i remove it, the display would work but SD won't. the setup is actually mounted on top of each other.
any help would be appreciated.
thanks,
kevin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.