Macbook crashes when I upload a sketch

  • Macbook Pro M1 Max
  • Macos: Sequoia 15.2
  • Visual Studio Code 1.96.2
  • PlatformIO IDE 3.3.3
  • Xiao Sense microcontroller

Laptop error:

panic(cpu 1 caller 0xfffffe002b4dc404): Kernel data abort. at pc 0xfffffe002c914818, lr 0x7ed4fe002c914854 (saved state: 0xfffffe8c2323b420)
	  x0:  0x0000000000000000 x1:  0xfffffe002e589800  x2:  0xfffffe24cc2779e0  x3:  0x00000000000000e0
	  x4:  0xfffffe24cc277a40 x5:  0x0000000000000000  x6:  0x94fcfe002b3ceeec  x7:  0xfffffe002a18fa68
	  x8:  0x0000000000000000 x9:  0xfffffe1fffe2b1f0  x10: 0x0000000000002300  x11: 0x0000000000000001
	  x12: 0x0000000000000004 x13: 0xfffffe002e57fb80  x14: 0x0000000000000020  x15: 0xfffffe002e57fb80
	  x16: 0xfffffe002a18f4a0 x17: 0x1ba6fe002a18f4a0  x18: 0x0000000000000000  x19: 0xfffffe2998f24db0
	  x20: 0xfffffe8c2323b838 x21: 0xfffffe2998f24db0  x22: 0x0000000000000000  x23: 0x0000000000000001
	  x24: 0xa5aa7e002c8a80d0 x25: 0x0000000000000000  x26: 0xfffffe8c2323b8ee  x27: 0xfffffe24c5b3c150
	  x28: 0xfffffe16670422c8 fp:  0xfffffe8c2323b7f0  lr:  0x7ed4fe002c914854  sp:  0xfffffe8c2323b770
	  pc:  0xfffffe002c914818 cpsr: 0x80401208         esr: 0x0000000096000006  far: 0x0000000000000000

Debugger message: panic
Memory ID: 0x1
OS release type: User
OS version: 24C101
Kernel version: Darwin Kernel Version 24.2.0: Fri Dec  6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: 81286C61255A1EA3300E378B10C574ED
Kernel UUID: D2971138-437D-3F77-88F9-85281167A321
Boot session UUID: 5766BAE7-B260-4D25-AF80-9BD8F7BF4298
iBoot version: iBoot-11881.61.3
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x00000000224e4000
KernelCache base:  0xfffffe00294e8000
Kernel slide:      0x00000000224ec000
Kernel text base:  0xfffffe00294f0000
Kernel text exec slide: 0x0000000023c04000
Kernel text exec base:  0xfffffe002ac08000
mach_absolute_time: 0x16d7460ec4
Epoch Time:        sec       usec
  Boot    : 0x6772deb7 0x000e4934
  Sleep   : 0x6772f5ad 0x000dc98b
  Wake    : 0x6772f944 0x000787e1
  Calendar: 0x6772fb92 0x000689b3

Zone info:
  Zone map: 0xfffffe1000498000 - 0xfffffe3000498000
  . VM    : 0xfffffe1000498000 - 0xfffffe14cd164000
  . RO    : 0xfffffe14cd164000 - 0xfffffe1666afc000
  . GEN0  : 0xfffffe1666afc000 - 0xfffffe1b337c8000
  . GEN1  : 0xfffffe1b337c8000 - 0xfffffe2000494000
  . GEN2  : 0xfffffe2000494000 - 0xfffffe24cd160000
  . GEN3  : 0xfffffe24cd160000 - 0xfffffe2999e2c000
  . DATA  : 0xfffffe2999e2c000 - 0xfffffe3000498000
  Metadata: 0xfffffe57654e4000 - 0xfffffe576d4e4000
  Bitmaps : 0xfffffe576d4e4000 - 0xfffffe57731cc000
  Extra   : 0 - 0

TPIDRx_ELy = {1: 0xfffffe16678d4800  0: 0x0000000000000001  0ro: 0x000000016b7730e0 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 8 PVH locks held: None
CORE 9 PVH locks held: None
CORE 0: PC=0xfffffe002ad1de30, LR=0xfffffe002ad1c458, FP=0xfffffe8c231dba00
CORE 1 is the one that panicked. Check the full backtrace for details.
CORE 2: PC=0xfffffe002b32a5c8, LR=0xfffffe002b335e2c, FP=0xfffffe8c225d3a70
CORE 3: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c2153bed0
CORE 4: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c20f77ed0
CORE 5: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c2272fed0
CORE 6: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c21613ed0
CORE 7: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c22fcbed0
CORE 8: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c232cbed0
CORE 9: PC=0xfffffe002aca1ffc, LR=0xfffffe002aca1ffc, FP=0xfffffe8c2167fed0
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe24d0495758: 4179 pages, 4 threads: pid 3898: Python
Panicked thread: 0xfffffe16678d4800, backtrace: 0xfffffe8c2323ab60, tid: 82478
		  lr: 0xfffffe002ac64fcc  fp: 0xfffffe8c2323abf0
		  lr: 0xfffffe002adbe9cc  fp: 0xfffffe8c2323ac60
		  lr: 0xfffffe002adbcdd4  fp: 0xfffffe8c2323ad20
		  lr: 0xfffffe002ac0fb88  fp: 0xfffffe8c2323ad30
		  lr: 0xfffffe002ac648d0  fp: 0xfffffe8c2323b100
		  lr: 0xfffffe002b4d1afc  fp: 0xfffffe8c2323b120
		  lr: 0xfffffe002b4dc404  fp: 0xfffffe8c2323b2a0
		  lr: 0xfffffe002adbe834  fp: 0xfffffe8c2323b340
		  lr: 0xfffffe002adbce18  fp: 0xfffffe8c2323b400
		  lr: 0xfffffe002ac0fb88  fp: 0xfffffe8c2323b410
		  lr: 0xfffffe002c914854  fp: 0xfffffe8c2323b7f0
		  lr: 0xfffffe002c8a8148  fp: 0xfffffe8c2323b860
		  lr: 0xfffffe002b3cefe0  fp: 0xfffffe8c2323b8d0
		  lr: 0xfffffe002c8a807c  fp: 0xfffffe8c2323b900
		  lr: 0xfffffe002c966a10  fp: 0xfffffe8c2323b930
		  lr: 0xfffffe002d57c860  fp: 0xfffffe8c2323b970
		  lr: 0xfffffe002d578324  fp: 0xfffffe8c2323ba20
		  lr: 0xfffffe002ae9da38  fp: 0xfffffe8c2323ba80
		  lr: 0xfffffe002ae8d8c0  fp: 0xfffffe8c2323bca0
		  lr: 0xfffffe002b17089c  fp: 0xfffffe8c2323bce0
		  lr: 0xfffffe002b1dcdb8  fp: 0xfffffe8c2323bdf0
		  lr: 0xfffffe002b2e247c  fp: 0xfffffe8c2323be50
		  lr: 0xfffffe002adbcea0  fp: 0xfffffe8c2323bf10
		  lr: 0xfffffe002ac0fb88  fp: 0xfffffe8c2323bf20
		  lr: 0xfffffe002ac0fb50  fp: 0x0000000000000000
      Kernel Extensions in backtrace:
         com.apple.iokit.IOSerialFamily(11.0)[12E8B179-93B0-3F76-AFBD-CB8BE13B2EDB]@0xfffffe002d5770d0->0xfffffe002d57f303
         com.apple.driver.usb.cdc(5.0)[A32A3C20-F83E-3E37-BF82-A61534DC289E]@0xfffffe002c912b50->0xfffffe002c914f4b
            dependency: com.apple.driver.usb.AppleUSBHostCompositeDevice(1.2)[8B6D643A-FA48-3804-A54A-74CEF752F79D]@0xfffffe002da6c520->0xfffffe002da6fbdf
            dependency: com.apple.driver.usb.networking(5.0.0)[CB62516D-9B0E-3B03-A231-54CBD9A9C84A]@0xfffffe002c95a6d0->0xfffffe002c95d883
            dependency: com.apple.iokit.IOUSBHostFamily(1.2)[A72D6DEE-D669-3F45-A40C-75212A8F1933]@0xfffffe002d8eebb0->0xfffffe002d98f1b7
         com.apple.driver.usb.serial(6.0)[BC705891-52EE-3957-9AE1-3C2128FF0F88]@0xfffffe002c9629e0->0xfffffe002c9683bb
            dependency: com.apple.iokit.IOSerialFamily(11)[12E8B179-93B0-3F76-AFBD-CB8BE13B2EDB]@0xfffffe002d5770d0->0xfffffe002d57f303
            dependency: com.apple.iokit.IOUSBHostFamily(1.2)[A72D6DEE-D669-3F45-A40C-75212A8F1933]@0xfffffe002d8eebb0->0xfffffe002d98f1b7
         com.apple.driver.usb.cdc.acm(5.0)[7022A57D-97CA-3178-8AF6-2153EBC97FE0]@0xfffffe002c8a6820->0xfffffe002c8a95df
            dependency: com.apple.driver.usb.AppleUSBHostCompositeDevice(1.2)[8B6D643A-FA48-3804-A54A-74CEF752F79D]@0xfffffe002da6c520->0xfffffe002da6fbdf
            dependency: com.apple.driver.usb.cdc(5.0.0)[A32A3C20-F83E-3E37-BF82-A61534DC289E]@0xfffffe002c912b50->0xfffffe002c914f4b
            dependency: com.apple.driver.usb.networking(5.0.0)[CB62516D-9B0E-3B03-A231-54CBD9A9C84A]@0xfffffe002c95a6d0->0xfffffe002c95d883
            dependency: com.apple.driver.usb.serial(6.0.0)[BC705891-52EE-3957-9AE1-3C2128FF0F88]@0xfffffe002c9629e0->0xfffffe002c9683bb
            dependency: com.apple.iokit.IOSerialFamily(11)[12E8B179-93B0-3F76-AFBD-CB8BE13B2EDB]@0xfffffe002d5770d0->0xfffffe002d57f303
            dependency: com.apple.iokit.IOUSBHostFamily(1.2)[A72D6DEE-D669-3F45-A40C-75212A8F1933]@0xfffffe002d8eebb0->0xfffffe002d98f1b7

last started kext at 96491505590: com.apple.driver.usb.AppleUSBHostiOSDevice	1.0 (addr 0xfffffe0029ef53b0, size 3578)
loaded kexts:
com.apple.driver.usb.AppleUSBHostiOSDevice	1.0
com.apple.driver.usb.AppleUSBHostBillboardDevice	1.0
com.apple.iokit.SCSITaskUserClient	500
com.apple.driver.AppleUSBMassStorageInterfaceNub	556
com.apple.filesystems.autofs	3.0
com.apple.driver.AppleTopCaseHIDEventDriver	8420.1
com.apple.driver.AppleBiometricServices	1
com.apple.driver.CoreKDL	1
com.apple.driver.DiskImages.ReadWriteDiskImage	493.0.0
com.apple.driver.DiskImages.UDIFDiskImage	493.0.0
com.apple.driver.DiskImages.RAMBackingStore	493.0.0
com.apple.driver.DiskImages.FileBackingStore	493.0.0
com.apple.driver.AppleUSBDeviceNCM	5.0.0
com.apple.driver.AppleFileSystemDriver	3.0.1
com.apple.nke.l2tp	1.9
com.apple.filesystems.tmpfs	1
com.apple.filesystems.nfs	1
com.apple.filesystems.lifs	1
com.apple.filesystems.apfs	2317.61.2
com.apple.IOTextEncryptionFamily	1.0.0
com.apple.filesystems.hfs.kext	677.60.1
com.apple.security.BootPolicy	1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.SEPHibernation	1
com.apple.driver.AppleALSColorSensor	1.0.0d1
com.apple.driver.AppleAOPVoiceTrigger	420.7
com.apple.driver.AppleThunderboltIP	4.0.3
com.apple.driver.ApplePMP	1
com.apple.AppleEmbeddedSimpleSPINORFlasher	1
com.apple.driver.AppleCS42L84Audio	820.18
com.apple.driver.AppleSmartIO2	1
com.apple.driver.AppleSN012776Amp	820.18
com.apple.driver.AppleT6000SOCTuner	1
com.apple.driver.AppleT6000CLPCv3	1
com.apple.driver.AppleT6001PMGR	1
com.apple.driver.AppleS5L8960XNCO	1
com.apple.driver.AppleEventLogHandler	1
com.apple.driver.AppleS8000DWI	1.0.0d1
com.apple.driver.AppleDPDisplayTCON	1
com.apple.driver.AppleS8000AES	1
com.apple.driver.ApplePMPFirmware	1
com.apple.driver.AppleInterruptControllerV2	1.0.0d1
com.apple.driver.AppleAVD	808
com.apple.driver.AppleSamsungSerial	1.0.0d1
com.apple.driver.AppleSerialShim	1
com.apple.driver.AppleJPEGDriver	7.1.5
com.apple.driver.AppleAVE2	803.48.1
com.apple.driver.AppleMCDP29XXUpdateSupport	1
com.apple.driver.usb.AppleSynopsysUSB40XHCI	1
com.apple.driver.AppleMobileDispT600X-DCP	140.0
com.apple.AGXG13X	323.15
com.apple.driver.AppleT8110DART	1
com.apple.driver.AppleProResHW	426.1
com.apple.driver.AppleBluetoothModule	1
com.apple.driver.AppleBCMWLANBusInterfacePCIe	1
com.apple.driver.AppleS5L8920XPWM	1.0.0d1
com.apple.driver.AudioDMAController-T600x	420.19
com.apple.driver.AppleT6000DART	1
com.apple.driver.AppleSPIMC	1
com.apple.driver.AppleS5L8940XI2C	1.0.0d2
com.apple.driver.AppleT6000	1
com.apple.driver.AppleSDXC	3.5.3
com.apple.driver.AppleM68Buttons	1.0.0d1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.driver.usb.AppleUSBUserHCI	1
com.apple.iokit.IOKitRegistryCompatibility	1
com.apple.iokit.EndpointSecurity	1
com.apple.driver.AppleDiskImages2	379.60.1
com.apple.AppleSystemPolicy	2.0.0
com.apple.kec.InvalidateHmac	1
com.apple.kec.AppleEncryptedArchive	1
com.apple.driver.AppleUSBMergeNub	900.4.2
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.driver.usb.cdc.ncm	5.0.0
com.apple.driver.AppleUVDMDriver	1.0.0
com.apple.driver.AppleUVDM	1.0.0
com.apple.driver.usb.cdc.ecm	5.0.0
com.apple.driver.usb.cdc.acm	5.0.0
com.apple.driver.usb.serial	6.0.0
com.apple.driver.usb.cdc	5.0.0
com.apple.driver.AppleUSBAudio	720.24
com.apple.iokit.IOAudioFamily	600.2
com.apple.vecLib.kext	1.2.0
com.apple.driver.driverkit.serial	6.0.0
com.apple.driver.AppleHIDKeyboard	8010.1
com.apple.driver.AppleActuatorDriver	8420.1
com.apple.driver.AppleMultitouchDriver	8420.1
com.apple.driver.AppleHSBluetoothDriver	8420.1
com.apple.driver.IOBluetoothHIDDriver	9.0.0
com.apple.driver.AppleMesaSEPDriver	100.99
com.apple.iokit.IOBiometricFamily	1
com.apple.iokit.IOAVBFamily	1320.3
com.apple.driver.DiskImages.KernelBacked	493.0.0
com.apple.driver.AppleXsanScheme	3
com.apple.driver.usb.networking	5.0.0
com.apple.nke.ppp	1.9
com.apple.driver.AppleBSDKextStarter	3
com.apple.kext.triggers	1.0
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleSyntheticGameController	12.2.1
com.apple.driver.AppleBTM	1.0.1
com.apple.driver.IOHIDPowerSource	1
com.apple.driver.AppleCallbackPowerSource	1
com.apple.driver.AppleConvergedIPCOLYBTControl	1
com.apple.driver.AppleConvergedPCI	1
com.apple.driver.AppleBluetoothDebug	1
com.apple.driver.AppleSEPHDCPManager	1.0.1
com.apple.driver.AppleTrustedAccessory	1
com.apple.iokit.AppleSEPGenericTransfer	1
com.apple.driver.AppleAOPAudio	420.2
com.apple.driver.AppleThunderboltPCIDownAdapter	4.1.1
com.apple.driver.AppleThunderboltUSBDownAdapter	1.0.4
com.apple.driver.AppleThunderboltDPInAdapter	8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily	8.5.1
com.apple.driver.AppleHIDTransportSPI	8000.26
com.apple.driver.AppleHIDTransport	8000.26
com.apple.driver.AppleInputDeviceSupport	8000.26
com.apple.plugin.IOgPTPPlugin	1320.8
com.apple.driver.AppleDCPDPTXProxy	1.0.0
com.apple.driver.DCPDPFamilyProxy	1
com.apple.driver.AppleHPM	3.4.4
com.apple.driver.AppleDiagnosticDataAccessReadOnly	1.0.0
com.apple.driver.AppleCSEmbeddedAudio	820.18
com.apple.driver.AppleEmbeddedAudio	820.18
com.apple.iokit.AppleARMIISAudio	420.14
com.apple.driver.IISAudioIsolatedStreamECProxy	420.14
com.apple.driver.ExclavesAudioKext	220.24
com.apple.driver.AppleSPU	1
com.apple.driver.ApplePassthroughPPM	3.0
com.apple.driver.ApplePMGR	1
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.driver.AppleNANDConfigAccess	1.0.0
com.apple.driver.AppleSART	1
com.apple.driver.AppleSPMIPMU	1.0.1
com.apple.driver.AppleDialogPMU	1.0.1
com.apple.driver.AppleStockholmControl	1.0.0
com.apple.AGXFirmwareKextG13XRTBuddy	323.15
com.apple.AGXFirmwareKextRTBuddy64	323.15
com.apple.driver.AppleARMWatchdogTimer	1
com.apple.driver.AppleT6000TypeCPhy	1
com.apple.driver.AppleT8103TypeCPhy	1
com.apple.driver.AppleUSBXDCIARM	1.0
com.apple.driver.AppleUSBXDCI	1.0
com.apple.iokit.IOUSBDeviceFamily	2.0.0
com.apple.driver.usb.AppleSynopsysUSBXHCI	1
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.AppleEmbeddedUSBHost	1
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.iokit.IOMobileGraphicsFamily-DCP	343.0.0
com.apple.iokit.IOMobileGraphicsFamily	343.0.0
com.apple.driver.AppleSPMI	1.0.1
com.apple.driver.DCPAVFamilyProxy	1
com.apple.driver.AppleM2ScalerCSCDriver	265.0.0
com.apple.driver.AppleDCP	1
com.apple.driver.AppleFirmwareKit	1
com.apple.driver.AppleThunderboltNHI	7.2.81
com.apple.driver.AppleA7IOP-ASCWrap-v4	1.0.2
com.apple.iokit.IOGPUFamily	104.1.2
com.apple.driver.AppleA7IOP-M3Wrap-v2	1.0.2
com.apple.driver.AppleDisplayCrossbar	1.0.0
com.apple.iokit.IODisplayPortFamily	1.0.0
com.apple.driver.AppleTypeCPhy	1
com.apple.driver.AppleMobileApNonce	1
com.apple.driver.AppleT6000PCIeC	1
com.apple.iokit.IOThunderboltFamily	9.3.3
com.apple.iokit.IOPortFamily	1.0
com.apple.driver.ApplePIODMA	1
com.apple.driver.AppleT600xPCIe	1
com.apple.driver.AppleMultiFunctionManager	1
com.apple.driver.AppleBluetoothDebugService	1
com.apple.driver.AppleBCMWLANCore	1.0.0
com.apple.iokit.IO80211Family	1200.13.1
com.apple.driver.IOImageLoader	1.0.0
com.apple.driver.AppleOLYHAL	1
com.apple.driver.corecapture	1.0.4
com.apple.driver.AppleMCA2-T600x	920.1
com.apple.driver.AppleEmbeddedAudioLibs	420.3
com.apple.driver.AppleFirmwareUpdateKext	1
com.apple.driver.AppleH13CameraInterface	9.302.0
com.apple.driver.AppleGPIOICController	1.0.2
com.apple.driver.AppleFireStormErrorHandler	1
com.apple.driver.AppleEmbeddedPCIE	1
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOTimeSyncFamily	1320.8
com.apple.driver.DiskImages	493.0.0
com.apple.iokit.IOGraphicsFamily	598
com.apple.iokit.IOBluetoothFamily	9.0.0
com.apple.driver.AppleUIO	1
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleSEPKeyStore	2
com.apple.driver.AppleUSBTDM	556
com.apple.iokit.IOUSBMassStorageDriver	250.60.2
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleSMC	3.1.9
com.apple.driver.RTBuddy	1.0.0
com.apple.driver.AppleEmbeddedTempSensor	1.0.0
com.apple.driver.AppleARMPMU	1.0
com.apple.iokit.IOAccessoryManager	1.0.0
com.apple.driver.AppleOnboardSerial	1.0
com.apple.iokit.IOSerialFamily	11
com.apple.iokit.IOSCSIBlockCommandsDevice	500
com.apple.iokit.IOSCSIArchitectureModelFamily	500
com.apple.driver.AppleRSMChannel	1
com.apple.iokit.IORSMFamily	1
com.apple.driver.AppleLockdownMode	1
com.apple.driver.AppleIPAppender	1.0
com.apple.iokit.IOSkywalkFamily	1.0
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.iokit.IONetworkingFamily	3.4
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.AppleA7IOP	1.0.2
com.apple.driver.IOSlaveProcessor	1
com.apple.driver.AppleBiometricSensor	2
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.driver.AppleANELoadBalancer	8.203.4
com.apple.driver.AppleH11ANEInterface	8.203.4
com.apple.driver.IODARTFamily	1
com.apple.AUC	1.0
com.apple.iokit.IOSurface	372.3.4
com.apple.iokit.IOAVFamily	1.0.0
com.apple.iokit.IOHDCPFamily	1.0.0
com.apple.iokit.IOCECFamily	1
com.apple.iokit.IOAudio2Family	1.0
com.apple.driver.AppleIISController	420.1
com.apple.driver.AppleAudioClockLibs	420.3
com.apple.driver.FairPlayIOKit	72.10.0
com.apple.driver.AppleARMPlatform	1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.iokit.IOReportFamily	47
com.apple.security.quarantine	4
com.apple.security.sandbox	300.0
com.apple.iokit.IOStorageFamily	2.1
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.CoreAnalyticsFamily	1
com.apple.security.AppleImage4	7.0.0
com.apple.kext.CoreTrust	1
com.apple.iokit.IOCryptoAcceleratorFamily	1.0.1
com.apple.kec.pthread	1
com.apple.kec.Libm	1
com.apple.kec.Compression	1.0
com.apple.kec.corecrypto	14.0



** Stackshot Succeeded ** Bytes Traced 644831 (Uncompressed 1674176) **

The .ini file:

[env:xiao_ble_sense]

platform = nordicnrf52
board = xiao_ble_sense
framework = arduino
monitor_speed = 9600

Steps:

  1. open the example blink sketch
  2. Upload the blink sketch

Most of the time the macbook doesn’t crash, around 20% of the time a crash occurs.
The crash occurs after “Forcing reset” message in the console as far as I can remember.
The macbook freezes and will reboot with the above error message.

Please seek support from the manufacturer, https://forum.seeedstudio.com/. They should know their board best.

I’ve only seen MacOs / Darwin kernel crashes appear with WCH CH340 USB-serial drivers (example), but that nRF52 board does not have one, it goes straight into the nRF52840.