BDM: WRITE_BYTE/WRITE_BD_BYTE question

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

BDM: WRITE_BYTE/WRITE_BD_BYTE question

1,280 Views
pittbull
Contributor III
Hello,

I'm currently working on my own BDM communication module from one S12X to another...
The protocol works fine, until now I can read and write on-chip registers and the RAM area.
But I'm a little bit confused about the WRITE_BYTE and WRITE_BD_BYTE commands.

In the document they are described as following:
>> Write to memory with standard BDM firmware lookup table in map.
>> Odd address data on low byte; even address data on high byte.

So what should I do to write a single byte without affecting its neighbour?

Thanks in advance,
-> pittbull
0 Kudos
1 Reply

356 Views
pittbull
Contributor III
Hi again,
The problem is solved :smileywink:
Even those commands need two bytes instead of one, the neighbour byte is not overwritten...
0 Kudos