用CH375ByteWrite( )正常寫入
CH375FileWriteX() 寫到U盤的數(shù)據(jù)。電腦上打開全是亂碼!
付代碼如下 for ( i=0; i<30; i++ ) { buf[i]=i; /* 指向文件數(shù)據(jù)緩沖區(qū) */ } mCmdParam.Locate.mSectorOffset=0xffffffff; CH375FileLocate(); mCmdParam.Write.mSectorCount=1; mCmdParam.WriteX.mDataBuffer =buf; CH375FileWriteX( ); 我用的是ADS1.2 周立功項目文件添加Lib的方式。
還有就是不定義#define FILE_DATA_BUF_LEN 1的話。 出Error : L6218E: Undefined symbol xWriteToExtBuf (referred from CH375SEC.O).
Error : L6218E: Undefined symbol xReadFromExtBuf (referred from CH375SEC.O).
Not enough information to list the image sizes and/or totals.
Finished: 1 information, 0 warning and 2 error messages.
這個錯誤不理解為什么?。。。≌垘徒獯鹣耓Emot]12[/Emot][Emot]12[/Emot][Emot]12[/Emot]