Wykres commitów

32 Commity (37180ab892bae6f63267094e051f3243b6feba6e)

Autor SHA1 Wiadomość Data
Sven Steudte 37180ab892 - Merged dbgon and dbgoff command to debug
- Fixed error in SOI-not-found flag in debug.c
- Added camera-command command (for testing different camera options while watching the livestream)
- Fixed table header in readLog USB command
- Added last-image-id to track-point struct (which is also logged), SSDV transmission will start with next ID on STM32 reset.
  This has been done while habhub alway mixes up different images with the same image id.
- Added thread (module) configuration printout on USB debug
- Added GPS_LOG and GPS_OFF flag
- Changed tracking manager initialization strategy:
  Tracking Manager runs all time and also logs when there is no new GPS fix
  Tracking Manager logs images ID
  Tracking Manager doesnt switch on GPS unless there is a position thread running (in order to save energy when position is not sent out)
Implemented several flags in decoder2.py
Added script command.c which sends camera registers via USB to the OV5640.
2017-09-11 06:45:19 +02:00
Sven Steudte e9cff81fa4 Fixed bug: Image transmission over USB was only possible when debug on USB was activated
Fixed bug: Image transmission over USB was only possible when no image module was activated
Added feature: Print saved log on USB
Fixed camera initialization bug
Implemented dynamic camera resolution change without reinitialization
Created separated takePicture method in image.c
2017-09-10 03:22:58 +02:00
Sven Steudte 423f88a671 Increased image sampling speed 2017-09-09 01:02:02 +02:00
Sven Steudte a4087588fa Increased FIFO buffer in Si4464 to 129bytes
Decreased buffer of USB image capturing
Removed defines.h
Moved mutex initialization to radio.c and image.c
2017-09-09 00:00:55 +02:00
Sven Steudte b7fcbc5406 Improved image over USB implementation, created python decoder script 2017-09-08 16:28:01 +02:00
Sven Steudte b0b92a7f58 Implemented QQVGA 2017-09-07 01:53:32 +02:00
Sven Steudte 056fb067a0 Implemented grouped APRS packet transmission properly
Fixed packet losses (incomplete)
2017-09-06 22:03:56 +02:00
Sven Steudte 23487ad26c Reimplemented Packet handler for 2GFSK
Changed timer implementation for 2FSK
Implemented concurrent transmission and packet encoding (not working yet)
Wrote documentation for config.c
Implemented grouped transmission (without preamble)
2017-09-05 08:35:23 +02:00
Sven Steudte 8f7d85f21e Implemented group transmission, implemented camera init once 2017-09-03 04:10:34 +02:00
Sven Steudte 1de6cd03ab Updated SSDV 2017-09-02 03:24:10 +02:00
Sven Steudte 8b35d701d1 Tidy up 2017-09-02 00:36:45 +02:00
Sven Steudte 94aaa434cf Implemented RBAT (Battery impedance measurement)
Removed ISOL
Added LOWBATT message in APRS position packet
2017-09-01 02:02:30 +02:00
Sven Steudte 1cea4b1573 Finalized clockling (so far) for power savings.
All dividers for all clocks are static except for HPRE.
HPRE is dynamically changed between /1 and /8. It is usually set to /8.
If the camera is capturing the image, it is set to /1. This is necessary
while the sampling method needs a to sample the fast data from the camera.
After capture, the prescaler is switched back to /8.
HPRE will affect the speed of AHB1 and AHB2. Both have the same speed.
At image capture, both are running at 48Mhz and 6Mhz at all other times.

The clock change has a drastic effect of the power consumption.
--------------------------------------------------
Running at 1.8V
Position packet transmission, APRS AFSK, one packet every 1min (GPS off)
Image transmission, APRS AFSK, one packet every 20sec, redundant TX
=> average consumption 55mW
--------------------------------------------------
Running at 1.8V
Position packet transmission, APRS AFSK, one packet every 1min (GPS off)
=> average consumption 34mW
2017-08-31 01:27:09 +02:00
Sven Steudte 20b70a5680 Adjusted clocks for low power operation (camera fix no implemented yet) 2017-08-30 05:29:59 +02:00
Sven Steudte 23c42f83c3 Fixed faulty image transmission, implemented server exception handling in decoder 2017-08-29 00:35:16 +02:00
Sven Steudte 934fd1ec3a Adjusted clocks
Flipped image in OV5640 driver
Fixed spelling
2017-08-28 04:14:56 +02:00
Sven Steudte 70ff480b43 Fixed radio kept swiched on
When a picture was sent, the radio was kept switched on.
The detection of the image EOI did not work for the packet
transmission because the EOI detection returned the method
earlier.
2017-08-27 21:14:30 +02:00
CInsights fe5c08da7e Add saving of DMA flags so TRACE can output specific errors.
Add TRACE messages for DMA error conditions.
Consolidate DMA error condition flags.
Add clear for DMA transfer full interrupt.
Tidy up some comments.
2017-08-23 18:10:29 +10:00
Sven Steudte 3f1a049d8e Added more debugging 2017-08-22 06:10:55 +02:00
Sven Steudte e114808cb3 Added DMA transaction size 2017-08-22 05:26:04 +02:00
Sven Steudte 032baa6304 Fixed DMA error, implemented image size detection 2017-08-22 02:39:01 +02:00
CInsights 61defb05aa Add DMA DBM as multi-buffer handling for OV5640 2017-08-21 21:23:55 +10:00
Sven Steudte 685d4c9165 Added JPEG validation filter, changed method of last packet detection 2017-08-21 05:00:23 +02:00
Sven Steudte a855c4e7d8 Flipped PCLK polarity, added TIM8 patch file 2017-08-21 03:51:03 +02:00
Sven Steudte 59cd4be137 Adjusted clock speeds 2017-08-20 14:33:46 +02:00
Sven Steudte a7e9147ed3 Reduced clocking speed 2017-08-20 05:22:16 +02:00
Sven Steudte 43d72d041c Removed SOI search 2017-08-19 14:14:04 +02:00
Sven Steudte ae83ddc9ae Fixed variable name 2017-08-19 13:37:17 +02:00
CInsights dcaa8e0bce Revision of ov5640.c dma interrupt handling. 2017-08-19 19:51:15 +10:00
Sven Steudte 851a399db6 Removed locking mechanism for I2C 2017-08-19 04:38:41 +02:00
Sven Steudte f14d1f35ff Try to fix buffer overflow crash 2017-08-19 03:36:34 +02:00
Sven Steudte 7c99afef6a Implemented OV5640 2017-08-19 01:45:30 +02:00