Hi David,


Op 23-11-14 om 21:23 schreef David Rowe:
> Hello Kristoff and Alex,
>
> Good work Kristoff on helping introduce your club to this sort of
> technology.
It's all part of the "demythifying digital voice / digital 
communication" effort :-)




>
> Yes FSK can run on small ADC resolutions, as what really matters for
> "frequency counting" is just the sign bit.  Here is a tone decoder that
> works well with just 3 magnitude bits:
>     http://www.rowetel.com/blog/?p=3289

Well, I did notice that the APRStrack only has a 4-bit R/R2 network, so 
even from the encoder-side, the same principle applies.



> Some times fixed point DSP works out in our favour.
> -/-
>
> In codec2-dev/stm2 there is a README that describes how to get started
> with gdb and the STM32F4 development board.  I use a hacked version of
> stlink to support "semi hosting" - using the Host PC for stdio functions
> like printf/fread/fwrite.
I have been looking at the README.

The thing I did notice is that it is st-link that is used to do this 
"semi-hosting" stuff, not gdb. But I get the idea. You use shared-memory 
to communicate between the host and remote-device, using the 
debugging-hardware to access the memory on the device.

Avarice does not have this option that stlink does, but perhaps I can do 
this using gdb and "expect" based scripting.





> I understand there are also some other tools for the STM32F4 that
> support semi hosting with IDEs.
>
> IIRC in gdb it's "r" for run/reset that does a hard restart of the
> program.  Most of the time I just use that and "load".  I rarely set
> breakpoints as its a bit painful.  Probably use printf more.
In my case, "r" give "run not supported on device". :-)

Perhaps I need to force a "jump to a certain address" to emulate a reset.


> Anyway all of my debugging is done on x86 versions of the same code.  So
> it's usually just a cross compile, then any device-specific issues which
> I narrow down with unittests.
I just want to do the same thing: test if the signal-detection algorithm 
works correctly or not.


73
kristoff - ON1ARF


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to