• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::

論壇索引


Board index » All Posts (秋雨)




Re: 關於將Code Size 當 ROM使用
#11
新會員
新會員


#pragma code [name]
才對參照:

秋雨 寫道:
想請問一下在MicroChip如何將Code Size來當ROM使用?

謝謝

發表於: 2009/1/16 17:11
頂部


Re: 關於將Code Size 當 ROM使用
#12
新會員
新會員


目前使用下列這個方法Compile會通過提供給各位參考
針對P24FXXX MPLAB V8.10 Compile C30

#pragma romdata My_romdata

const unsigned long JNDTBL1024[1024]=
{
......
}

conset unsigned int PanelDefaultRTBL[256]=
{
......
}

發表於: 2009/1/12 15:05
頂部


關於將Code Size 當 ROM使用
#13
新會員
新會員


想請問一下在MicroChip如何將Code Size來當ROM使用?

謝謝

發表於: 2009/1/12 11:14
頂部


Re: 關於Halting build on first failure as requested.
#14
新會員
新會員


果然如大大說的
更新到新的C30 Compile就可以了
感謝您的說明

發表於: 2009/1/9 11:53
頂部


關於Halting build on first failure as requested.
#15
新會員
新會員


第一次使用Microchip產品
下載了8.1版tool及使用C30 V1.32版Compile
從官網下載PIC24F系列Sample Code卻無法編譯
請問還要做啥設定嗎?


----------------------------------------------------------------------
Debug build of project `E:\Wayne\PIC24F Code\Using Timer3 to Start ADC\CE_ADTMR3.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Thu Jan 08 18:46:10 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "adcDrv1.c" -o"adcDrv1.o" -I"C:\Program Files\Microchip\MPLAB C30\include" -D__DEBUG -g -Wall
adcDrv1.c:53:22: p24fxxxx.h: No such file or directory
In file included from adcDrv1.c:55:
adcDrv1.h:62: warning: '_ADC1Interrupt' is not a valid interrupt vector name
adcDrv1.c: In function `initAdc1':
adcDrv1.c:67: error: `AD1CON1bits' undeclared (first use in this function)
adcDrv1.c:67: error: (Each undeclared identifier is reported only once
adcDrv1.c:67: error: for each function it appears in.)
adcDrv1.c:75: error: `AD1CON2bits' undeclared (first use in this function)
adcDrv1.c:81: error: `AD1CON3bits' undeclared (first use in this function)
adcDrv1.c:91: error: `AD1CHS' undeclared (first use in this function)
adcDrv1.c:94: error: `AD1PCFG' undeclared (first use in this function)
adcDrv1.c:95: error: `AD1PCFGbits' undeclared (first use in this function)
adcDrv1.c:99: error: `AD1CSSL' undeclared (first use in this function)
adcDrv1.c:101: error: `IFS0bits' undeclared (first use in this function)
adcDrv1.c:102: error: `IEC0bits' undeclared (first use in this function)
adcDrv1.c:105: error: `ODCAbits' undeclared (first use in this function)
adcDrv1.c:106: error: `TRISAbits' undeclared (first use in this function)
adcDrv1.c: In function `initTmr3':
adcDrv1.c:122: error: `TMR3' undeclared (first use in this function)
adcDrv1.c:123: error: `PR3' undeclared (first use in this function)
adcDrv1.c:124: error: `IFS0bits' undeclared (first use in this function)
adcDrv1.c:125: error: `IEC0bits' undeclared (first use in this function)
adcDrv1.c:128: error: `T3CONbits' undeclared (first use in this function)
adcDrv1.c: At top level:
adcDrv1.c:138: warning: '_ADC1Interrupt' is not a valid interrupt vector name
adcDrv1.c:138: warning: `no_auto_psv' attribute directive ignored
adcDrv1.c: In function `_ADC1Interrupt':
adcDrv1.c:142: error: `ADC1BUF0' undeclared (first use in this function)
adcDrv1.c:151: error: `LATA' undeclared (first use in this function)
adcDrv1.c:154: error: `IFS0bits' undeclared (first use in this function)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `E:\Wayne\PIC24F Code\Using Timer3 to Start ADC\CE_ADTMR3.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Thu Jan 08 18:46:10 2009
----------------------------------------------------------------------
BUILD FAILED

發表於: 2009/1/8 18:16

Edited by B on 2009年01月08日 18:49:59
頂部



« 1 (2)



:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------