Re: PIC18F4520 flash write
|
||||
---|---|---|---|---|
初級會員
|
感謝各位的回覆
有進一步的問題在請教各位 Thanks!!
發表於: 2009/3/31 0:01
|
|||
|
Re: PIC18F4520 flash write
|
||||
---|---|---|---|---|
版主
|
不建議這樣使用記憶體,PIC18F4620 最前面的 2KBytes( 0x0000~0x07FF) 是規劃給Bootloader 用的區域。一般的程式建議是從 0x0800 以後開始擺放,且也要考慮到 Hi/Low Interrup Vector 的轉移。
發表於: 2009/3/26 13:52
|
|||
|
Re: PIC18F4520 flash write
|
||||
---|---|---|---|---|
資深會員
|
你這種做法,只要一燒掛就掛了
一般的bootloader 都會將reset , interrupt vector 這些位置和 bootloader 放在一起。 自己要燒的程式才另外放到別的地方。 否則你如何確保每次 reset 都能有bootloader 可以用?
發表於: 2009/3/26 1:04
|
|||
|
Re: PIC18F4520 flash write
|
||||
---|---|---|---|---|
初級會員
|
Sorry 沒有說清楚
當開始erase all 0x0000~0x6FFF前 已經 先 disable interrupt and using polling mode來收rs-232的資料了 thanks
發表於: 2009/3/26 0:55
|
|||
|
Re: PIC18F4520 flash write
|
||||
---|---|---|---|---|
資深會員
|
interrupt vector
發表於: 2009/3/23 10:38
|
|||
The Answer to Life, the Universe, and Everything.
|
||||
|