Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG
Tool/software:
Hi,
I have been observing some weird behavior with TI-15.4 stack collector/sensor based radios. When images are downloaded via UniFlash. I suspect even with settings to erase all unprotected sectors is checked, some information from previous network is left there if a radio has been previous loaded a different type of image(collector vs. sensor), or the same type of image(collector) but with different network parameters(panID, encryption).
In several instances, when collector radios that have been used in previous testing is loaded with a newer version of firmware then a different set of panID and encryption key, a sensor radio can join network but cannot send/receive data to/from those collectors. If we mass erase those collector radios via Flash Programmer 2, then re-load the same firmware images and panID and encryption key, sensor nodes all of sudden can just communicate with those collector radios just fine. After going through the open source portion of collector/sensor projects, my understand is that network joining is not encrypted. Therefore my suspecion is somehow the encryption and decryption is somehow messed up, presumably because some information from previous network on collector. I never observed such behavior if collector has been mass erased via Flash Programmer 2 or has never been used.
We can perform a separated mass erase via Flash Programmer 2 before loading image via UniFlash, but this almost doubles the amount of time to load image. I have never tested third party tools yet. It would be nice if we do both mass erase and image loading in UniFlash in one go.
Thanks,
ZL
