SparkFun Forums 

Where electronics enthusiasts find answers.

#207885
Using a Redboard. On Macbook Pro 2015 running OSX Yosemite 10.105. The first time I used the Redboard in lab, the arduino application crashed only once, but now Arduino crashes my mac every time I upload the sketch. Other laptops using windows seem to upload code to the Redboard just fine.

I can open the application, find the serial port fine, and verify the code but as soon as I upload the sketch, the system will freeze up and my mac will crash/restart.

I have already tried using different redboards and USB cables.
I also tried using older versions of Arduino IDE
I have also already downloaded the CH340 Driver (and the FTDI driver) to locate the serial port using
https://learn.sparkfun.com/tutorials/ho ... ng-further

Any help would be greatly appreciated!!Thanks!

Here is what the crash report looked like:
Moderator edit to add formatting.
Code: Select all
*** Panic Report ***
panic(cpu 3 caller 0xffffff800536c160): "a freed zone element has been modified in zone kalloc.32: expected 0xc0ffee8b851b9146 but found 0xdeadbeef0002fdae, bits changed 0x1e52506485196ce8, at offset 0 of 32 in element 0xffffff8016f3fe40, cookies 0x3f00110ba7795706 0x535211adb6e5b2f"@/SourceCache/xnu/xnu-2782.50.4/osfmk/kern/zalloc.c:496
Backtrace (CPU 3), Frame : Return Address
0xffffff813649b510 : 0xffffff800532ae01
0xffffff813649b590 : 0xffffff800536c160
0xffffff813649b600 : 0xffffff800536b7e7
0xffffff813649b640 : 0xffffff800536a9b7
0xffffff813649b770 : 0xffffff8005333701
0xffffff813649b7a0 : 0xffffff80058a0474
0xffffff813649b7c0 : 0xffffff7f85affb03
0xffffff813649b810 : 0xffffff7f85affcb8
0xffffff813649b850 : 0xffffff7f85affa6b
0xffffff813649b890 : 0xffffff80058d6aae
0xffffff813649b8f0 : 0xffffff7f85aff59f
0xffffff813649b920 : 0xffffff7f85aef756
0xffffff813649b960 : 0xffffff80057f439a
0xffffff813649ba30 : 0xffffff80057f3f73
0xffffff813649ba70 : 0xffffff7f85aed227
0xffffff813649bb30 : 0xffffff80055802a9
0xffffff813649bb80 : 0xffffff800556eae6
0xffffff813649bc10 : 0xffffff8005563983
0xffffff813649be00 : 0xffffff80057adefb
0xffffff813649be30 : 0xffffff80057ece84
0xffffff813649bf50 : 0xffffff800584b4f6
0xffffff813649bfb0 : 0xffffff8005434626
      Kernel Extensions in backtrace:
         com.apple.iokit.IOSerialFamily(11.0)[EE68F134-7A3B-3FB3-B1E1-AB32D46734D9]@0xffffff7f85aec000->0xffffff7f85af9fff
         com.wch.usbserial(1.0)[AD765268-B76B-3619-A05F-DA24C7F8F230]@0xffffff7f85afd000->0xffffff7f85b01fff
            dependency: com.apple.iokit.IOUSBFamily(720.4.4)[4ED60649-760E-3E91-9C58-322700847C7E]@0xffffff7f85a7b000
            dependency: com.apple.iokit.IOSerialFamily(11)[EE68F134-7A3B-3FB3-B1E1-AB32D46734D9]@0xffffff7f85aec000

BSD process name corresponding to current thread: avrdude

Mac OS version:
14F1909

Kernel version:
Darwin Kernel Version 14.5.0: Thu Jun 16 19:58:21 PDT 2016; root:xnu-2782.50.4~1/RELEASE_X86_64
Kernel UUID: D11F499F-5895-3D58-9101-5671A93D526D
Kernel slide:     0x0000000005000000
Kernel text base: 0xffffff8005200000
__HIB  text base: 0xffffff8005100000
System model name: MacBookPro12,1 (Mac-E43C1C25D4880AD6)

System uptime in nanoseconds: 1038696907054
last loaded kext at 4774986455: com.apple.driver.AGPM   110.19.6 (addr 0xffffff7f877f4000, size 110592)
last unloaded kext at 268422270798: com.apple.driver.AppleIntelLpssI2C   2.0.57 (addr 0xffffff7f872fa000, size 36864)
loaded kexts:
net.telestream.driver.TelestreamAudio   1.1.1
com.bitgapp.eqMac2Driver   2.0
com.wch.usbserial   1
com.apple.driver.AGPM   110.19.6
com.apple.driver.ApplePlatformEnabler   2.2.0d4
com.apple.driver.X86PlatformShim   1.0.0
com.apple.filesystems.autofs   3.0
com.apple.iokit.IOBluetoothSerialManager   4.3.6f3
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleGraphicsDevicePolicy   3.7.7
com.apple.driver.AppleUpstreamUserClient   3.6.1
com.apple.driver.AppleHDA   272.18.3
com.apple.driver.AudioAUUC   1.70
com.apple.driver.AppleThunderboltIP   2.0.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport   4.3.6f3
com.apple.driver.AppleCameraInterface   5.36.0
com.apple.driver.AppleSMCLMU   2.0.7d0
com.apple.driver.AppleLPC   1.7.3
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleHWAccess   1
com.apple.driver.AppleHV   1
com.apple.driver.AppleIntelSlowAdaptiveClocking   4.0.0
com.apple.driver.AppleBacklight   170.7.4
com.apple.driver.AppleMCCSControl   1.2.12
com.apple.driver.AppleIntelBDWGraphics   10.0.6
com.apple.driver.AppleIntelBDWGraphicsFramebuffer   10.0.6
com.apple.driver.AppleUSBCardReader   3.5.5
com.apple.driver.AppleUSBHub   705.4.2
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0
com.apple.BootCache   36
com.apple.driver.XsanFilter   404
com.apple.iokit.IOAHCIBlockStorage   2.7.1
com.apple.driver.AppleAHCIPort   3.1.2
com.apple.driver.AppleTopCaseHIDEventDriver   67
com.apple.driver.AirPort.Brcm4360   930.37.3
com.apple.driver.AppleUSBXHCI   710.4.11
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleACPIButtons   3.1
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleSMBIOS   2.1
com.apple.driver.AppleACPIEC   3.1
com.apple.driver.AppleAPIC   1.7
com.apple.nke.applicationfirewall   161
com.apple.security.quarantine   3
com.apple.security.TMSafetyNet   8
com.apple.kext.triggers   1.0
com.apple.driver.DspFuncLib   272.18.3
com.apple.kext.OSvKernDSPLib   1.15
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.3.6f3
com.apple.driver.AppleHDAController   272.18.3
com.apple.iokit.IOHDAFamily   272.18.3
com.apple.driver.AppleGraphicsControl   3.10.25
com.apple.driver.X86PlatformPlugin   1.0.0
com.apple.driver.IOPlatformPluginFamily   5.9.1d7
com.apple.iokit.IOBluetoothFamily   4.3.6f3
com.apple.iokit.IOAudioFamily   203.3
com.apple.vecLib.kext   1.2.0
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.driver.AppleBacklightExpert   1.1.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.AppleSMBusController   1.0.13d1
com.apple.iokit.IOSurface   97.4
com.apple.iokit.IONDRVSupport   2.4.1
com.apple.AppleGraphicsDeviceControl   3.10.25
com.apple.iokit.IOAcceleratorFamily2   156.17
com.apple.iokit.IOGraphicsFamily   2.4.1
com.apple.iokit.IOUSBUserClient   705.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice   3.7.5
com.apple.iokit.IOUSBMassStorageClass   3.7.2
com.apple.iokit.IOSCSIArchitectureModelFamily   3.7.5
com.apple.driver.AppleUSBMergeNub   705.4.0
com.apple.driver.AppleUSBComposite   705.4.9
com.apple.iokit.IOSerialFamily   11
com.apple.driver.CoreStorage   471.30.1
com.apple.iokit.IOAHCIFamily   2.7.5
com.apple.driver.AppleThunderboltDPInAdapter   4.0.6
com.apple.driver.AppleThunderboltDPAdapterFamily   4.0.6
com.apple.driver.AppleThunderboltPCIDownAdapter   2.0.2
com.apple.driver.AppleHIDKeyboard   176.2
com.apple.driver.AppleHSSPIHIDDriver   41.3
com.apple.driver.AppleMultitouchDriver   264.6
com.apple.driver.AppleThunderboltNHI   3.1.7
com.apple.iokit.IOThunderboltFamily   4.2.2
com.apple.iokit.IO80211Family   730.60
com.apple.driver.mDNSOffloadUserClient   1.0.1b8
com.apple.iokit.IONetworkingFamily   3.2
com.apple.driver.AppleHSSPISupport   41.3
com.apple.driver.AppleIntelLpssSpiController   2.0.57
com.apple.iokit.IOUSBFamily   720.4.4
com.apple.driver.AppleIntelLpssGspi   2.0.57
com.apple.driver.AppleIntelLpssDmac   2.0.57
com.apple.driver.AppleEFINVRAM   2.0
com.apple.driver.AppleEFIRuntime   2.0
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox   300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleKeyStore   2
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.driver.AppleCredentialManager   1.0
com.apple.driver.DiskImages   398
com.apple.iokit.IOStorageFamily   2.0
com.apple.iokit.IOReportFamily   31
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform   3.1
com.apple.iokit.IOPCIFamily   2.9
com.apple.iokit.IOACPIFamily   1.4
com.apple.kec.corecrypto   1.0
com.apple.kec.pthread   1
com.apple.kec.Libm   1
Model: MacBookPro12,1, BootROM MBP121.0171.B00, 2 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5544
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5544
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.6f3 16238, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: Internal Memory Card Reader
USB Device: Bluetooth USB Host Controller
USB Device: USB2.0-Serial
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Thanks again!
#207995
Hi aver_v,

It sounds like your operating system is panicking due to a pre-installed driver. Try going back through the Mac OSX Installation Instructions in that tutorial and removing, then re-installing the drivers.

If that does not fix the issue, let us know and we can troubleshoot further.