Can I protect certain areas of memory from being overwritten when loading through the USB Tap?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can I protect certain areas of memory from being overwritten when loading through the USB Tap?

ソリューションへジャンプ
1,214件の閲覧回数
Charlie
Contributor III

We are working with the 56800e 56f8367 chip.

 

We set up a section of memory in the linker file where we load code for an FPGA.  This is loaded through a SCI port.

 

In the Classic IDE I was using the Local Hardware Connection to load the chip and this area of the code was left untouched.  However, if I load with the USB Tap, this area of memory gets wiped out.

 

We have moved to new computers which do not have parallel ports, so I am required to use the USB Tap.  Why there is this difference and if there is anyway to avoid wiping out this memory when using the USB Tap?

 

Thanks

Charlie

ラベル(1)
0 件の賞賛
返信
1 解決策
1,114件の閲覧回数
Charlie
Contributor III

Found a solution.

In the MC56F8367.mem file, it gives the ability to define areas of memory as either readwrite or just read (maybe other things, I didn't really check).  I made those memory addresses read only.

Then when I went to download code, it would throw an error.  I assume it was doing this because it was trying to erase those memory locations and it was blocking itself.  I basically told it to ignore the error in the future and everything is running fine.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,115件の閲覧回数
Charlie
Contributor III

Found a solution.

In the MC56F8367.mem file, it gives the ability to define areas of memory as either readwrite or just read (maybe other things, I didn't really check).  I made those memory addresses read only.

Then when I went to download code, it would throw an error.  I assume it was doing this because it was trying to erase those memory locations and it was blocking itself.  I basically told it to ignore the error in the future and everything is running fine.

0 件の賞賛
返信