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




Re: 請問版大,關於C語言的Bootloader
#21
初級會員
初級會員


PLS~~~
版主大人~~我也需要~~^^
alexku1125@yahoo.com.tw

發表於: 2010/1/10 3:59
頂部


PCC-18 compiler的程式記憶體堆疊的問題
#22
初級會員
初級會員


各位大大好:
我用PICC-18 compiler的hex檔,都是由程式記憶體最後端開始編寫的,請問要怎麼使程式在compiler時可以由程式記憶體前面開始編寫???
EX:
PICC-18 compiler PIC18F8722,hex檔都是由0x01fffe開始往上堆疊,但我想讓程式由0x000018開始堆疊,請問怎麼寫??

發表於: 2010/1/9 14:26
頂部


PIC18F8722的configure設定跟專案外加C檔問題,使用c18 compiler
#23
初級會員
初級會員


大大門好:
1.請問我要在哪裡知道每個config bit的設定名稱,例如:
#pragma config OSC=HS ,若要設定其他的檔位(內振,外灌CLK...)或是其他的config bit(WDT...)名稱在哪裡可以查詢到??(p18f8722.h內沒有!!,datasheet裡僅介紹沒有說簡稱名子!!)

2.我要在專案裡加入其他的C檔案,請問我要怎麼寫,目前我寫的方式是在 man.c檔案裡寫
#include <p18f8722.h>
#include <delays.h>
#include "123.h"

#pragma config OSC=HS
#pragma config PWRT=OFF
#pragma config WDT=OFF
#pragma config DEBUG=OFF

void main (void);



void main()
{
.
.
.
}

123.h檔案中寫
extern void data_matrix ();

然後在123.c中寫
#include <p18f8722.h>
#include "HEX_data.h"
void data_matrix ()
{
.
.
.
}
這樣在不行,請問要怎麼寫呢??(之前都用hi-tech寫的,現在想轉成C18)

發表於: 2010/1/9 14:16
頂部



« 1 2 (3)



:::

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

教育訓練中心

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