• 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 (lawrence)




速度問題
新會員
新會員



發表於: 2011/4/15 20:21
頂部


c30 中使用asm code
#2
新會員
新會員


請問我在c30中要使用asm 的code 時會產生變數未定義,可否請大家幫我解惑,感激不盡. 說明如下:

source.h 中定義:
unsigned long ADDRESS;

source.c 中的程式:
main()
{
ADDRESS=0x0000;
Nop();
asm ("mov #tblpage(ADDRESS),W0");
}
編譯後linker 告訴我 asm那一段程式中ADDRESS 未定義
請問C與ASM共用一個變數應該如何去定義. THANKS!

發表於: 2008/6/17 12:39
頂部


燒錄問題
#3
新會員
新會員


小弟是用p24hj64gp210 要做debug 燒錄ic時出現下方訊息,可否請各位高手幫我解答

ICDWarn0064: The requested operation will destroy the Boot segment already defined on the target. You must explicitly specify that ICD is allowed to do this on the Secure Segment tab of the MPLAB ICD 2 Settings Page.

發表於: 2007/11/8 12:10
頂部


c30 problem
#4
新會員
新會員


小弟第一次使用c30寫程式,結果出現下方訊息,可否請各位先進幫小弟解答

Make: The target "D:\PROGRAM\cbdu-001c30\CBDU-001Ha.o" is out of date.
Executing: "C:\pic30_tools\bin\pic30-gcc.exe" -mcpu=24HJ64GP210 -c -x c "CBDU-001Ha.c" -o"CBDU-001Ha.o" -g
CBDU-001Ha.c: In function '_U1RXInterrupt':
CBDU-001Ha.c:306: warning: PSV model not specified for '_U1RXInterrupt';
assuming 'auto_psv' this may affect latency
CBDU-001Ha.c: In function '_U1TXInterrupt':
CBDU-001Ha.c:312: warning: PSV model not specified for '_U1TXInterrupt';
assuming 'auto_psv' this may affect latency
CBDU-001Ha.c: In function '_T1Interrupt':
CBDU-001Ha.c:318: warning: PSV model not specified for '_T1Interrupt';
assuming 'auto_psv' this may affect latency
CBDU-001Ha.c: In function '_T2Interrupt':
CBDU-001Ha.c:324: warning: PSV model not specified for '_T2Interrupt';
assuming 'auto_psv' this may affect latency
Make: The target "D:\PROGRAM\cbdu-001c30\cbdu-001dsp.cof" is out of date.
Executing: "C:\pic30_tools\bin\pic30-gcc.exe" -Wl,"D:\PROGRAM\cbdu-001c30\CBDU-001Ha.o",-L"C:\pic30_tools\lib",--script="C:\pic30_tools\support\gld\p24HJ64GP210.gld",--defsym=__ICD2RAM=1,-o"cbdu-001dsp.cof"
c:\pic30_tools\bin\pic30-coff-ld.exe: Link Error: section .text [000002 -> 0005d9 ] overlaps section .reset [000000 -> 000003 ]
c:\pic30_tools\bin\pic30-coff-ld.exe: Link Error: section .ivt [000004 -> 0000ff ] overlaps section .text [000002 -> 0005d9 ]
c:\pic30_tools\bin\pic30-coff-ld.exe: Link Error: section .aivt [000104 -> 0001ff ] overlaps section .text [000002 -> 0005d9 ]
c:\pic30_tools\bin\pic30-coff-ld.exe: Link Error: section .prog%2 [000200 -> 0002f7 ] overlaps section .text [000002 -> 0005d9 ]
c:\pic30_tools\bin\pic30-coff-ld.exe: Link Error: section .dinit%3 [0002f8 -> 0002ff ] overlaps section .text [000002 -> 0005d9 ]
c:\pic30_tools\bin\pic30-coff-ld.exe: Link Error: section .isr%4 [000300 -> 000301 ] overlaps section .text [000002 -> 0005d9 ]
c:\pic30_tools\bin\pic30-coff-ld.exe: Link terminated due to previous error(s).
Link step failed.
BUILD FAILED: Wed Nov 07 18:32:01 2007

發表於: 2007/11/7 18:41
頂部


Re: 關於timer1
#5
新會員
新會員


有頻率輸出但是震幅很小

發表於: 2005/5/18 11:00
頂部


Re: 關於timer1
#6
新會員
新會員


sorry is 16LF74

發表於: 2005/5/18 10:58
頂部


關於timer1
#7
新會員
新會員


我適用16LF742 ,TIMER1是外掛32.768K接兩顆33P電容對地,未何我的TIMER1不會計數.T1CON都有打開(00001111B),是不是我有哪些地方沒注意到,請各位幫幫忙.

發表於: 2005/5/16 11:59
頂部






:::

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... ]

教育訓練中心

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