I've just spent a few weeks ploughing through the source code in order to port it to different hardware and I have only just begun to scratch the surface. What you want to do Daniele is not a trivial task and will take considerable time. Good luck.
Regards Eric On 2016-08-30 09:07, Daniele Barzotti wrote: > Hi Glen, > > thanks for your suggestions. > Unfortunatelly I cannot avoid to use FreeRTOS because the project is > based entirely on it. > I'm developing on an DMR radio option board and I have to interface it > with the radio, so a lot of code is already written. > > Now I will made a try. > Just to know, without to examinate the entire sorce base, you know which > are the parts not related to the encoder? > > Thanks, > Daniele. > > Il 29/08/2016 23:29, glen english ha scritto: > Hi Daniele I looked at the AT32UC3B0512 manuals I think you will would be > able to run CODEC2 on the versions with the hardware FPU, there is enough > horsepower I think, but you may need to spend time on generating compiler > optimizations. And not waste ANY memory, and if you try and run freeRTOS, > which I am well familiar with, this will probably consume up the valuable > memory you need. I would recommend you try without the RTOS, and really, if > the codec is all you are running, there is no benefit, only disadvantage. It > is certainly worth a shot if you want to learn a few things. Might depend on > how well the compiler mates to the CPU. Hence the need to examine the > generated assembler. regards On 29/08/2016 11:44 PM, Daniele Barzotti wrote: > Hi, First of all, I'm new to codec2. I'm developing on a proprietary board > based on ATMEL AT32UC3B0512, a 8MByte Spansion Flash and FreeRTOS. What I > need to do is to store 8 hours of voice into the flash. My input stream is a > PCM 16 bit 8Khz and I got 20 dword (1 frame) every 2.5 msec. Here I have to compress it to a 2 kilobit/second stream. (So here I need only the encoder part) I added the codec2 source to my project and it compile with no problems but, when I run, it hangs on codec2_create(). I tried to create the CODEC2 structure on the stack but with no success. My question is: someone known if is possible to run codec2 into a 32-bit RISC? Thanks in advance, Daniele. ------------------------------------------------------------------------------ _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2 [1] Links: ------ [1] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
------------------------------------------------------------------------------
_______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
