Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tools/macosx/maple_upload
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ fi

${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} -R ${dfuse_addr} -R

# DFU_UTIL doesn't reset properly in new Mac OS, use reenumerate tool from Prober.app
if (system_profiler SPUSBDataType | grep --quiet Maple\ 003) then
echo Maple 003 bootloader found, try to reenumerate it.
${DIR}/reenumerate -v 0x1eaf,0x0003
else
echo Maple 003 bootloader not found
fi

echo -n Waiting for ${dummy_port_fullpath} serial...

COUNTER=0
Expand Down
Binary file added tools/macosx/reenumerate
Binary file not shown.