This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flash problem using PADK board

I am using PADK board based on C6727. Four input channels recive the audio signal, ADC's sample rate is 48kHz. Eight HRTF fir filters, two low pass and two high pass fir filters are used to process the signal, I use DSPF_sp_FIR function to implement the filtering.

Four output channels send out the processed signal, two of which just ouput audible signal, while the other two channels need to ouput modulated signals. 40kHz signal is generated based on sine table, so the DAC's sample rate must be 192khz. Because the DAC's sample rate cannot be set seperately, the data for all the four channels need to be upsampled to 192 kHz, and the use interpolation filter of 48kHz cutoff frequency for smoothing the output. So many filters are used in the program, I enlarged the FRAME_SIZE to 120 and SRAM length to 36000h, reduced the length of filters to lower computation cost, then the codes could running in the SRAM online using debug mode.

Then I try to burn the code to flash for offline running. The *.ais file is generated and contained in the flashburn folder. Previously, I used Debug mode for build the flashburn.pjt and the it could work correctly (the previous program is more simple than current one). But aftre I burned current codes into the flash, the last channel cannot work correctly, the output waveform is messy and not stable.

So can anyone give me some suggestion as why the program cannot work when burned to the flash, many thanks!

  • Usually when a program runs with the emulator and does not run when you burn it in the flash is because some initialization is done by the GEL file (that will only run when you are connected with the emulator) is missing in your application. You probably need to port the initializations made in the GEL file to main().