Part Number: CC1352R
Other Parts Discussed in Thread: UNIFLASH
Can I use Raspberry Pi as a bouder router to test OAD function. somebody others have done already?Which difference about BBB as a bouder router?
I try but no success.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
the download can finished, If the version is later then current version it may no download.
my question is when it download finish it don't update the program of chip!
like the chip what I flash is version 0.0.1,and the ota download version is 0.0.2. I think when it finish download and if it finish update then the program of chip is version 0.0.2.
But when I test the ota again it still can download again.I use the oad doorlock example.
Which SDK version are you basing the ttoad-server?
There shouldn't be any major differences between using BBB and RBPi, as long as the NCP is setup correctly then that should be sufficient.
I'm not sure I completely understand what the problem is. Correct me if I'm wrong:
You send a new image (v0.0.2) from the OAD Server to the OAD Target which is running image v0.0.1. The download succeeds and the OAD Target updates to the new image v0.0.2. Then you re-send the image again, and the OAD Target downloads the image again with the same version number?
hi Severin Suveren,
The download succeeds and the OAD Target no updates to the new image v0.0.2.
ps:if the OAD Target can update then the OAD Target's version become v0.0.2 and may no download again, because if the version is the same between OAD Server and OAD Target then download may no happen.
Is this the sequence of steps you are doing?
1. Thread End Device running image v0.0.1
2. OAD Server sends image v0.0.2 to End Device.
3. Downloaded succeeds.
4. End Device resets and now runs image v0.0.2.
5. OAD Server tries to send image v0.0.2 again to End Device.
6. End Device refuses to download image.
Am I correct?
if the device is running image v0.0.2,then the download will no happen,so I think the device is running v0.0.1.
and when the download start the OAD Server will show the OAD target version and what it show is v0.0.1.
or if you have better method to verify the image version?
That is not good enough. Please verify that it is running image v0.0.2 by doing a image dump and inspect the OAD image header in flash page 1. You should be able the see the software version in the OAD image header.
"Please verify that it is running image v0.0.2 by doing a image dump and inspect the OAD image header in flash page 1."
doing a image dump?how to read the image from cc1352r launchpod kit?
where is the flash page 1?
You can do a flash dump with Flash Programmer 2 or Uniflash. Since you are only interested in reading out the OAD Image Header which is placed at address 0x0000'0000, you can use flash programmer 2 to read out flash page 0 and inspect the bytes directly.
You need to run oad_image_tool.exe from the command line, as it is a command line tool. It is not a Graphical User Interface.