Re: 程式碼保護,有待加強
|
||||
---|---|---|---|---|
初級會員
|
小弟有點好奇 做單晶片COPY的人 他們有能力把COPY出來的binary code做反組譯 然後作修改程式碼(增減程式功能)的動作嗎? 特別是中國那邊專門做COPY的人 不知是否有前輩了解?
發表於: 2006/12/5 13:56
|
|||
|
Re: ccs and hi-tech c
|
||||
---|---|---|---|---|
初級會員
|
我還是再推一下 BKND的cc5x/cc8e, 似乎比較少人用,但我覺得蠻好用的, code size optimization也不錯吧, 您可以納入考慮看看
發表於: 2006/5/16 9:47
|
|||
|
Re: hi-tech c程式 build 後與組合語言對應的問題
|
||||
---|---|---|---|---|
初級會員
|
推一下 BKND的CC5X, CC8E
compiler短小精幹,code size optimization聽說作的比PICC好 我用試用版的就用的很高興囉 不知道有沒有其他先進可分享經驗
發表於: 2006/5/12 14:44
|
|||
|
TC74A 無法動作
|
||||
---|---|---|---|---|
初級會員
|
請教各位先進,小弟在APP001板上用I2C模式讀取TC74A的溫度,但始終無法收到正確的ACK,例如startbit後送出指令10011010 (9Ah)之後, 示波器上的第9bit (ACK),理應SCL=1,SDA=0,但總是顯示SDA=1; 但是while(ACKSTAT)還是會過,之後的comand(0x00)送出後的ACK,也是SDA=0而此住while(ACKSTAT)就hang住了,請問這問題是出在哪呢?謝謝
以下的CODE和程序存取24LC32並無問題: void I2C_Read_Temp(void) //read temp from TC74A { char temp=0x00; i2c_waitForIdle(); I2C_Startbit(); i2c_waitForIdle(); I2C_SendByte(0x9A); i2c_waitForIdle(); I2C_SendByte(0x00); //hang up here i2c_waitForIdle(); I2C_RepStart(); i2c_waitForIdle(); I2C_SendByte(0x9B); i2c_waitForIdle(); temp=I2C_ReadByte(); i2c_waitForIdle(); I2C_Stopbit(); i2c_waitForIdle(); } void I2C_SendByte(char byte) { i2c_waitForIdle(); SSPBUF = byte; while(ACKSTAT); return; }
發表於: 2006/5/4 17:51
|
|||
|
Re: 有關ICD2燒錄問題~~
|
||||
---|---|---|---|---|
初級會員
|
妳確定一下ICD2有沒有接上9v DC,還有MPLAB中,PROGRAMMER SETTING中的POWER選項, power target from MPLAB ICD2有沒有打勾起來, configuration bits中,把功能disable掉試試看.
發表於: 2006/5/3 15:26
|
|||
|
Re: 關於中斷功能... 笨鴨偶又有問題囉??
|
||||
---|---|---|---|---|
初級會員
|
最最簡單的方式就是用while(1) loop 去偵測IO pin的變化,不過缺點就是一進入迴圈 就不能同時作其他事情了
發表於: 2006/4/13 9:52
|
|||
|
PIC18移植至PIC12 的問題
|
||||
---|---|---|---|---|
初級會員
|
想請教各位先進,小弟想將在PIC18上開發好的程式(c)移植至PIC12上運行,改寫的過程將暫存器和PIN腳作了一些調整,由於是用C,所以大部分CODE基本上是沒太多改變,但在PIC12上還是動不了,PIN腳該HIGH不HIGH該LOW不LOW,不曉得是否是configuration bits問題:
Oscillator LP Watchdog off Code Protect off Master clear enable off 請問這樣子的設定是否OK? 程式本身是作讀取EEPROM 再寫入其他晶片的簡單動作而已. 或是其他有哪些需要注意的地方? 謝謝指教
發表於: 2006/3/24 13:46
|
|||
|
Re: 請教APP001練習板 燒錄的問題
|
||||
---|---|---|---|---|
初級會員
|
感謝板主的回覆
我換了一顆CHIP燒錄就OK了! 謝謝
發表於: 2006/3/20 9:22
|
|||
|
請教APP001練習板 燒錄的問題
|
||||
---|---|---|---|---|
初級會員
|
想請問一下 我用ICD2+APP001模擬板的燒錄區來作燒錄PIC12F509的動作, jumper都調好, 也給ICD2 9V電源, MPLAB的Select Device也選定PIC12F509,但在燒錄時會出現以下訊息:
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation ...Program Memory ...User ID Memory ...Verify Succeeded Programming Configuration Bits ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation .. Config Memory Verifying configuration memory... ...Verify Succeeded ...Programming succeeded 出現警告訊息,但最後還是顯示成功,但把chip拿去板子跑時卻不會動,想請問前輩,是否是燒錄失敗或是程式本身問題呢? 謝謝
發表於: 2006/3/16 11:00
|
|||
|