Monthly Archives: September 2018

Informationstheorie / Informations Theorie

SNA
Maximum Likelihood
Boundry
Bound
Fehlerrate
Kanalkapazität
Erwartungswert
Symbol
Codewort
Träger
Modulation
Shannon

Informationstheorie
Kodierungstheorie
Kanalkapazität
Blockcode (
Faltungscode (Convolutional Code)
Linearer Code

Quadratur-Amplituden-Modulation (QAM)
Low-Density-Parity-Check-Codes (LDPC)
Turbo-Code

Maximum-Likelihood-Methode

Nicht das?

Leitungscode
Manchester-Code

TSM_Alg

time complexity

Time complexity
Zeitkomplexität
Laufzeit (Informatik)
Sortierverfahren

codeadventurer.de
codeadventurer.de: Die O Notation. Wie schnell ist dein Code?
How to analyse time complexity: Count your steps
Time complexity of recursive functions [Master theorem]
Big O notation: definition and examples
Zeitkomplexität und O-Notation
Analysis of Algorithms
2.3. Big-O Notation
Problem Solving with Algorithms and Data Structures using Python

2d line intersection

Line–line intersection
How do you detect where two line segments intersect? [closed]
Line and Segment Intersections

Dell Troubleshooting

A reference guide to the Dell OptiPlex Diagnostic Indicators
How to Troubleshoot a No Power Issue on your Dell Desktop

dell optiplex 980 flashing orange light
dell optiplex 980 blinking amber light
problem code 1 & 3
diagnostic lights 1 & 3 flash

Optiplex 960 SFF, problem code 1 & 3, would someone please assist
Dell Optiplex 780 MiniTower, power light flashes amber diagnostic lights 1 & 3 flash

FIX AMBER LIGHT IN DELL OPTIPLEX 980 PC SOLUTION OR OTHER DESKTOP DELL PC
Fix the Dell Orange Light of Death

HiFive 1

HiFive1 | Crowd Supply
Wikipedia SiFive

HiFive1 | SiFive
Documentation | SiFive
RISC-V Tools | SiFive

SEGGER Adds Support for SiFive’s Coreplex IP to Its Industry Leading J-Link Debug Probe
Open Source RISC – Eclipse with RISC-V on the SiFive HiFive1 Board
PlatformIO RISC-V
RISC-V Foundation | Instruction Set Architecture (ISA)

OpenOCD

GNU MCU Eclipse: How to install the OpenOCD binaries?

$ groups $USER
andreas : andreas adm cdrom sudo dip lpadmin sambashare

$ sudo usermod -aG plugdev $USER
$ sudo usermod -aG dialout $USER

$ groups $USER
andreas : andreas adm dialout cdrom sudo dip plugdev lpadmin sambashare
                      *******                *******

RIOT

RIOT – The friendly Operating System for the Internet of Things
SiFive HiFive1 RISC-V board
RIOT Wiki: Board%3A-HiFive1 (deprecated)
Creating your first RIOT project
RIOT Wiki: OpenOCD
“Copy this file to your udev configuration directory make sure your vid and pid are covered and adjust the GROUP to some group you are part of.”
RIOT Tutorials for RIOT
RIOT RTOS Port for HiFive1

[  771.168432] usb 1-2: new high-speed USB device number 8 using xhci_hcd
[  771.316930] usb 1-2: New USB device found, idVendor=0403, idProduct=6010
[  771.316935] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  771.316940] usb 1-2: Product: Dual RS232-HS
[  771.316944] usb 1-2: Manufacturer: FTDI
[  771.339667] usbcore: registered new interface driver usbserial_generic
[  771.339683] usbserial: USB Serial support registered for generic
[  771.342827] usbcore: registered new interface driver ftdi_sio
[  771.342844] usbserial: USB Serial support registered for FTDI USB Serial Device
[  771.342934] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected
[  771.342974] usb 1-2: Detected FT2232H
[  771.343481] usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0
[  771.343628] ftdi_sio 1-2:1.1: FTDI USB Serial Device converter detected
[  771.343660] usb 1-2: Detected FT2232H
[  771.343801] usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB1
$ sudo apt-get install libmpfr6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libmpfr6 is already the newest version (4.0.1-1).
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic linux-image-4.15.0-32-generic linux-modules-4.15.0-32-generic linux-modules-extra-4.15.0-32-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

$ dpkg-query -L libmpfr6
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libmpfr.so.6.0.1
/usr/share
/usr/share/doc
/usr/share/doc/libmpfr6
/usr/share/doc/libmpfr6/AUTHORS
/usr/share/doc/libmpfr6/BUGS
/usr/share/doc/libmpfr6/NEWS.gz
/usr/share/doc/libmpfr6/README
/usr/share/doc/libmpfr6/TODO.gz
/usr/share/doc/libmpfr6/changelog.Debian.gz
/usr/share/doc/libmpfr6/copyright
/usr/lib/x86_64-linux-gnu/libmpfr.so.6

$ locate libmpfr
/usr/lib/x86_64-linux-gnu/libmpfr.so.6
/usr/lib/x86_64-linux-gnu/libmpfr.so.6.0.1
/usr/share/doc/libmpfr6
/usr/share/doc/libmpfr6/AUTHORS
/usr/share/doc/libmpfr6/BUGS
/usr/share/doc/libmpfr6/NEWS.gz
/usr/share/doc/libmpfr6/README
/usr/share/doc/libmpfr6/TODO.gz
/usr/share/doc/libmpfr6/changelog.Debian.gz
/usr/share/doc/libmpfr6/copyright
/var/lib/dpkg/info/libmpfr6:amd64.list
/var/lib/dpkg/info/libmpfr6:amd64.md5sums
/var/lib/dpkg/info/libmpfr6:amd64.shlibs
/var/lib/dpkg/info/libmpfr6:amd64.symbols
/var/lib/dpkg/info/libmpfr6:amd64.triggers
$ ../tools/flash.sh startup-1
make: 'startup-1' is up to date.
Open On-Chip Debugger 0.10.0+dev-00062-g5d9f4864-dirty (2018-08-15-11:40)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description 'Dual RS232-HS', serial '*' at bus location '*'

Warn : Flash driver of onboard_spi_flash does not support free_driver_priv()

$ cat /etc/udev/rules.d/98-openocd.rules 
ACTION!="add|change", GOTO="openocd_rules_end"
SUBSYSTEM!="usb|tty|hidraw", GOTO="openocd_rules_end"

#Please keep this list sorted by VID:PID

#CMSIS-DAP compatible adapters
ATTRS{product}=="*CMSIS-DAP*", MODE="666", GROUP="root"

LABEL="openocd_rules_end"


$ sudo ../tools/flash.sh startup-1
[sudo] password for andreas: 
../tools/flash.sh: 6: ../tools/flash.sh: [[: not found
make: 'startup-1' is up to date.
Open On-Chip Debugger 0.10.0+dev-00062-g5d9f4864-dirty (2018-08-15-11:40)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 10000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Info : Examined RISCV core; XLEN=32, misa=0x40001105
Info : Listening on port 3333 for gdb connections
Info : [0] Found 2 triggers
halted at 0x204003b4 due to debug interrupt
Info : Found flash device 'issi is25lp128' (ID 0x0018609d)
cleared protection for sectors 64 through 255 on flash bank 0
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
halted at 0x204003b4 due to debug interrupt
** Programming Started **
auto erase enabled
Info : Retrying memory read starting from 0x80000000 with more delays
Info : Retrying memory read starting from 0x80000000 with more delays
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
wrote 65536 bytes from file startup-1.bin in 0.875611s (73.092 KiB/s)
** Programming Finished **
** Verify Started **
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
Info : Retrying memory read starting from 0x20400000 with more delays
verified 13256 bytes in 0.372329s (34.768 KiB/s)
** Verified OK **
halted at 0x20400004 due to step
Warn : Flash driver of onboard_spi_flash does not support free_driver_priv()

hello

---------------------------------------- ctor
0x20402d00	1	sys/sys.o
0x20400320	0	sys/msg-1.o
0x20402e40	2	startup-1.o

test::Startup::Startup()
GNU:c2b75a723e41aa655b4fbbceabe9df508d33e39d
press key 's' ...

good bye
---------------------------------------- dtor
0x20402e60	0	startup-1.o
test::Startup::~Startup()
$ make app-anatomy-1
../tc/bin/riscv32-fhnw-elf-g++ -O2 -std=c++14 -march=rv32imac -mabi=ilp32 -fomit-frame-pointer -fpermissive -fcheck-new -fsized-deallocation -fno-exceptions -fno-use-cxa-atexit -fno-builtin -falign-functions=32 -Wreturn-type -fno-rtti -Wall -fno-unwind-tables  -include "sys/sys.h" -I /home/andreas/src/tsm-embreal/HiFive1/namespace -I /home/andreas/src/tsm-embreal/src -DEARLY_INIT -DNO_FLOATS -DNO_LONG_DIV -DSYS_SYS_SHOW_STARTUP -D'INTERFACE(name,info)=' -D'IMPLEMENTATION(name,info)=' -D'VERSION="heads/master-0-g361662c "'    /home/andreas/src/tsm-embreal/HiFive1/namespace/app-anatomy-1.cc   -o app-anatomy-1
/home/andreas/src/tsm-embreal/resources/gcc-riscv-8.2.0/bin/../lib/gcc/riscv32-fhnw-elf/8.2.0/../../../../riscv32-fhnw-elf/bin/ld: cannot find crt0.o: No such file or directory
/home/andreas/src/tsm-embreal/resources/gcc-riscv-8.2.0/bin/../lib/gcc/riscv32-fhnw-elf/8.2.0/../../../../riscv32-fhnw-elf/bin/ld: cannot find -lstdc++
/home/andreas/src/tsm-embreal/resources/gcc-riscv-8.2.0/bin/../lib/gcc/riscv32-fhnw-elf/8.2.0/../../../../riscv32-fhnw-elf/bin/ld: cannot find -lm
/home/andreas/src/tsm-embreal/resources/gcc-riscv-8.2.0/bin/../lib/gcc/riscv32-fhnw-elf/8.2.0/../../../../riscv32-fhnw-elf/bin/ld: cannot find -lc
/home/andreas/src/tsm-embreal/resources/gcc-riscv-8.2.0/bin/../lib/gcc/riscv32-fhnw-elf/8.2.0/../../../../riscv32-fhnw-elf/bin/ld: cannot find -lgloss
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'app-anatomy-1' failed
make: *** [app-anatomy-1] Error 1


$ make clean
rm -f sys/deb/deblow.o sys/boot/big-bang-continued.o sys/msg-1.o sys/board.o sys/abi/abi.o startup-1.o sys/boot/big-bang.o sys/reg/aon.o io/ascii/out.o sys/msg.o math/double.o sys/reg/uart.o sys/reg/gpio.o io/ascii/write.o sys/sys.o sys/deb/deblow0.o util/float-conv.o sys/deb/deb.o sys/hwreg.o startup-1 \
        startup-1.map \
        startup-1.bin \
        tor.o

$ make makefile
/home/andreas/src/tsm-embreal/tools/makefile.sh ../config/projects.xml > Makefile

$ make app-anatomy-1
[...]

Lumineszenz vs. Wärmestrahlung / Photon / Radiometrie vs. Photometrie

Photometrie
vs.
Radiometrie

Strahlungsheizung
Infrarotstrahlung
Infrarotstrahler, Rotlichtlampe

Fluoreszenz
Lumineszenz, absorbierten Energie in einen angeregten Zustand versetzt und emittiert Licht
vs.
Wärmestrahlung
Wärme, Q
Wärmestrom, Q-Punkt

Feld (Physik), eine Funktion, die jedem Punkt im Raum eine physikalische Größe zuordnet
Skalarfeld
Vektorfeld

Eine kompakte Fläche wird auch geschlossen genannt, wenn betont werden soll, dass es sich um eine Fläche ohne Rand handelt.
Durch eine geschlossene Fläche fließt so viel Strahlungsleistung, wie die eingeschlossenen Quellen abgeben, falls im eingeschlossenen Raum keine Energie durch Absorption verloren geht.

Strömungsfeld => Strömungsgeschwindigkeit
elektrische Feld => Feldstärke
Wärmeleitungsfeld => Wärmestromdichte
Strahlungsfeld => Strahlungsstromdichte, Intensität

Lichtquelle, Thermische Strahler vs. Nichtthermische Strahler

Photon
Intensität (Physik)
Strahlungsenergie, Q
Strahlungsleistung / Strahlungsfluss, Q-Punkt
Strahlungsintensität
Wenn das Medium dämpft (absorbiert), verliert die Welle Energie, welche beispielsweise in Wärmeenergie umgewandelt wird.
Mit zunehmender Ausbreitung der Welle im Medium nimmt also deren Intensität exponentiell ab. Der Absorptionskoeffizient μ {\displaystyle \mu } \mu beschreibt dabei die Materialeigenschaften des durchquerten Mediums.

Photomultiplier
Avalanche-Photodiode

Linienspektrum

Schwarzer Körper
Emissionsgrad
Absorptionsgrad
Absorptionskoeffizient

Plancksches Strahlungsgesetz
Stefan-Boltzmann-Gesetz
Rayleigh-Jeans-Gesetz
Wiensches Strahlungsgesetz
Wiensches Verschiebungsgesetz
Kirchhoffsches Strahlungsgesetz
Lambert-Beer’sches Gesetz, Abschwächung der Intensität einer Strahlung

Java OpenCV and Tesseract ORC

OpenCV
Tesseract (Software)

Image preprocessing with OpenCV before doing character recognition (tesseract)
Java OpenCV + Tesseract OCR “code” regocnition
Optical Character Recognition (OCR) in Java; my current summary of situation – please comment

github.com/aperrau/DetectText, Detect text with stroke width transform
github.com/tleyden/DetectText, Detect text with stroke width transform