Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Update RFFE reprog functions #158

Open
henrique-silva opened this issue May 23, 2017 · 0 comments
Open

Update RFFE reprog functions #158

henrique-silva opened this issue May 23, 2017 · 0 comments

Comments

@henrique-silva
Copy link
Contributor

The RFFE reprog algorithm has changed lnls-dig/rffe-fw@30a1815
Now the bsmp client must send a message with 128 bytes, being the first 3 the new firmware version that is going to be uploaded in the order -> MAJOR MINOR PATCH, followed by 125 pad bytes (doesn't matter the value).
Right after, the variable Reprogramming (ID=9) must be set to 1. Then, the firmware must be uploaded in 128-bytes pages, with the last one being padded with 0xFF if necessary.
When finished, the variable Reprogramming must be set to 2, so that the RFFE can process the new file and Reset itself.

A python implementation of this routine can be found here

OBS: The reset happens automatically after processing the new firmware file, no need to set the Reset variable for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant