summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY30
-rw-r--r--README32
-rw-r--r--test_appl/df10ch_test.c11
3 files changed, 66 insertions, 7 deletions
diff --git a/HISTORY b/HISTORY
new file mode 100644
index 0000000..aef483b
--- /dev/null
+++ b/HISTORY
@@ -0,0 +1,30 @@
+History of changes from newest to oldest:
+-----------------------------------------
+
+circuit revision 4
+ Changed R9 from 2K2 to 1K5
+
+USB application firmware version 2:
+ Changed USB suspend mode detection timeout from 5ms to 100ms
+ Improved error status handling
+ Fixed watch dog timeout
+
+PWM application firmware version 2:
+ Improved error status handling
+
+Controller test application version 1:
+ Added new test application
+
+Setup program version 3:
+ Added support for Edge Weighting, Overscan and Analyze Size Parameters with visualisation
+ Improved area's painting
+ Improved controller error handling
+ Added display of controller error flags
+ Added echo test
+ Set config version to 2
+
+Setup program version 2:
+ Increase delays within firmware update feature
+
+board layout revision 4:
+ Fixed placement of mounting pads in board layout for strapobox 7031 case
diff --git a/README b/README
index 19716f6..580ed04 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-This is the ReadMe file to the DF10CH Atmolight Controller Project.
+This is the README file to the DF10CH Atmolight Controller Project.
Written by: Andreas Auras (yak54@gmx.net)
@@ -21,6 +21,7 @@ and usbdrv/Readme.txt for license information about using V-USB.
This directory contains the firmware, DF10CH setup program and KiCad files of hardware design:
README The file you are currently reading
+HISTORY History of changes
Makfile Makefile for generating everything
df10ch_setup_pkg/ Python modules needed by the DF10CH setup program
pwm_appl/ Application firmware for PWM-Prozessor
@@ -28,6 +29,7 @@ pwm_boot/ Bootloader firmware for PWM-Prozessor
usb_appl/ Application firmware for USB-Prozessor
usb_boot/ Bootloader firmware for USB-Prozessor
usbdrv/ Objective Development's firmware-only USB driver V-USB for Atmel AVR microcontrollers
+test_appl/ Controller test application
kicad/ KiCad files of hardware design: circuit and board layout
df10ch_common.h Common include file used by firmware
df10ch_usb_proto.h Include file with definitions of implemented USB communication protocol
@@ -92,7 +94,7 @@ the python modules TKinter, Image, ImageTk, ImageDraw and PyUSB and a installed
On debian based systems these are packages: python2.6, python-tk, python-imaging, python-imaging-tk,
python-usb, libusb-1.0-0
-You can start the program directly from this distribution directory with:
+You can start the program directly from the distribution directory with:
python df10ch_setup.py
@@ -110,7 +112,31 @@ The setup program understands the following command line option:
-d N Set debug level to N
-s N Set number of simulated controllers. With this option you can play with
the program without having hardware.
-
+
+
+-----------------------------------------------------
+Compiling and running the controller test application
+-----------------------------------------------------
+
+In sub directory test_appl there is a controller test application that could be executed
+at your host computer. It sends brightness values from min to max and max to min in one
+test loop to each connected controller in parallel with the maximum possible speed.
+To get maximum load at controller you should have a setup so that each controller's channel
+drives a different area. This is the initial setup of a controller if you do not have
+already changed the channel mapping with the setup program.
+
+For compiling the application you need a installed libusb library.
+On debian based systems this is packages: libusb-1.0-0.
+
+cd test_appl
+make
+
+Running the application:
+
+./df10ch-test <number-of-test-loops>
+e.g. ./df10ch-test 50
+
+
diff --git a/test_appl/df10ch_test.c b/test_appl/df10ch_test.c
index adfe351..2d69a5b 100644
--- a/test_appl/df10ch_test.c
+++ b/test_appl/df10ch_test.c
@@ -438,10 +438,13 @@ static uint16_t bright[DF10CH_MAX_CHANNELS];
int main(int argc, char **argv) {
int n, i, b;
- if (argc > 1)
- n = atoi(argv[1]);
- else
- n = 1;
+ printf("DF10CH test application V1\n");
+ if (argc != 2) {
+ printf("usage: %s number-of-test-loops\n", argv[0]);
+ return 1;
+ }
+
+ n = atoi(argv[1]);
if (!df10ch_driver_open(&driver)) {
int pwm_res = driver.ctrls->pwm_res - DF10CH_MAX_CHANNELS;