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

論壇索引


Board index » All Posts




Re: 為何APP0001板之RS-232收不到資料?
初級會員
初級會員


附上main.h的資料


//* 宣告所使用的含入檔
//***********************************************************
#include <p18f452.h>
#include <delays.h>
#include <stdlib.h>
#include <string.h>
#include <timers.h>
#include <i2c.h>
#include <adc.h>
#include <usart.h>


//* 函數原型宣告
//***********************************************************

// Declaration file for Main.c related subroutines
void LCD_Temp_Update(void) ;
void VT_100_Update(void );
void Print_Temperature(int Data);
void Print_Byte(unsigned char Byte);
void EEPROM_Update(void);
void EE_Write (unsigned char, unsigned char);
unsigned char EE_Read (unsigned char);
void isr_high_direct(void);
void isr_high(void);
void isr_low_direct(void);
void isr_low(void);


// Declaration file for Init_MCU.c related subroutines

void InitializePORT(void) ;
void InitializeTMR1(void) ;
void InitializeINTs(void) ;
void InitializeAD(void) ;
void InitializeUSART(void );
void Initialize_I2C_Master(void);

// Declaration file for WAP_LCD.c related subroutines

void OpenLCD (void) ;
void WriteCmdLCD ( unsigned char ) ;
void WriteDataLCD( unsigned char ) ;
void putsLCD( char * ) ;
void putrsLCD( const rom char * ) ;
void putcLCD( unsigned char ) ;
void puthexLCD( unsigned char ) ;
void LCD_Set_Cursor( unsigned char , unsigned char ) ;
void LCD_CMD_W_Timing( void ) ;
void LCD_L_Delay( void ) ;
void LCD_S_Delay( void ) ;
void LCD_DAT_W_Timing ( void ) ;

// Declaration file for Read_Temp.c related subroutines

unsigned Read_TC74_Temperature(void) ;
int Read_TC1047_Temperature( void);

// Declaration file for VT100.c related subroutines

void VT100_puthex(unsigned char);
void VT100_Fill_Screen(unsigned char);
void InitializeVT100(void);
void VT100_ESC(void);
void VT100_Clear_Screen(void);
void VT100_Clear_Right (void );
void VT100_Clear_Line (void);
void VT100_Cursor_Up (unsigned char Xn);
void VT100_Cursor_Down (unsigned char Xn);
void VT100_Cursor_Right (unsigned char Yn);
void VT100_Cursor_Left (unsigned char Yn);
void VT100_Cursor_Position (unsigned char Xn, unsigned char Yn);
void VT100_Cursor_Index (void);
void VT100_Cursor_R_Index (void);
void VT100_Cursor_Home (void);
void VT100_Cursor_N_Line (void);

// Declaration file for Rec_Cmd.c related subroutines

void Rec_Cmd_Check(void);
void Modify_T2_Max(void);
void Modify_T2_Min(void);
void Cooling_Auto(void);
void Cooling_Shutdown(void);
int Get_3_Digital(void);

發表於: 2005/3/30 15:53
頂部


a strange problem using mplab 7.01
新會員
新會員


I met a strange problem, I tuned mplab 7.01 using a mature programme. But I got a fresh error that I had never met.

Error - section '.org_1' can not fit the absolute section. Section '.org_1' start=0x00000004, length=0x0000001a

Please give me a hand. Thanks a lot.

發表於: 2005/3/30 15:17
頂部


Re: 想再請教一個PIC16F54-I/P的問題..
高級會員
高級會員


感謝大大的回覆..

發表於: 2005/3/30 15:16
頂部


Re: minusone 斑主请进
版主
版主


有關於SQTP,

1、工具方面,首先,您要先有PROMATE, PROMATE II, 或者PM3。別人做的燒錄器,我不熟。
2、軟體方面,要熟知一般PIC16系列,利用ADDWF PCL來做到LOOK UP TABLE的作法。
3、要去做實驗。

真的,做了就會了。上述的先決條件您都可以滿足嗎?

實作上,我建議您先用FLASH BASED的PIC來做實驗,例如PIC16F57。可以重覆燒錄,可以做很多次實驗,自然可以體會了。

發表於: 2005/3/30 15:02
頂部


minusone 斑主请进
初級會員
初級會員


minusone
你好.虚心向你请教关于Microchip的PROMATE燒錄器中的SQTP功能。
希望你能留下MIAL或MSN QQ类的联系方式.谢谢!或者发个例程,我感激不尽!
谢谢!
我的MSN:dzyrcn@hotmail.com
E-mailL:dzyrcn@163.com
QQ:281880158

發表於: 2005/3/30 14:39
頂部


Re: 一个怪问题
初級會員
初級會員


呵呵,用单步运行,看程式跑哪去了~~
嘿嘿!

發表於: 2005/3/30 14:30
頂部


Re: 一个怪问题
初級會員
初級會員


看起來好像是WDT的問題
先查看看

發表於: 2005/3/30 12:17
頂部


一个怪问题
初級會員
初級會員


我为16F874A写的程序,超过2K,用ICD2->DEBUGGER->PROGRAM在线调试时,程序运转正常,但用PROGRAMMER->PROGRAM,并将ICD2的6PIN接口线从目标板上拔掉,目标板上的程序只能运行一小段,不知问题出在哪儿?

發表於: 2005/3/30 12:12
頂部


Re: ICD 2 用的 6 pin Connector
初級會員
初級會員


一般電子材料行
找6 Pin 的 Phone Jet

應該蠻好找的

發表於: 2005/3/30 11:51
頂部


Re: Target not in debug mode 的問題
初級會員
初級會員


根據Error Message看來

1.使用ICD2模擬,請把低電壓燒錄關掉
2.使用ICD2模擬,請把WDT關掉
3.請注意你板子上的震盪頻率,並選擇正確的震盪頻率選項

應該這樣 就可以了

發表於: 2005/3/30 11:49
頂部



« 1 ... 7165 7166 7167 (7168) 7169 7170 7171 ... 7522 »



:::

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

教育訓練中心

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