In order to use software safeload to write data to parameter RAM, at least three writes must be performed. First, the data is loaded into the safeload data registers (addresses 0x0001 through 0x0005), then the safeload target address register (address 0x0006), and finally the number of words / trigger register (address 0x0007). So, in order to execute a safeload write, there are at least 3 register writes that need to occur.
Single address safeload write
For example, if I wanted to write one word of data to address 0x000B…
There are 3 total writes:
This will trigger the safeload write on the next frame.
Note that the target address is actually shifted down by one, as mentioned in the datasheets for devices using software safeload. So, even though I’m writing to address 0x000B, I write 0x000A to the target address register.
Multiple address safeload write
Here’s another example, where I will write 3 words of data instead of 1 word. The target addresses for the 3 words of data are 0x001C, 0x001D, and 0x001E.
There are 5 total writes:
Note that multi-word safeload writes can only be accomplished when the target addresses are sequential.
This FAQ was generated from the following discussion: Software safeload examples