- Is there any HW difference in the PCBs?
Customer did not know of any change in the PCBs.
- Could you scope the reset_b pin (PTA5)?
reset_b pin is okay.
- Is it possible that the MCU is held in reset externally?
There is only this MCU.
- For example, by charging a capacitor on the reset_b pin.
There is an RC combination for this pin. pullup R=4k7 and C=1nF.
C should be pretty fast charged up. Is later pulled low by programmer.
- Can you read the MDM-AP Status Flash memory ready bit as well while reading the system reset bit?
This flag is read later to check if Flash is okay. But in that loop? Maybe I did once. If I remember correctly there was no change, meaning reset came first and flash flag is ready much later.
Meanwhile I did some more tests.
I think there is no difference between these MCU variants because now I can reproduce the behaviour with them both.
Now it depending on whether the Flash was erased before or not.
If erased then the loop waiting for reset flag is always stuck.
But if programmed before then there was this random behaviour with 25% stuck but 75% okay.