سلام دوستان
برنامه mini term رو کسی تونسته run کنه ؟؟ از من که کلی error میگیره . مربوط به قسمت task.c هست . مگه برنامه ای که شرکت ارسال میکنه نباید عاری از خطا باشه ؟؟؟
سلام دوستان
برنامه mini term رو کسی تونسته run کنه ؟؟ از من که کلی error میگیره . مربوط به قسمت task.c هست . مگه برنامه ای که شرکت ارسال میکنه نباید عاری از خطا باشه ؟؟؟
خوب شاید شما کامپایلرت مشکل داره ! شما rl-arm رو نصب کردید ؟ اگر نصب کردید - میشه خطا ها رو اینجا بذارید تا بررسی کنیم ؟
اره نسخه 4.5 رو دارم. باشه میزارم . البته اینم بگم rtx رو هم تو تنظیمات اضافه کردم.
کلا یرنامه هایی که تو dvd بود و example هایی که email شد شاید 10 تا برنامه بدون مشکل complie بشه. اوایل 4 ماه پیش خیلی پیگیر بودم کسی جواب گو نبود. رفتم تک تک قسمت ها رو راه اندازی کردم .تا رسیدم به این برنامه که کلی اشکال میگیره.
اینم error :
Build target 'KAVIR Starter Kit'
assembling SAM7.s...
compiling test.c...
test.c(29): warning: #223-D: function "init_delay" declared implicitly
test.c(31): warning: #223-D: function "SPI_SYSTEM_INIT" declared implicitly
test.c(33): warning: #223-D: function "init_touch" declared implicitly
compiling SPI.c...
compiling SPI_TOOLS.c...
compiling 24C02.c...
.\SOFT\I2CSW.h(32): warning: #1-D: last line of file ends without a newline
Driver\24C02.c(18): warning: #68-D: integer conversion resulted in a change of sign
compiling ENC28j60.c...
compiling Usart_v1.0.c...
compiling ads7843.c...
Driver\ads7843.c(81): warning: #223-D: function "spi" declared implicitly
Driver\ads7843.c(63): warning: #177-D: variable "uTimeout" was declared but never referenced
Driver\ads7843.c(69): warning: #177-D: variable "pPdc" was declared but never referenced
Driver\ads7843.c(70): warning: #177-D: variable "dStatus" was declared but never referenced
Driver\ads7843.c(121): warning: #167-D: argument of type "int *" is incompatible with parameter of type "unsigned int *"
Driver\ads7843.c(121): warning: #167-D: argument of type "int *" is incompatible with parameter of type "unsigned int *"
compiling toch.c...
SOFT\toch.c(36): warning: #223-D: function "ADS7843_Initialize" declared implicitly
SOFT\toch.c(37): warning: #223-D: function "i2csw_init" declared implicitly
SOFT\toch.c(38): warning: #223-D: function "e2p_read_byte" declared implicitly
SOFT\toch.c(41): warning: #223-D: function "e2p_read_buf" declared implicitly
SOFT\toch.c(49): warning: #223-D: function "ADS7843_GetPosition2" declared implicitly
SOFT\toch.c(63): warning: #223-D: function "ADS7843_GetPosition2" declared implicitly
SOFT\toch.c(84): warning: #223-D: function "ADS7843_GetPosition" declared implicitly
SOFT\toch.c(123): warning: #223-D: function "e2p_write_byte" declared implicitly
compiling calibrate.c...
compiling AT45D.c...
compiling TFTLCD.c...
compiling LCD_CLINE.c...
compiling tdelay.c...
compiling I2CSW.c...
SOFT\I2CSW.h(32): warning: #1-D: last line of file ends without a newline
compiling menu.c...
menu.c(18): warning: #223-D: function "tftlcd_write_wdr" declared implicitly
menu.c(45): warning: #223-D: function "tftlcd_write_wdr" declared implicitly
compiling RTX_Config.c...
compiling TASK.c...
aic.h(17): warning: #47-D: incompatible redefinition of macro "AT91C_ID_FIQ" (declared at line 2815 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(18): warning: #47-D: incompatible redefinition of macro "AT91C_ID_SYS" (declared at line 2816 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(19): warning: #47-D: incompatible redefinition of macro "AT91C_ID_PIOA" (declared at line 2817 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(20): warning: #47-D: incompatible redefinition of macro "AT91C_ID_PIOB" (declared at line 2818 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(21): warning: #47-D: incompatible redefinition of macro "AT91C_ID_SPI0" (declared at line 2819 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(22): warning: #47-D: incompatible redefinition of macro "AT91C_ID_SPI1" (declared at line 2820 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(23): warning: #47-D: incompatible redefinition of macro "AT91C_ID_US0" (declared at line 2821 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(24): warning: #47-D: incompatible redefinition of macro "AT91C_ID_US1" (declared at line 2822 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(25): warning: #47-D: incompatible redefinition of macro "AT91C_ID_SSC" (declared at line 2823 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(26): warning: #47-D: incompatible redefinition of macro "AT91C_ID_TWI" (declared at line 2824 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(27): warning: #47-D: incompatible redefinition of macro "AT91C_ID_PWMC" (declared at line 2825 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(28): warning: #47-D: incompatible redefinition of macro "AT91C_ID_UDP" (declared at line 2826 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(29): warning: #47-D: incompatible redefinition of macro "AT91C_ID_TC0" (declared at line 2827 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(30): warning: #47-D: incompatible redefinition of macro "AT91C_ID_TC1" (declared at line 2828 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(31): warning: #47-D: incompatible redefinition of macro "AT91C_ID_TC2" (declared at line 2829 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(32): warning: #47-D: incompatible redefinition of macro "AT91C_ID_CAN" (declared at line 2830 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(33): warning: #47-D: incompatible redefinition of macro "AT91C_ID_EMAC" (declared at line 2831 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(34): warning: #47-D: incompatible redefinition of macro "AT91C_ID_ADC" (declared at line 2832 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(37): warning: #47-D: incompatible redefinition of macro "AT91C_ID_IRQ0" (declared at line 2845 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(38): warning: #47-D: incompatible redefinition of macro "AT91C_ID_IRQ1" (declared at line 2846 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
aic.h(39): warning: #47-D: incompatible redefinition of macro "AT91C_ALL_INT" (declared at line 2847 of "C:\Keil\ARM\Inc\Atmel\SAM7X\AT91SAM7X256.H")
C:\Keil\ARM\RV31\Inc\RTL.h(39): error: #240: duplicate specifier in declaration
C:\Keil\ARM\RV31\Inc\RTL.h(39): error: #84: invalid combination of type specifiers
C:\Keil\ARM\RV31\Inc\RTL.h(41): error: #240: duplicate specifier in declaration
C:\Keil\ARM\RV31\Inc\RTL.h(41): error: #240: duplicate specifier in declaration
C:\Keil\ARM\RV31\Inc\RTL.h(43): error: #240: duplicate specifier in declaration
TASK.c(46): warning: #550-D: variable "status" was set but never used
TASK.c(78): warning: #223-D: function "MainTask" declared implicitly
TASK.c(105): warning: #223-D: function "e2p_write_byte" declared implicitly
TASK.c(102): warning: #177-D: variable "p" was declared but never referenced
TASK.c(131): warning: #9-D: nested comment is not allowed
TASK.c(148): warning: #167-D: argument of type "void *" is incompatible with parameter of type "void (*)()"
compiling GUI_X_Touch.c...
uCGUI\GUI_X_Touch.c(40): warning: #940-D: missing return statement at end of non-void function "GUI_TOUCH_X_MeasureX"
uCGUI\GUI_X_Touch.c(52): warning: #940-D: missing return statement at end of non-void function "GUI_TOUCH_X_MeasureY"
uCGUI\GUI_X_Touch.c(65): warning: #223-D: function "__get_touch" declared implicitly
compiling GUI_TFT.c...
Driver\GUI_TFT.c(39): warning: #940-D: missing return statement at end of non-void function "LCD_L0_GetDevFunc"
Driver\GUI_TFT.c(59): warning: #223-D: function "tftlcd_read_pixel" declared implicitly
Driver\GUI_TFT.c(69): warning: #223-D: function "tftlcd_read_pixel" declared implicitly
compiling GUI_X_OS.c...
Driver\GUI_X_OS.c(153): warning: #940-D: missing return statement at end of non-void function "GUI_X_GetKey"
compiling miniterm.c...
miniterm.c(156): warning: #223-D: function "_getchar" declared implicitly
miniterm.c(161): warning: #223-D: function "strncat" declared implicitly
miniterm.c(278): warning: #223-D: function "sprintf" declared implicitly
Target not created
ویرایش توسط at91sam7x256 : 13-09-2012 در ساعت 21:16
دوستان سلام.
داخل برد آموزشی IC سریال فلش موجوده که 16mb. اما مثال راه اندازی نداره. البته فک کنم تو فولدر spi باشه. اما اونم کامپایل نشد. میخواستم ببینم هیچکدوم شما راهش انداختید؟
حالا یه مورد دیگه. من میخوام تو بردم هم ds1307 داشته لاشم هم eeprom. خب جفت اینا هم i2c هستن. میخاستم ببینم از سریال فلش استفاده کنم بهتره یا همین eeprom. اگه بخام از i2c به دو تا دیوایس ds1307 و 24lc02 دیتا بدم باید چکار کنم؟ ممنونم
دوست عزیز در پروتکل i2c هر قطعه یه ادرس داره کافیه eprom رو ادرس ثابت بدی و ds رو هم یه ادرس دیگه و بتونی ازش استفاده کنی . راستی شما هم موقع استفاده از برنامه mini term مشکل منو داری ؟؟
اقای agape خبری از مشکل برنامه ما نشد ؟؟؟؟؟؟؟؟؟؟؟
با سلام خدمت مختصصین عزیز.
من برد آموزشی آرم اتمل EKE2SAM7X v3.0 خریدم و برنامه هم پروگرم کردم و تست کردم.
ولی مثال های مربوط به شبکه یعنی ماژول enc28j60 هیچ کدوم کار نمیکنه.
کابل شبکه رو وصل میکنم به Rj45 و کامپیوترم متصل نمیشه علامت ضربدر میاره رو شبکه ام.
چامپر مربوط به وقفه ENC INT رو هم متصل کردم باز نشد.
کابل هم سالمه.
لطفا راهنمایی کنید .
سلام
من این بردا با یکی از دوستام خریدیم. سی دی که ارسال شده بود مال سری lpc بود .
حالا هم دوستم رفته کربلا و شماره ی که موقع خرید سایت میده را ندارم تا ایمیل کنم.
و به شدت یه نام پایه هایی که به din وصل شدن نیاز دارم.(البته اگه شماتیک برد باشه بهتره)
لطفا کمک کنید.....
با تشکر
با سلام
آدرس ایمیل خودم و دوستم را براتون پیغام خصوصی زدم با این عنوان:
من این بردا با یکی از دوستام خریدیم(درخواست مشخصات برد sam7 -v3)
با تشکر وراوان
موید باشید
سلام
خبری نشد؟(هنوز چیزی ارسال نشده)
بابا کارم بدجور گیر کرده
با سلام
این دوستم برگشت و به فروشگاه ایمیل زدیم. مشخصات برد ارسال شد.
(البته به محض ارسال میل در عرض چند دقیقه برامون فرستادن)
البته خدمات تون خییلی عالیه. حال کردم.(اما این نوشته
مال حدود دوهفته پیش هست که هیچ جوابی ندادید)با سلاممن این بردا با یکی از دوستام خریدیم(درخواست مشخصات برد sam7 -v3)
آدرس ایمیل خودم و دوستم را براتون پیغام خصوصی زدم با این عنوان:
با تشکر وراوان
موید باشید
با این حال منون
یا علی