Hi Daniele You should read it all to understand which bits you need.
You will need to understand it sufficiently to have a good chance of success. There will be no spare MIPS or RAM to do anything else, I suspect. cheers On 30/08/2016 5:07 PM, 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 > ------------------------------------------------------------------------------ _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
