Hi there,
Recently, I am using JFlash to program my MCU MSPM0L1306.
In our design, we want to preserve some data in some sectors. For example, we want the sector 0-1 (total 2) not to be erased during the later firmware flash. So we created multiple JFlash projects which specify different sectors in each project.
However, when we practice on that, we realize that even we try to operate "erase selected sectors", the flash always get erased at 0x0-0x37FF or 0x0-0x3BFF whatever.
It that a bug, or some limitation of JFlash loader? I attached my project file (which is user app, but similar). The log indicated the sectors are selected correctly (15 of 64 sectors selected, 2 ranges, 0x4000 - 0x77FF, 0x41C00000 - 0x41C001FF), but actual erase happened on 0x0-0x37FF. I verified this by immediate entire chip read after the erase.
Thanks!
Recently, I am using JFlash to program my MCU MSPM0L1306.
In our design, we want to preserve some data in some sectors. For example, we want the sector 0-1 (total 2) not to be erased during the later firmware flash. So we created multiple JFlash projects which specify different sectors in each project.
However, when we practice on that, we realize that even we try to operate "erase selected sectors", the flash always get erased at 0x0-0x37FF or 0x0-0x3BFF whatever.
It that a bug, or some limitation of JFlash loader? I attached my project file (which is user app, but similar). The log indicated the sectors are selected correctly (15 of 64 sectors selected, 2 ranges, 0x4000 - 0x77FF, 0x41C00000 - 0x41C001FF), but actual erase happened on 0x0-0x37FF. I verified this by immediate entire chip read after the erase.
Thanks!