-
Notifications
You must be signed in to change notification settings - Fork 155
Description
Started in 6dbec3c when getoptified was added:
root@beaglebone:/home/debian/LEDscape# bin/matrix-udp-rx
512 x 64, UDP port 9999
AM33XX
pru_init: PRU 0: data 0xb6c45000 @ 8192 bytes, DMA 0xb6bc5000 / 9f340000 @ 262144 bytes
File ./lib/matrix.bin open passed
waiting for response
got response
Segmentation fault
root@beaglebone:/home/debian/LEDscape# bin/matrix-udp-rx -c sign.config
512 x 64, UDP port 9999
read 8 bytes 'matrix16'
read 9 bytes '0,7 U 0,0'
read 10 bytes '0,6 U 32,0'
read 10 bytes '0,5 U 64,0'
read 10 bytes '0,4 U 96,0'
read 11 bytes '0,3 U 128,0'
AM33XX
pru_init: PRU 0: data 0xb6c32000 @ 8192 bytes, DMA 0xb6bb2000 / 9f340000 @ 262144 bytes
File ./lib/matrix.bin open passed
waiting for response
got response
main:172: received 4 bytes
main:207: WARNING: Received packet 4 bytes, expected 98305
933 usec avg, max 10718.11 fps, actual 0.10 fps (over 1 frames)
2553 usec avg, max 3916.96 fps, actual 57.70 fps (over 577 frames)
Fix is probably to either require some configuration, or give default options that don't cause it to crash.