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.

about GEL and Chip Support Library (CSL) c5505

hi

i use c5505 starter kit, i use gpio to give a sync to the sensor and read the data throught UART from sensor, then store those bits in the buffer, and i have two buffers, it is like a tiktak buffer, the 1st second i received  the sensor's data and put all the data into buffer 1, the 2nd second,i received the sensor' s data and put it in buffer 2 and at the same time store the buffer 1's data into the SD card, until i stop the sync signal and close the text file in SD card, the program will store the sensor's data into SD card forever. but now i encount the problem, i use dsp/bios from generate the sync from gpio and also get the data from UART, and i modified the MMC_SD example program that i can write all the sensor's data in sequence into the SD card. it was everything fine, i store one hours data into SD card, but  i encount some problem now, it suddenly dont work so well as before, and i notice that, if i use GEL before i connect  the to the C5505, then i will get the data from the sensor and store the information into SD card, but only last for around 15 second, then the sync signal will stop, how ever if i dont use GEL before i connect to the C5505, then the program's sync will run until the predifined ending for the data storage, but the problem is that UART dont read the data from sensor anymore.

 

Best regards

  • Hi,

     

    It seems that there are some conflicts between your code and GEL file settings. You'd better take a look GEL file what is being set during initializing time. Whenever CCS connects to DSP, GEL is trying the initialize it by default. You can control what is doing in the GEL file.

    Regards,

    Hyun