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?

跳至解决方案
849 次查看
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 解答
749 次查看
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 回复
750 次查看
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 项奖励
回复