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,419 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
Reply
1 Solution
378 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
Reply
1 Reply
379 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
Reply