freetel-svn-tracking.git
8 years agotools for testing SM2000 prototype
drowe67 [Tue, 10 Nov 2015 20:50:32 +0000 (20:50 +0000)]
tools for testing SM2000 prototype

git-svn-id: https://svn.code.sf.net/p/freetel/code@2489 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoFine timing est in yafsk sort of works for the 2400bps modem
baobrien [Tue, 10 Nov 2015 06:02:12 +0000 (06:02 +0000)]
Fine timing est in yafsk sort of works for the 2400bps modem

git-svn-id: https://svn.code.sf.net/p/freetel/code@2488 01035d8c-6547-0410-b346-abe4f91aad63

8 years agomods to fsk_horus to support higher bit rates, up conversion script for feeding hackr...
drowe67 [Sun, 8 Nov 2015 03:58:30 +0000 (03:58 +0000)]
mods to fsk_horus to support higher bit rates, up conversion script for feeding hackrf samples

git-svn-id: https://svn.code.sf.net/p/freetel/code@2487 01035d8c-6547-0410-b346-abe4f91aad63

8 years agouser-defined Fs and broke out functions for BER counting, and file demod can now...
drowe67 [Sat, 7 Nov 2015 01:59:55 +0000 (01:59 +0000)]
user-defined Fs and broke out functions for BER counting, and file demod can now work with test frames and count BER

git-svn-id: https://svn.code.sf.net/p/freetel/code@2486 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofine timing work done on ya_fsk
baobrien [Fri, 6 Nov 2015 23:22:47 +0000 (23:22 +0000)]
fine timing work done on ya_fsk

git-svn-id: https://svn.code.sf.net/p/freetel/code@2485 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosampling at Fs=96kHz OK, ADC driver now supports different sample rates
drowe67 [Fri, 6 Nov 2015 23:02:44 +0000 (23:02 +0000)]
sampling at Fs=96kHz OK, ADC driver now supports different sample rates

git-svn-id: https://svn.code.sf.net/p/freetel/code@2484 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofirst pass as USB recording working at Fs=16 kHz
drowe67 [Fri, 6 Nov 2015 06:06:51 +0000 (06:06 +0000)]
first pass as USB recording working at Fs=16 kHz

git-svn-id: https://svn.code.sf.net/p/freetel/code@2483 01035d8c-6547-0410-b346-abe4f91aad63

8 years agobuilding in stm32 works again
drowe67 [Fri, 6 Nov 2015 04:05:57 +0000 (04:05 +0000)]
building in stm32 works again

git-svn-id: https://svn.code.sf.net/p/freetel/code@2482 01035d8c-6547-0410-b346-abe4f91aad63

8 years agomerged Stuarts latest, compiles OK, haven't tested
drowe67 [Fri, 6 Nov 2015 01:15:40 +0000 (01:15 +0000)]
merged Stuarts latest, compiles OK, haven't tested

git-svn-id: https://svn.code.sf.net/p/freetel/code@2481 01035d8c-6547-0410-b346-abe4f91aad63

8 years agochanged buffer size for faster USB transfers
drowe67 [Thu, 5 Nov 2015 21:44:32 +0000 (21:44 +0000)]
changed buffer size for faster USB transfers

git-svn-id: https://svn.code.sf.net/p/freetel/code@2480 01035d8c-6547-0410-b346-abe4f91aad63

8 years agobuilding up DF simulation
drowe67 [Thu, 5 Nov 2015 04:11:11 +0000 (04:11 +0000)]
building up DF simulation

git-svn-id: https://svn.code.sf.net/p/freetel/code@2479 01035d8c-6547-0410-b346-abe4f91aad63

8 years agotesting timing
drowe67 [Wed, 4 Nov 2015 19:47:02 +0000 (19:47 +0000)]
testing timing

git-svn-id: https://svn.code.sf.net/p/freetel/code@2478 01035d8c-6547-0410-b346-abe4f91aad63

8 years agolatest notes
drowe67 [Wed, 28 Oct 2015 20:11:01 +0000 (20:11 +0000)]
latest notes

git-svn-id: https://svn.code.sf.net/p/freetel/code@2477 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoMore work on FSK to be ported to C. Now has sample-loop demod
baobrien [Mon, 26 Oct 2015 03:34:25 +0000 (03:34 +0000)]
More work on FSK to be ported to C. Now has sample-loop demod

git-svn-id: https://svn.code.sf.net/p/freetel/code@2476 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoStarted model FSK to be ported to C
baobrien [Sun, 25 Oct 2015 03:45:03 +0000 (03:45 +0000)]
Started model FSK to be ported to C

git-svn-id: https://svn.code.sf.net/p/freetel/code@2475 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosm1000_main: Use !pressed rather than released.
sjlongland [Sat, 24 Oct 2015 23:13:18 +0000 (23:13 +0000)]
sm1000_main: Use !pressed rather than released.

We could miss a release event as it is one-shot, whereas !pressed is
constant.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2474 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosm1000_main: Clamp warn period to time-out period.
sjlongland [Sat, 24 Oct 2015 23:13:16 +0000 (23:13 +0000)]
sm1000_main: Clamp warn period to time-out period.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2473 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosm1000_main: Announce warn period not timeout period.
sjlongland [Sat, 24 Oct 2015 23:13:13 +0000 (23:13 +0000)]
sm1000_main: Announce warn period not timeout period.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2472 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosm1000_main: Clean up main loop state machine.
sjlongland [Sat, 24 Oct 2015 23:13:10 +0000 (23:13 +0000)]
sm1000_main: Clean up main loop state machine.

Rather than testing the switch states in multiple places, we test in one
place and then act based on the state of the state machine rather than
the switches directly.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2471 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosm1000_main: Re-calibrate SysTick timer
sjlongland [Sat, 24 Oct 2015 23:13:07 +0000 (23:13 +0000)]
sm1000_main: Re-calibrate SysTick timer

Not sure why, but SysTick was being calibrated with a period equal to
the core frequency divided by 168000.

Apparently this was supposed to give millisecond ticks.  SystemCoreClock
gives the frequency of the core clock, and if you supply this value to
SysTick_Config, you get a 1 second tick timer.

Dividing this by 1000 seems to give much better timing results.  The
time-out timer almost works now.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2470 01035d8c-6547-0410-b346-abe4f91aad63

8 years agobetter comments in mrd4 encoder
baobrien [Fri, 23 Oct 2015 17:06:26 +0000 (17:06 +0000)]
better comments in mrd4 encoder

git-svn-id: https://svn.code.sf.net/p/freetel/code@2469 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoAdded mrd4 encoder
baobrien [Fri, 23 Oct 2015 16:57:05 +0000 (16:57 +0000)]
Added mrd4 encoder

git-svn-id: https://svn.code.sf.net/p/freetel/code@2468 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoadded soem more notes and iterated radio block diagram
drowe67 [Fri, 23 Oct 2015 05:14:10 +0000 (05:14 +0000)]
added soem more notes and iterated radio block diagram

git-svn-id: https://svn.code.sf.net/p/freetel/code@2467 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoadded note to sm2000 todo list
baobrien [Fri, 23 Oct 2015 00:45:32 +0000 (00:45 +0000)]
added note to sm2000 todo list

git-svn-id: https://svn.code.sf.net/p/freetel/code@2466 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoinitial sm2000 repo
drowe67 [Thu, 22 Oct 2015 08:56:19 +0000 (08:56 +0000)]
initial sm2000 repo

git-svn-id: https://svn.code.sf.net/p/freetel/code@2465 01035d8c-6547-0410-b346-abe4f91aad63

8 years agooops, undo previous mv
drowe67 [Thu, 22 Oct 2015 08:55:42 +0000 (08:55 +0000)]
oops, undo previous mv

git-svn-id: https://svn.code.sf.net/p/freetel/code@2464 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoSetting Up SM2000 repo
drowe67 [Thu, 22 Oct 2015 08:54:17 +0000 (08:54 +0000)]
Setting Up SM2000 repo

git-svn-id: https://svn.code.sf.net/p/freetel/code@2463 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoinitial sm2000 checkin
drowe67 [Thu, 22 Oct 2015 08:52:38 +0000 (08:52 +0000)]
initial sm2000 checkin

git-svn-id: https://svn.code.sf.net/p/freetel/code@2462 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoCorrected dumb mistake in fsk4 bit-symbol mapping
baobrien [Wed, 21 Oct 2015 01:48:32 +0000 (01:48 +0000)]
Corrected dumb mistake in fsk4 bit-symbol mapping

git-svn-id: https://svn.code.sf.net/p/freetel/code@2461 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoFSK4 symbol demapping improved by un-doing my other improvement
baobrien [Wed, 21 Oct 2015 00:53:56 +0000 (00:53 +0000)]
FSK4 symbol demapping improved by un-doing my other improvement

git-svn-id: https://svn.code.sf.net/p/freetel/code@2460 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoall combos working and script to run thru them, plus comments
drowe67 [Tue, 20 Oct 2015 22:20:52 +0000 (22:20 +0000)]
all combos working and script to run thru them, plus comments

git-svn-id: https://svn.code.sf.net/p/freetel/code@2459 01035d8c-6547-0410-b346-abe4f91aad63

8 years agostarting to get sensible results for 4FSK, still early days
drowe67 [Tue, 20 Oct 2015 08:44:47 +0000 (08:44 +0000)]
starting to get sensible results for 4FSK, still early days

git-svn-id: https://svn.code.sf.net/p/freetel/code@2458 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofurther fsk4 modularization
baobrien [Tue, 20 Oct 2015 00:06:54 +0000 (00:06 +0000)]
further fsk4 modularization

git-svn-id: https://svn.code.sf.net/p/freetel/code@2457 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofsk4 clean up and modularization
baobrien [Mon, 19 Oct 2015 22:34:22 +0000 (22:34 +0000)]
fsk4 clean up and modularization

git-svn-id: https://svn.code.sf.net/p/freetel/code@2456 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoFurther fsk4 work
baobrien [Mon, 19 Oct 2015 21:27:00 +0000 (21:27 +0000)]
Further fsk4 work

git-svn-id: https://svn.code.sf.net/p/freetel/code@2455 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoadded a few notes and some questions
drowe67 [Mon, 19 Oct 2015 19:29:46 +0000 (19:29 +0000)]
added a few notes and some questions

git-svn-id: https://svn.code.sf.net/p/freetel/code@2454 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoideal mFSK sim for m=4 working and getting sensible results
drowe67 [Mon, 19 Oct 2015 07:37:34 +0000 (07:37 +0000)]
ideal mFSK sim for m=4 working and getting sensible results

git-svn-id: https://svn.code.sf.net/p/freetel/code@2453 01035d8c-6547-0410-b346-abe4f91aad63

8 years agotwo modems running, 4.7dB between them
drowe67 [Mon, 19 Oct 2015 00:06:12 +0000 (00:06 +0000)]
two modems running, 4.7dB between them

git-svn-id: https://svn.code.sf.net/p/freetel/code@2452 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoinitial BER results for manchester encoded modem, looking gd
drowe67 [Sat, 17 Oct 2015 04:02:48 +0000 (04:02 +0000)]
initial BER results for manchester encoded modem, looking gd

git-svn-id: https://svn.code.sf.net/p/freetel/code@2451 01035d8c-6547-0410-b346-abe4f91aad63

8 years agonotes and tweak to bit flipping
drowe67 [Fri, 16 Oct 2015 07:17:20 +0000 (07:17 +0000)]
notes and tweak to bit flipping

git-svn-id: https://svn.code.sf.net/p/freetel/code@2450 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoexploring waveforms that can pass through legacy radios
drowe67 [Fri, 16 Oct 2015 03:10:48 +0000 (03:10 +0000)]
exploring waveforms that can pass through legacy radios

git-svn-id: https://svn.code.sf.net/p/freetel/code@2449 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofixed bug in SD error flipping on streaming version
drowe67 [Thu, 15 Oct 2015 22:14:07 +0000 (22:14 +0000)]
fixed bug in SD error flipping on streaming version

git-svn-id: https://svn.code.sf.net/p/freetel/code@2448 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoSD error flipping working on streaming version
drowe67 [Thu, 15 Oct 2015 21:26:48 +0000 (21:26 +0000)]
SD error flipping working on streaming version

git-svn-id: https://svn.code.sf.net/p/freetel/code@2447 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofirst pass at error correction using bit slipping of weakest bits
drowe67 [Thu, 15 Oct 2015 20:36:55 +0000 (20:36 +0000)]
first pass at error correction using bit slipping of weakest bits

git-svn-id: https://svn.code.sf.net/p/freetel/code@2446 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoprotect against boundary condition
drowe67 [Thu, 15 Oct 2015 07:30:19 +0000 (07:30 +0000)]
protect against boundary condition

git-svn-id: https://svn.code.sf.net/p/freetel/code@2445 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofirst pass at writing to log file and telling foxtrotgps to plot track
drowe67 [Thu, 15 Oct 2015 05:00:47 +0000 (05:00 +0000)]
first pass at writing to log file and telling foxtrotgps to plot track

git-svn-id: https://svn.code.sf.net/p/freetel/code@2444 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofixed phase discontnuity in simulated fsk tx
drowe67 [Thu, 15 Oct 2015 03:32:43 +0000 (03:32 +0000)]
fixed phase discontnuity in simulated fsk tx

git-svn-id: https://svn.code.sf.net/p/freetel/code@2443 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofixed phase discontnuity in simulated fsk tx
drowe67 [Thu, 15 Oct 2015 02:25:00 +0000 (02:25 +0000)]
fixed phase discontnuity in simulated fsk tx

git-svn-id: https://svn.code.sf.net/p/freetel/code@2442 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosome refactoring of ascii processing functions
drowe67 [Thu, 15 Oct 2015 02:05:56 +0000 (02:05 +0000)]
some refactoring of ascii processing functions

git-svn-id: https://svn.code.sf.net/p/freetel/code@2441 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoadded clock offset ppm measurement software
drowe67 [Wed, 14 Oct 2015 01:53:47 +0000 (01:53 +0000)]
added clock offset ppm measurement software

git-svn-id: https://svn.code.sf.net/p/freetel/code@2440 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoA little work towards FSK4 fine timing estimation
baobrien [Tue, 13 Oct 2015 17:49:19 +0000 (17:49 +0000)]
A little work towards FSK4 fine timing estimation

git-svn-id: https://svn.code.sf.net/p/freetel/code@2439 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoEb/No and SNR measurement on streaming version
drowe67 [Tue, 13 Oct 2015 09:23:58 +0000 (09:23 +0000)]
Eb/No and SNR measurement on streaming version

git-svn-id: https://svn.code.sf.net/p/freetel/code@2438 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoanother go at Eb/No estimation
drowe67 [Tue, 13 Oct 2015 09:13:36 +0000 (09:13 +0000)]
another go at Eb/No estimation

git-svn-id: https://svn.code.sf.net/p/freetel/code@2437 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofile input example
drowe67 [Tue, 13 Oct 2015 07:37:17 +0000 (07:37 +0000)]
file input example

git-svn-id: https://svn.code.sf.net/p/freetel/code@2436 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoadded Eb/No estimate
drowe67 [Tue, 13 Oct 2015 07:36:30 +0000 (07:36 +0000)]
added Eb/No estimate

git-svn-id: https://svn.code.sf.net/p/freetel/code@2435 01035d8c-6547-0410-b346-abe4f91aad63

8 years agostreaming working OK, some run time diagnostics
drowe67 [Tue, 13 Oct 2015 05:04:44 +0000 (05:04 +0000)]
streaming working OK, some run time diagnostics

git-svn-id: https://svn.code.sf.net/p/freetel/code@2434 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofirst pass at streaming version, works oK from stroed file
drowe67 [Tue, 13 Oct 2015 02:23:15 +0000 (02:23 +0000)]
first pass at streaming version, works oK from stroed file

git-svn-id: https://svn.code.sf.net/p/freetel/code@2433 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofading and freq drift model working OK
drowe67 [Tue, 13 Oct 2015 01:45:57 +0000 (01:45 +0000)]
fading and freq drift model working OK

git-svn-id: https://svn.code.sf.net/p/freetel/code@2432 01035d8c-6547-0410-b346-abe4f91aad63

8 years agodecoding multiple packets
drowe67 [Mon, 12 Oct 2015 08:27:20 +0000 (08:27 +0000)]
decoding multiple packets

git-svn-id: https://svn.code.sf.net/p/freetel/code@2431 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofirst packet from Horus payload demodulated and printed out yayyy
drowe67 [Mon, 12 Oct 2015 03:41:03 +0000 (03:41 +0000)]
first packet from Horus payload demodulated and printed out yayyy

git-svn-id: https://svn.code.sf.net/p/freetel/code@2430 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofine timing OK at +/- 1000pm Eb/No=10dB, getting bits from baloon signal OK, now...
drowe67 [Mon, 12 Oct 2015 00:00:10 +0000 (00:00 +0000)]
fine timing OK at +/- 1000pm Eb/No=10dB, getting bits from baloon signal OK, now for frame sync

git-svn-id: https://svn.code.sf.net/p/freetel/code@2429 01035d8c-6547-0410-b346-abe4f91aad63

8 years agosome more work on fine timing
drowe67 [Sun, 11 Oct 2015 23:22:05 +0000 (23:22 +0000)]
some more work on fine timing

git-svn-id: https://svn.code.sf.net/p/freetel/code@2428 01035d8c-6547-0410-b346-abe4f91aad63

8 years agofine timing estimate hanging on for a range of static timing offsets
drowe67 [Sun, 11 Oct 2015 00:24:26 +0000 (00:24 +0000)]
fine timing estimate hanging on for a range of static timing offsets

git-svn-id: https://svn.code.sf.net/p/freetel/code@2427 01035d8c-6547-0410-b346-abe4f91aad63

8 years agoA little improvement to 4FSK symbol resolution
baobrien [Sat, 10 Oct 2015 18:08:24 +0000 (18:08 +0000)]
A little improvement to 4FSK symbol resolution

git-svn-id: https://svn.code.sf.net/p/freetel/code@2426 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosm1000_main: First stab at a time-out timer.
sjlongland [Tue, 6 Oct 2015 10:03:57 +0000 (10:03 +0000)]
sm1000_main: First stab at a time-out timer.

This needs calibration, but basically it cuts transmission after a fixed
period, giving warning beeps in the time just prior to timeout.

For now it is disabled by default, and the timing for now is way off.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2425 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosounds: Add a tune to play for when the time-out is reached.
sjlongland [Tue, 6 Oct 2015 10:03:55 +0000 (10:03 +0000)]
sounds: Add a tune to play for when the time-out is reached.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2424 01035d8c-6547-0410-b346-abe4f91aad63

9 years agotot: Time-out timer module
sjlongland [Tue, 6 Oct 2015 10:03:52 +0000 (10:03 +0000)]
tot: Time-out timer module

This is a crude time-out timer, designed to be ticked along by the
systick timer then polled in the main loop.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2423 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosounds: Make structures const.
sjlongland [Tue, 6 Oct 2015 10:03:47 +0000 (10:03 +0000)]
sounds: Make structures const.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2422 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoCommit draft instructions for branching and tagging.
hobbes1069 [Mon, 5 Oct 2015 14:14:10 +0000 (14:14 +0000)]
Commit draft instructions for branching and tagging.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2421 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoRemove failed attempt to use prebuilt wxWidgets binaries from svn.
hobbes1069 [Mon, 5 Oct 2015 13:52:32 +0000 (13:52 +0000)]
Remove failed attempt to use prebuilt wxWidgets binaries from svn.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2420 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoA bit more messing with and clean up of fsk4.m
baobrien [Mon, 5 Oct 2015 00:26:11 +0000 (00:26 +0000)]
A bit more messing with and clean up of fsk4.m

git-svn-id: https://svn.code.sf.net/p/freetel/code@2419 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoFIX SVN CHANGE LOG RGB 10/04/15
rickb44 [Sun, 4 Oct 2015 19:19:14 +0000 (19:19 +0000)]
FIX SVN CHANGE LOG RGB 10/04/15

git-svn-id: https://svn.code.sf.net/p/freetel/code@2418 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoFIX COMMIT PROBLEM RGB 10-04-5
rickb44 [Sun, 4 Oct 2015 19:16:38 +0000 (19:16 +0000)]
FIX COMMIT PROBLEM RGB 10-04-5

git-svn-id: https://svn.code.sf.net/p/freetel/code@2417 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoCOMMIT TO SVN
rickb44 [Sun, 4 Oct 2015 19:10:11 +0000 (19:10 +0000)]
COMMIT TO SVN

git-svn-id: https://svn.code.sf.net/p/freetel/code@2416 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoSM1000-F RELEASE. MFG & GERBER FILES FOR PRODUCTION. RGB 10-04-15
rickb44 [Sun, 4 Oct 2015 19:07:51 +0000 (19:07 +0000)]
SM1000-F RELEASE. MFG & GERBER FILES FOR PRODUCTION. RGB 10-04-15

git-svn-id: https://svn.code.sf.net/p/freetel/code@2415 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoADD PDFs of Schematics and board layers L1, L2, L3 & L4 for reference only. RGB 10...
rickb44 [Sun, 4 Oct 2015 02:15:15 +0000 (02:15 +0000)]
ADD PDFs of Schematics and board layers L1, L2, L3 & L4 for reference only. RGB 10/03/15

git-svn-id: https://svn.code.sf.net/p/freetel/code@2414 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoFix install location for Win64.
hobbes1069 [Sat, 3 Oct 2015 02:57:17 +0000 (02:57 +0000)]
Fix install location for Win64.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2413 01035d8c-6547-0410-b346-abe4f91aad63

9 years agocodec2 debian rules: make executable
sjlongland [Fri, 2 Oct 2015 23:04:08 +0000 (23:04 +0000)]
codec2 debian rules: make executable

git-svn-id: https://svn.code.sf.net/p/freetel/code@2412 01035d8c-6547-0410-b346-abe4f91aad63

9 years agofreedv debian rules: Fix indentation, permissions.
sjlongland [Fri, 2 Oct 2015 23:02:40 +0000 (23:02 +0000)]
freedv debian rules: Fix indentation, permissions.

Should be executable, and who-TF took out the tabs?!  Makefiles have
tabs.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2411 01035d8c-6547-0410-b346-abe4f91aad63

9 years agofreedv: debian control: Rename source package to fdmdv2
sjlongland [Fri, 2 Oct 2015 22:49:25 +0000 (22:49 +0000)]
freedv: debian control: Rename source package to fdmdv2

This is to maintain compatibility with the older 'fdmdv2' package in
Debian.  Not calling it this can lead to apt getting confused.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2410 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoUpdate Schematic & board files. Add PDF of schematic for review. RGB
rickb44 [Mon, 28 Sep 2015 17:33:08 +0000 (17:33 +0000)]
Update Schematic & board files. Add PDF of schematic for review. RGB

git-svn-id: https://svn.code.sf.net/p/freetel/code@2409 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32_flash: Add BKPSRAM section.
sjlongland [Mon, 28 Sep 2015 10:43:36 +0000 (10:43 +0000)]
stm32_flash: Add BKPSRAM section.

This is taken from the datasheet.  We can place variables in there by
declaring them in the C code like this:

/*!
 * User preferences
 */
static struct prefs_t {
    /*! Serial number */
    uint64_t serial;
    /*! Menu frequency */
    uint16_t menu_freq;
    /*! Menu speed */
    uint8_t menu_speed;
    /*! Menu volume (attenuation) */
    uint8_t menu_vol;
    /*! Default operating mode */
    uint8_t op_mode;
} prefs __attribute__((section(".bkpsram")));

git-svn-id: https://svn.code.sf.net/p/freetel/code@2408 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoFurther 4FSK DMR work
baobrien [Mon, 28 Sep 2015 03:28:56 +0000 (03:28 +0000)]
Further 4FSK DMR work

git-svn-id: https://svn.code.sf.net/p/freetel/code@2407 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32f4_vrom: Correct sector size.
sjlongland [Sun, 27 Sep 2015 06:41:19 +0000 (06:41 +0000)]
stm32f4_vrom: Correct sector size.

The sectors are 16kB, not 64kB.  (Yes, brain fart moment yesterday.)

git-svn-id: https://svn.code.sf.net/p/freetel/code@2406 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosm1000_main: Store two copies of the settings.
sjlongland [Sun, 27 Sep 2015 04:23:30 +0000 (04:23 +0000)]
sm1000_main: Store two copies of the settings.

We keep a rolling serial number (64-bit, so probably flash will wear out
before rollover happens) that is incremented on each write, and we write
to the oldest image in flash.

On load, we pick the newest one that's valid.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2405 01035d8c-6547-0410-b346-abe4f91aad63

9 years agofsk4 ber curves work now
baobrien [Sun, 27 Sep 2015 02:42:58 +0000 (02:42 +0000)]
fsk4 ber curves work now

git-svn-id: https://svn.code.sf.net/p/freetel/code@2404 01035d8c-6547-0410-b346-abe4f91aad63

9 years agofsk4.m now has BER curve tracer
baobrien [Sun, 27 Sep 2015 01:22:21 +0000 (01:22 +0000)]
fsk4.m now has BER curve tracer

git-svn-id: https://svn.code.sf.net/p/freetel/code@2403 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosm1000_main: Enable CRC peripheral.
sjlongland [Sun, 27 Sep 2015 01:07:51 +0000 (01:07 +0000)]
sm1000_main: Enable CRC peripheral.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2402 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosm1000_main: Don't save settings unless something changed.
sjlongland [Sun, 27 Sep 2015 00:44:53 +0000 (00:44 +0000)]
sm1000_main: Don't save settings unless something changed.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2401 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32f4_vrom: Do checksum on copy of block.
sjlongland [Sun, 27 Sep 2015 00:03:20 +0000 (00:03 +0000)]
stm32f4_vrom: Do checksum on copy of block.

Store a temporary copy of the block on the stack to do our checksumming
on.  This allows us to zero out the CRC32 field.

(There is a way to include the CRC32 field in the checksum itself, but
haven't figured out the mathematics needed yet.)

git-svn-id: https://svn.code.sf.net/p/freetel/code@2400 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32f4_vrom: Adjust erase cycle counter.
sjlongland [Sat, 26 Sep 2015 23:53:32 +0000 (23:53 +0000)]
stm32f4_vrom: Adjust erase cycle counter.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2399 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32f4_vrom: Make structures "packed"
sjlongland [Sat, 26 Sep 2015 23:53:30 +0000 (23:53 +0000)]
stm32f4_vrom: Make structures "packed"

git-svn-id: https://svn.code.sf.net/p/freetel/code@2398 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosm1000_main: Clear DAC buffer after playback.
sjlongland [Sat, 26 Sep 2015 23:53:27 +0000 (23:53 +0000)]
sm1000_main: Clear DAC buffer after playback.

This seems to cure a "hanging note" issue when navigating menus.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2397 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32f4_vrom: Fixes to writing out data.
sjlongland [Sat, 26 Sep 2015 13:59:29 +0000 (13:59 +0000)]
stm32f4_vrom: Fixes to writing out data.

Numerous logic errors fixed.  This time we succesfully write out blocks
and mark them as being used.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2396 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32_flash: Fill EEPROM section with 0xff.
sjlongland [Sat, 26 Sep 2015 11:45:28 +0000 (11:45 +0000)]
stm32_flash: Fill EEPROM section with 0xff.

Filling it with 0x00 (the default) makes the virtual EEPROM code think
the sectors are depleted.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2395 01035d8c-6547-0410-b346-abe4f91aad63

9 years agosm1000_main: Add some logic involving the virtual EEPROM.
sjlongland [Sat, 26 Sep 2015 11:45:25 +0000 (11:45 +0000)]
sm1000_main: Add some logic involving the virtual EEPROM.

Not working yet.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2394 01035d8c-6547-0410-b346-abe4f91aad63

9 years agoMakefile: Add stm32f4_vrom to sm1000 target
sjlongland [Sat, 26 Sep 2015 11:45:20 +0000 (11:45 +0000)]
Makefile: Add stm32f4_vrom to sm1000 target

git-svn-id: https://svn.code.sf.net/p/freetel/code@2393 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32f4_vrom: Virtual EEPROM driver for STM32F4.
sjlongland [Sat, 26 Sep 2015 10:32:45 +0000 (10:32 +0000)]
stm32f4_vrom: Virtual EEPROM driver for STM32F4.

This is a work-in-progress driver for talking to the flash on the
STM32F4.  Untested for now.

git-svn-id: https://svn.code.sf.net/p/freetel/code@2392 01035d8c-6547-0410-b346-abe4f91aad63

9 years agotone: Fix copyright notice
sjlongland [Sat, 26 Sep 2015 10:32:41 +0000 (10:32 +0000)]
tone: Fix copyright notice

git-svn-id: https://svn.code.sf.net/p/freetel/code@2391 01035d8c-6547-0410-b346-abe4f91aad63

9 years agostm32_flash: Add a section for EEPROM data.
sjlongland [Sat, 26 Sep 2015 02:57:32 +0000 (02:57 +0000)]
stm32_flash: Add a section for EEPROM data.

This allocates a few sectors of flash for the following purposes:
- Sector 0: ISR vector data.  (This gets mapped to address 0; so we have
  no choice, the ISR data *must* reside here.)
- Sector 1..3: Virtual EEPROM.  We'll stash our configuration parameters
  here.  We have 48kB available.
- Sector 4.. onwards: Program data

Credit: clive1, ST e2e Communities.
https://my.st.com/public/STe2ecommunities/mcu/_layouts/st/getshorturl.aspx?List={697285D7-A9CA-445D-B16C-F23BF0E3B1A3}&ItemId=24079

git-svn-id: https://svn.code.sf.net/p/freetel/code@2390 01035d8c-6547-0410-b346-abe4f91aad63