Part Number: CC2340R5
Other Parts Discussed in Thread: UNIFLASH
Hi,
In our project, we use the CC2340r5 and we have a custom bootloader which has 60 sectors of flash dedicated to it, the application then uses the other 206 sectors of flash.
We have not been able to find a way to program only the application, while keeping the bootloader intact. When we try flashing the application hex using JFlash, it first erases the whole flash before then programming only the application, instead of only erasing the application sectors. We even tried erasing only 1 sector in JFlash, and allthough it says - Erasing range 0x4E020000 - 0x4E0207FF ( 1 Sector, 2 KB), when reading the chip aftwerward, the chip was actually completely erased.
We have tried using an XDS probe and Uniflash as well, but also do not succeed in updating only parts of the flash.
Does the CC2340r5 not allow this?
We are able to erase single sectors at runtime, the problem specifically lies in erasing with a debug probe.
Thank you in advance,
Roeland Benoot




