making BDM operation in S12XET256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

making BDM operation in S12XET256

Jump to solution
1,290 Views
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?

Labels (1)
0 Kudos
1 Solution
249 Views
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

 

View solution in original post

0 Kudos
1 Reply
250 Views
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 Kudos