Skip to content

fxload segfault under macOS #945

@mcuee

Description

@mcuee

I just got my Cypress EZ-USB FX3 SuperSpeed Explorer Kit and the fxload example will cause segfault under macOS.

After FW downloading the FX3 will disconect from USB and the reenumerate to be another device 0x04b4:0x00f1.

FX3_SDK_1.3.4_MacOS/cyusb_mac_1.0/fx3_images ❯ ~/build/libusb/libusb/examples/fxload -t fx3 -i cyfxbulksrcsink.img 
found device 'Cypress FX3' [04b4:00f3] (2,19)
microcontroller type: fx3
cyfxbulksrcsink.img: type Cypress IMG format
open firmware image cyfxbulksrcsink.img for RAM upload
normal FW binary executable image with checksum
FX3 bootloader version: 0x000000A9
writing image...
transfer execution to Program Entry at 0x40018ea4
libusb: error [darwin_reenumerate_device] darwin/reenumerate_device: timeout waiting for reenumerate
[1]    64014 segmentation fault  ~/build/libusb/libusb/examples/fxload -t fx3 -i cyfxbulksrcsink.img

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions