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


Browsing this Thread:   1 Anonymous Users






Re: 有關PWM程式結果跑出PSVmodel not specified for ...的問題
#2
資深會員
資深會員


查看用戶資訊
疑? 不是寫的很清楚, 只要加入auto_psv即可?
這在C30新版的都有此功能, 至於詳情, 請參考C30的說明.

中斷宣告改成:
void __attribute__((__interrupt__(__save__(ACCAH,ACCAL,ACCBH,ACCBL)),auto_psv, shadow)) _ADCInterrupt(void)
也就是加上auto_psv即可.

不過建議以後有問題, 先透過GOOGLE, 就有很多答案了.
因為這問題已經很多人問過. 不光是這裡哦!!

發表於: 2008/6/4 7:29
Thanks,
Edward Lee
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


有關PWM程式結果跑出PSVmodel not specified for ...的問題
#1
新會員
新會員


查看用戶資訊
各位工程師前輩,研習時有關PWM程式結果跑出PSVmodel not specified for ...的問題,是否請給予說明,或有參考資料
查詢?萬分感謝
明欽


Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\professional\dsPIC30F_Module_PWM\ADC_PWM\ADC_PWM.o".
Clean: Deleted file "D:\professional\dsPIC30F_Module_PWM\ADC_PWM\C30EVM_LCD.o".
Clean: Deleted file "D:\professional\dsPIC30F_Module_PWM\ADC_PWM\EX1_PWM.cof".
Clean: Deleted file "D:\professional\dsPIC30F_Module_PWM\ADC_PWM\EX1_PWM.hex".
Clean: Deleted file "D:\professional\dsPIC30F_Module_PWM\ADC_PWM\EX1_PWM.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 -c -x c "ADC_PWM.c" -o"ADC_PWM.o" -g
ADC_PWM.c: In function '_ADCInterrupt':
ADC_PWM.c:47: warning: PSV model not specified for '_ADCInterrupt';
assuming 'auto_psv' this may affect latency
ADC_PWM.c: In function 'main':
ADC_PWM.c:80: warning: pointer targets in passing argument 1 of 'putsLCD' differ in signedness
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 -c -x c "C30EVM_LCD.c" -o"C30EVM_LCD.o" -g
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -Wl,"D:\professional\dsPIC30F_Module_PWM\ADC_PWM\ADC_PWM.o","D:\professional\dsPIC30F_Module_PWM\ADC_PWM\C30EVM_LCD.o","C:\Program Files\Microchip\MPLAB C30\lib\libp30F4011-coff.a",-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="C:\Program Files\Microchip\MPLAB C30\support\gld\p30f4011.gld",--defsym=__ICD2RAM=1,-Map="EX1_PWM.map",-o"EX1_PWM.cof"
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-bin2hex.exe" "D:\professional\dsPIC30F_Module_PWM\ADC_PWM\EX1_PWM.cof"
Loaded D:\professional\dsPIC30F_Module_PWM\ADC_PWM\EX1_PWM.cof.
BUILD SUCCEEDED: Tue Jun 03 05:19:10 2008


發表於: 2008/6/4 4:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

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

教育訓練中心

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