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?
解決済! 解決策の投稿を見る。
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
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