making BDM operation in S12XET256

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

making BDM operation in S12XET256

跳至解决方案
1,381 次查看
kwangho
Contributor I

My customer want to down load Srecord from Mater MCU(S12XET256) to Slave MCU(S12DG128) by BKGD pin.
So, They  connected Two MCU as below.

Master MCU                      Slave MCU

PortA1          <------>             BKGD
PortA2          <------>             Reset

Only two pin used.
Then, they used OSBDM(open source BDM) source code.( for two pin used, they changed some code) In writing operation, Flash memory writing is not good work. But, Ram memory writing is good work.( reading operation is good ) First question, Do they need flash writing algorithm down load at ram memory before write command execution?
Second question, Could you help or recommend in this customer try?

标签 (1)
0 项奖励
回复
1 解答
340 次查看
pgo
Senior Contributor V

Dear kwangho,

 

The OSBDM software does not include Flash programming so to answer your question it would be necessary to download the Flash programming code to the target RAM and have that code do the actual Flash programming.  The dat/code to program into the Flash would also be downloaded to the RAM.

 

The required Flash programming algorithm would be descibed in the target user manual.

 

bye

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
341 次查看
pgo
Senior Contributor V

Dear kwangho,

 

The OSBDM software does not include Flash programming so to answer your question it would be necessary to download the Flash programming code to the target RAM and have that code do the actual Flash programming.  The dat/code to program into the Flash would also be downloaded to the RAM.

 

The required Flash programming algorithm would be descibed in the target user manual.

 

bye

 

0 项奖励
回复