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




Re: 如何自製燒錄線路及程式?
#1
新會員
新會員


To me84108:

Thank you so much, that is what I want.

Yeah!!! The more things I do, the more troubles I have
to facing....

Right now, one serious problem that I have to understand,, but I am not sure whether my thought is
right or not:

since the IC on the target board is blank one, that is, it can not do anything, and only receive data (by RB7) and accompany with clock (RB6). So I have to transfer the data by certain format and instractions.

I read programming specification for this, It told me the TABLE POINTER command, the format, is that:

the original format is: (from P6 of DS39576B)

Table write (4 bits command ) +Data payload (16 bits)
1101 3C40

And once it is transfering, should be convert to:
1011 0000 0010 0011 1100

-------------------------------------------------
So, one of my question is the relationship between 'Data payload ' and one line in the hex file.

such as:

:0C02F400FF30860083168500860183120F (From P22 of DS00732A)

1) '02F4' is address (for TBLPTRU, TBLPTRH, TBLPTRL)
'FF3086008316850086018312' is data payload,
correct? I am not sure.....

2) Do I need to change the position of each bit when I
pass this data into target board through my 'ICD'.


Thanks for all your help.








發表於: 2005/12/1 0:34
頂部


Re: 如何自製燒錄線路及程式?
#2
新會員
新會員


To me84108:

Thanks for your reply.

Actually, I just want to try how to build a programmer
by myself, currently, I have a CCS ICD-U40.
personally, it should be easy to make, but I do not know so far.

by the way, I'v already read some information about Bootloader, they let me know many fresh things.

Currently, I am reading 'Flash microcontroller Programming specification for pic18f', but I still do not know how to use the famous command - TABLE POINTER, to control target board by my-ICD, that is, Once I get one line Hex code, how to transfer this to target board using table write....

Anyway, Thanks for your help.

發表於: 2005/11/30 10:05
頂部


Re: 如何自製燒錄線路及程式?
#3
新會員
新會員


39576b.pdf

I read this file already, but I still do not know how to do.

please help me~~~~

All table commands are 4 bits Instruction, such
as : '1100' is Table write, and folowing 16 bits Data
Payload, but I donot know what should I put into this
16 bits? Is it from Hex file?

So, can you give me a simple example?

Thanks a lot!參照:

Ryang 寫道:
PIC16 與 PIC18 的燒錄方式是不一樣的,PIC16直接送串列的燒錄資料而PIC18要送Table Write Command 的方式來燒錄。
這樣說吧! PIC18 的燒錄比較複雜。

有興趣可參考燒錄的規格,如下所示:

dsPIC : http://ww1.microchip.com/downloads/en/DeviceDoc/70102d.pdf

PIC18Fxxxx :
http://ww1.microchip.com/downloads/en/DeviceDoc/39576b.pdf

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






:::

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

教育訓練中心

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