Device with MK22FN1M0VLQ12 resetting loop after working for some time

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Device with MK22FN1M0VLQ12 resetting loop after working for some time

407 次查看
Rigolon
Contributor II

Hi guys,

I have a device that runs on a MK22FN1M0VLQ12.

The thing is that after working for some time it starts to get stuck on a reset loop at startup.
First i thought it was a problem with corrupted flash memory (the application saves logs in the flash). I used a ping-pong strategy to resolve that.
But some devices returned with a similar problem. I tried to debug one of the devices and without setting any breakpoint it always stops at ASerialLDD2_Init or IntFlashLdd1_Erase, both are functions generated by processor expert. Other devices I used memory dump and was able to see that the memory was indeed corrupted so that's why I fixed how I use the FLASH.

Other important note is that some times it happens after some months, other almost after a year. Also i have devices installed over a year and a half that are running ok.

Other thing is that I tried to memory dump (with usbdm) this device, and trying to read the same address, sometimes it reads fine, and sometimes it returns ARM Transation Fault.

Anyone seem anything like that?

0 项奖励
回复
5 回复数

351 次查看
Rigolon
Contributor II

Thank you for the reply

I will look into it, as the problem is happening at a time that coincides with a memory reading command. Although there's a pin that is setting HIGH when it should not. This pin is initialized as a LOW output.

That being said, is there something that would explain why it was pausing in those function while debugging? Before the reading command the only time ASerialLDD2_Init() is called is within PE_low_level_init().
I am using a PE Micro multilink to debug.

0 项奖励
回复

259 次查看
db16122
Contributor IV

how about the failing rate?If the failing rate is higher than 50%,please share the error log for further analysis.

Meanwhile does your application have requirement to program and erase internal flash very often?

0 项奖励
回复

262 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @Rigolon ,

Thanks for the additional details. The debugger halting at ASerialLDD2_Init or IntFlashLdd1_Erase without a breakpoint is a strong indicator that a fault (e.g., HardFault or BusFault) is occurring, not that execution is actually reaching those functions normally. A likely cause is corruption in the vector table region of Flash, if the fault handler vectors are corrupted, the MCU may jump to an incorrect address that happens to land near those PE-generated functions.

You can check the HFSR、CFSR、BFAR、MMFAR registers. 

And you can also refer to the way in How to debug a HardFault on an ARM Cortex-M MCU | Interrupt to verify whether it is indeed a Hard Fault.

Hope it helps.

BR

Celeste

0 项奖励
回复

355 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @Rigolon ,

Thanks for your post.

I think this looks more like a Flash-operation-related fault or Flash-content corruption issue, rather than an issue in ASerialLDD2_Init or IntFlashLdd1_Erase themselves. The RM states that if the MCU reads an FTFE resource while it is being manipulated by an active Flash command, FSTAT[RDCOLERR] is set, and the read data is not guaranteed.

You can refer to AN4835 , it also says:" Interruption of an erase or program command can lead to corruption of the flash contents. Interruptions could include reset, loss of power, or a conflict with code running on processor."  This matches the observation that reading the same address sometimes succeeds and sometimes returns an ARM Transaction Fault : if a Flash region is corrupted or in an indeterminate state, reading it may trigger a bus fault; in similar cases, erasing the affected sector, or mass erase if needed, is used to recover the Flash array. Please refer to Solved: Find corruption on internal Flash MK22FX512VLH12 - NXP Community for more details.

Hope it helps.

BR

Celeste

 

0 项奖励
回复

344 次查看
Rigolon
Contributor II
Thank you for the reply

I will look into it, as the problem is happening at a time that coincides with a memory reading command. Although there's a pin that is setting HIGH when it should not. This pin is initialized as a LOW output.

That being said, is there something that would explain why it was pausing in those function while debugging? Before the reading command the only time ASerialLDD2_Init() is called is within PE_low_level_init().
I am using a PE Micro multilink to debug.
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2403386%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E8%AE%BE%E5%A4%87%EF%BC%88%E5%9E%8B%E5%8F%B7%E4%B8%BA%20MK22FN1M0VLQ12%EF%BC%89%E5%B7%A5%E4%BD%9C%E4%B8%80%E6%AE%B5%E6%97%B6%E9%97%B4%E5%90%8E%E5%87%BA%E7%8E%B0%E5%A4%8D%E4%BD%8D%E5%BE%AA%E7%8E%AF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403386%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%E5%A4%A7%E5%AE%B6%E5%A5%BD%EF%BC%8C%3C%2F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6%B2%A1%E6%9C%89%E8%AE%BE%E7%BD%AE%E4%BB%BB%E4%BD%95%E6%96%AD%E7%82%B9%EF%BC%8C%E5%AE%83%E6%80%BB%E6%98%AF%E5%9C%A8%20ASerialLDD2_Init%20%E6%88%96%20IntFlashLdd1_Erase%20%E5%A4%84%E5%81%9C%E6%AD%A2%EF%BC%8C%E8%BF%99%E4%B8%A4%E4%B8%AA%E5%87%BD%E6%95%B0%E9%83%BD%E6%98%AF%E7%94%B1%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%93%E5%AE%B6%E7%94%9F%E6%88%90%E7%9A%84%E3%80%82%E6%88%91%E7%94%A8%E5%86%85%E5%AD%98%E8%BD%AC%E5%82%A8%E5%8A%9F%E8%83%BD%E6%A3%80%E6%9F%A5%E4%BA%86%E5%85%B6%E4%BB%96%E8%AE%BE%E5%A4%87%EF%BC%8C%E5%8F%91%E7%8E%B0%E5%86%85%E5%AD%98%E7%A1%AE%E5%AE%9E%E6%8D%9F%E5%9D%8F%E4%BA%86%EF%BC%8C%E6%89%80%E4%BB%A5%E6%88%91%E5%B0%B1%E4%BF%AE%E5%A4%8D%E4%BA%86%E9%97%AA%E5%AD%98%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%8F%A6%E4%B8%80%E7%82%B9%E9%9C%80%E8%A6%81%E6%B3%A8%E6%84%8F%E7%9A%84%E6%98%AF%EF%BC%8C%E6%9C%89%E6%97%B6%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%E4%BC%9A%E5%9C%A8%E5%87%A0%E4%B8%AA%E6%9C%88%E5%90%8E%E5%8F%91%E7%94%9F%EF%BC%8C%E6%9C%89%E6%97%B6%E5%88%99%E4%BC%9A%E5%9C%A8%E4%B8%80%E5%B9%B4%E5%90%8E%E5%8F%91%E7%94%9F%E3%80%82%E5%8F%A6%E5%A4%96%EF%BC%8C%E6%88%91%E8%BF%98%E6%9C%89%E4%B8%80%E4%BA%9B%E8%AE%BE%E5%A4%87%E5%B7%B2%E7%BB%8F%E5%AE%89%E8%A3%85%E4%BA%86%E4%B8%80%E5%B9%B4%E5%8D%8A%E4%BB%A5%E4%B8%8A%EF%BC%8C%E7%9B%AE%E5%89%8D%E8%BF%90%E8%A1%8C%E6%AD%A3%E5%B8%B8%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%8F%A6%E5%A4%96%EF%BC%8C%E6%88%91%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20usbdm%20%E5%AF%B9%E8%AF%A5%E8%AE%BE%E5%A4%87%E8%BF%9B%E8%A1%8C%E5%86%85%E5%AD%98%E8%BD%AC%E5%82%A8%EF%BC%8C%E5%B9%B6%E5%B0%9D%E8%AF%95%E8%AF%BB%E5%8F%96%E7%9B%B8%E5%90%8C%E7%9A%84%E5%9C%B0%E5%9D%80%EF%BC%8C%E6%9C%89%E6%97%B6%E8%AF%BB%E5%8F%96%E6%AD%A3%E5%B8%B8%EF%BC%8C%E6%9C%89%E6%97%B6%E8%BF%94%E5%9B%9E%20ARM%20%E4%BA%8B%E5%8A%A1%E9%94%99%E8%AF%AF%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%9C%89%E4%BA%BA%E9%81%87%E5%88%B0%E8%BF%87%E7%B1%BB%E4%BC%BC%E7%9A%84%E6%83%85%E5%86%B5%E5%90%97%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2404310%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Device%20with%20MK22FN1M0VLQ12%20resetting%20loop%20after%20working%20for%20some%20time%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2404310%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E8%B0%A2%E8%B0%A2%E4%BD%A0%E7%9A%84%E5%9B%9E%E5%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C%8CASerialLDD2_Init()%20%E4%BB%85%E5%9C%A8%20PE_low_level_init()%20%E4%B8%AD%E8%A2%AB%E8%B0%83%E7%94%A8%E3%80%82%3CBR%20%2F%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8PE%20Micro%E5%A4%9A%E9%93%BE%E8%B7%AF%E8%BF%9B%E8%A1%8C%E8%B0%83%E8%AF%95%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2404245%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Device%20with%20MK22FN1M0VLQ12%20resetting%20loop%20after%20working%20for%20some%20time%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2404245%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E4%BD%A0%E7%9A%84%E5%9B%9E%E5%A4%8D%3C%2FP%3E%3CP%3E%E6%88%91%E4%BC%9A%E8%B0%83%E6%9F%A5%E4%B8%80%E4%B8%8B%EF%BC%8C%E5%9B%A0%E4%B8%BA%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E5%8F%91%E7%94%9F%E7%9A%84%E6%97%B6%E9%97%B4%E6%81%B0%E5%A5%BD%E4%B8%8E%E5%86%85%E5%AD%98%E8%AF%BB%E5%8F%96%E5%91%BD%E4%BB%A4%E7%9A%84%E6%97%B6%E9%97%B4%E9%87%8D%E5%90%88%E3%80%82%E8%99%BD%E7%84%B6%E6%9C%89%E4%B8%80%E4%B8%AA%E5%BC%95%E8%84%9A%E5%9C%A8%E4%B8%8D%E5%BA%94%E8%AF%A5%E7%BD%AE%E4%B8%BA%E9%AB%98%E7%94%B5%E5%B9%B3%E7%9A%84%E6%97%B6%E5%80%99%E7%BD%AE%E4%B8%BA%E9%AB%98%E7%94%B5%E5%B9%B3%E3%80%82%E8%AF%A5%E5%BC%95%E8%84%9A%E5%88%9D%E5%A7%8B%E5%8C%96%E4%B8%BA%E4%BD%8E%E7%94%B5%E5%B9%B3%E8%BE%93%E5%87%BA%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E4%B9%9F%E5%B0%B1%E6%98%AF%E8%AF%B4%EF%BC%8C%E5%9C%A8%E8%B0%83%E8%AF%95%E8%BF%87%E7%A8%8B%E4%B8%AD%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BB%80%E4%B9%88%E5%8E%9F%E5%9B%A0%E5%8F%AF%E4%BB%A5%E8%A7%A3%E9%87%8A%E4%B8%BA%E4%BB%80%E4%B9%88%E5%AE%83%E4%BC%9A%E5%9C%A8%E8%BF%99%E4%BA%9B%E5%87%BD%E6%95%B0%E5%A4%84%E6%9A%82%E5%81%9C%EF%BC%9F%E5%9C%A8%E8%AF%BB%E5%8F%96%E5%91%BD%E4%BB%A4%E4%B9%8B%E5%89%8D%3CSPAN%3E%EF%BC%8CASerialLDD2_Init()%20%E4%BB%85%E5%9C%A8%20PE_low_level_init()%20%E4%B8%AD%E8%A2%AB%E8%B0%83%E7%94%A8%E3%80%82%3CBR%20%2F%3E%3C%2FSPAN%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8PE%20Micro%E5%A4%9A%E9%93%BE%E8%B7%AF%E8%BF%9B%E8%A1%8C%E8%B0%83%E8%AF%95%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2404127%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Device%20with%20MK22FN1M0VLQ12%20resetting%20loop%20after%20working%20for%20some%20time%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2404127%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238744%22%20target%3D%22_blank%22%3E%40Rigolon%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E6%84%9F%E8%B0%A2%E4%BD%A0%E7%9A%84%E5%B8%96%E5%AD%90%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%88%91%E8%AE%A4%E4%B8%BA%E8%BF%99%E6%9B%B4%E5%83%8F%E6%98%AF%20Flash%20%E6%93%8D%E4%BD%9C%E7%9B%B8%E5%85%B3%E7%9A%84%E6%95%85%E9%9A%9C%E6%88%96%20Flash%20%E5%86%85%E5%AE%B9%E6%8D%9F%E5%9D%8F%E9%97%AE%E9%A2%98%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%AF%20ASerialLDD2_Init%20%E6%88%96%20IntFlashLdd1_Erase%20%E6%9C%AC%E8%BA%AB%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82RM%20%E6%8C%87%E5%87%BA%EF%BC%8C%E5%A6%82%E6%9E%9C%20MCU%20%E5%9C%A8%E5%8F%97%E5%88%B0%E6%B4%BB%E5%8A%A8%E7%9A%84%20Flash%20%E5%91%BD%E4%BB%A4%E6%93%8D%E4%BD%9C%E6%97%B6%E8%AF%BB%E5%8F%96%20FTFE%20%E8%B5%84%E6%BA%90%EF%BC%8C%E5%88%99%E4%BC%9A%E8%AE%BE%E7%BD%AE%20FSTAT%5BRDCOLERR%5D%EF%BC%8C%E5%B9%B6%E4%B8%94%E6%97%A0%E6%B3%95%E4%BF%9D%E8%AF%81%E8%AF%BB%E5%8F%96%E7%9A%84%E6%95%B0%E6%8D%AE%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4835.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20no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%BC%BC%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E6%93%A6%E9%99%A4%E5%8F%97%E5%BD%B1%E5%93%8D%E7%9A%84%E6%89%87%E5%8C%BA%EF%BC%8C%E6%88%96%E5%9C%A8%E5%BF%85%E8%A6%81%E6%97%B6%E8%BF%9B%E8%A1%8C%E6%89%B9%E9%87%8F%E6%93%A6%E9%99%A4%EF%BC%8C%E7%94%A8%E4%BA%8E%E6%81%A2%E5%A4%8D%20Flash%20%E9%98%B5%E5%88%97%E3%80%82%E8%AF%B7%E5%8F%82%E9%98%85%E2%80%9C%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FKinetis-Microcontrollers%2FFind-corruption-on-internal-Flash-MK22FX512VLH12%2Ftd-p%2F509207%22%20target%3D%22_self%22%3E%E5%B7%B2%E8%A7%A3%E5%86%B3%EF%BC%9A%E6%9F%A5%E6%89%BE%E5%86%85%E9%83%A8%20Flash%20MK22FX512VLH12%20%E7%9A%84%E6%8D%9F%E5%9D%8F%20-%20NXP%20%E7%A4%BE%E5%8C%BA%E2%80%9D%3C%2FA%3E%E4%BA%86%E8%A7%A3%E6%9B%B4%E5%A4%9A%E8%AF%A6%E6%83%85%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E5%AF%B9%E6%82%A8%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3E%E5%A1%9E%E8%8E%B1%E6%96%AF%E7%89%B9%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2405977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Device%20with%20MK22FN1M0VLQ12%20resetting%20loop%20after%20working%20for%20some%20time%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2405977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A4%B1%E8%B4%A5%E7%8E%87%E5%A6%82%E4%BD%95%EF%BC%9F%E5%A6%82%E6%9E%9C%E5%A4%B1%E8%B4%A5%E7%8E%87%E9%AB%98%E4%BA%8E%2050%25%EF%BC%8C%E8%AF%B7%E6%8F%90%E4%BE%9B%E9%94%99%E8%AF%AF%E6%97%A5%E5%BF%97%E4%BB%A5%E4%BE%BF%E8%BF%9B%E4%B8%80%E6%AD%A5%E5%88%86%E6%9E%90%E3%80%82%3C%2FP%3E%3CP%3E%E5%90%8C%E6%97%B6%EF%BC%8C%E6%82%A8%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E9%A2%91%E7%B9%81%E5%9C%B0%E5%AF%B9%E5%86%85%E9%83%A8%E9%97%AA%E5%AD%98%E8%BF%9B%E8%A1%8C%E7%BC%96%E7%A8%8B%E5%92%8C%E6%93%A6%E9%99%A4%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2405973%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Device%20with%20MK22FN1M0VLQ12%20resetting%20loop%20after%20working%20for%20some%20time%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2405973%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238744%22%20target%3D%22_blank%22%3E%40Rigolon%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E6%8F%90%E4%BE%9B%E7%9A%84%E6%9B%B4%E5%A4%9A%E7%BB%86%E8%8A%82%E3%80%82%E5%A6%82%E6%9E%9C%E8%B0%83%E8%AF%95%E5%99%A8%E5%9C%A8%E6%B2%A1%E6%9C%89%E6%96%AD%E7%82%B9%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E5%9C%A8%20ASerialLDD2_Init%20%E6%88%96%20IntFlashLdd1_Erase%20%E5%A4%84%E5%81%9C%E6%AD%A2%EF%BC%8C%E5%88%99%E5%BC%BA%E7%83%88%E8%A1%A8%E6%98%8E%E5%8F%91%E7%94%9F%E4%BA%86%3CA%20href%3D%22https%3A%2F%2Fkb.segger.com%2FCortex-M_Fault%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E6%95%85%E9%9A%9C%3C%2FA%3E%EF%BC%88%E4%BE%8B%E5%A6%82%20HardFault%20%E6%88%96%20BusFault%EF%BC%89%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%AF%E8%A1%A8%E7%A4%BA%E6%89%A7%E8%A1%8C%E5%AE%9E%E9%99%85%E4%B8%8A%E6%AD%A3%E5%B8%B8%E5%88%B0%E8%BE%BE%E4%BA%86%E8%BF%99%E4%BA%9B%E5%87%BD%E6%95%B0%E3%80%82%E4%B8%80%E4%B8%AA%E5%8F%AF%E8%83%BD%E7%9A%84%E5%8E%9F%E5%9B%A0%E6%98%AF%20Flash%20%E7%9A%84%E5%90%91%E9%87%8F%E8%A1%A8%E5%8C%BA%E5%9F%9F%E6%8D%9F%E5%9D%8F%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%95%85%E9%9A%9C%E5%A4%84%E7%90%86%E5%90%91%E9%87%8F%E6%8D%9F%E5%9D%8F%EF%BC%8CMCU%20%E5%8F%AF%E8%83%BD%E4%BC%9A%E8%B7%B3%E8%BD%AC%E5%88%B0%E9%94%99%E8%AF%AF%E7%9A%84%E5%9C%B0%E5%9D%80%EF%BC%8C%E8%80%8C%E8%AF%A5%E5%9C%B0%E5%9D%80%E6%81%B0%E5%A5%BD%E8%90%BD%E5%9C%A8%20PE%20%E7%94%9F%E6%88%90%E7%9A%84%E5%87%BD%E6%95%B0%E9%99%84%E8%BF%91%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%9F%A5%E7%9C%8B%20HFSR%E3%80%81CFSR%E3%80%81BFAR%20%E5%92%8C%20MMFAR%20%E5%AF%84%E5%AD%98%E5%99%A8%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E8%BF%98%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%3CA%20href%3D%22https%3A%2F%2Finterrupt.memfault.com%2Fblog%2Fcortex-m-hardfault-debug%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E2%80%9C%E5%A6%82%E4%BD%95%E5%9C%A8%20ARM%20Cortex-M%20MCU%20%E4%B8%8A%E8%B0%83%E8%AF%95%20HardFault%20%7C%20%E4%B8%AD%E6%96%AD%E2%80%9D%3C%2FA%3E%E4%B8%AD%E7%9A%84%E6%96%B9%E6%B3%95%EF%BC%8C%E6%9D%A5%E9%AA%8C%E8%AF%81%E5%AE%83%E6%98%AF%E5%90%A6%E7%A1%AE%E5%AE%9E%E6%98%AF%20HardFault%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E5%AF%B9%E6%82%A8%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3E%E5%A1%9E%E8%8E%B1%E6%96%AF%E7%89%B9%3C%2FP%3E%3C%2FLINGO-BODY%3E