Open hakehuang opened 4 months ago
@hakehuang This looks to be related to a change to the flash configuration block with JLink. We have changed the flash configuration block with the MCUX SDK update, and while the new flash configuration block is valid it causes JLink's flashing tooling to throw an error during the verify phase (as the flash device is configured with a new read setting)
I still am able to flash the EVK, but JLink reports an error. If I manually reset the EVK though I can see that the new image has loaded.
@hakehuang This looks to be related to a change to the flash configuration block with JLink. We have changed the flash configuration block with the MCUX SDK update, and while the new flash configuration block is valid it causes JLink's flashing tooling to throw an error during the verify phase (as the flash device is configured with a new read setting)
I still am able to flash the EVK, but JLink reports an error. If I manually reset the EVK though I can see that the new image has loaded.
Yes, this is exactly the same with me.
Yes, this is exactly the same with me.
From more investigation, I suspect this issue is with JLink's interaction with MCUX SDK 2.15. I can reproduce it in SDK applications not using Zephyr, so I think the fix will have to come from our SDK or SEGGER.
do we need to push an bug report to Segger?
From more investigation, I suspect this issue is with JLink's interaction with MCUX SDK 2.15. I can reproduce it in SDK applications not using Zephyr, so I think the fix will have to come from our SDK or SEGGER.
We have- we should leave this issue open, but the bug is being tracked internally
An issue was submitted to Segger and we are awaiting an update from them. Will lower the priority to low
Describe the bug mimxrt1160_evk/mimxrt1166/cm7 : can't continues flash, always report verifing image fails.
Please also mention any information which could help others to understand the problem you're facing:
To Reproduce Steps to reproduce the behavior: use onboard Jlinker debuger
west build -b mimxrt1160_evk/mimxrt1166/cm7 samples/hello_world west flash --runner=jlink
do above twice you will see belowgit bisect found this is related to HAL upgrading
Expected behavior can continues flashing
Impact Testing
Logs and console output no log output when this happen
Environment (please complete the following information):