DSPRelated.com
Forums

about CSL MMC_SD GPIO UART DSP/BIOS

Started by reyn...@hotmail.com July 31, 2010
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
Reynold-

> 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 dat
> a 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.

Seems like the .gel file does something important and you should study the .gel contents and find out what it does.

What initialization does the .gel file do that your run-time code does not?

-Jeff