-
Notifications
You must be signed in to change notification settings - Fork 18
RecoveryProcedure
If the programming of Audio or Video Firmware fails repeatedly (due to incomplete firmware update, application entering low power or shutdown mode too soon, etc.), you can use the following instructions to erase the existing audio or video firmware and recover. To proceed, a MAX32625PICO loaded with the latest DAPLINK Firmware and enabled automation is required.
Open MinGW console and cd into one of the demo directories:
-
Press and hold the SW on MAX32625PICO and then connect it to the USB port to enter the maintenance mode. A MAINTENANCE drive should appear.
-
Drag and drop the latest bin firmware to the MAINTENANCE drive. The latest DAPLink binary can be found here: https://github.com/MaximIntegratedAI/MaximAI_Documentation/raw/master/MAX78000_Feather/MAX32625PICO_files/max32625_max78000fthr_if_crc_v1.0.2.bin
-
Following the Drag-and-Drop, the debug adapter should reboot and reconnect as a drive named DAPLink.
-
Open the DETAILS.TXT file on the DAPLINK drive and make sure the ‘Automation allowed’ field is set to 1. If not, proceed to the next step.
-
To set the ‘Automation allowed’ field to 1, create an empty text file called “auto_on.cfg”. Connect MAX32625PICO to USB and wait for the DAPLINK drive to appear. Press and hold the SWD and drag and drop the “auto_on.cfg” to the DAPLINK drive. Then release the SW button when the drive unmounts.
-
After it remounts, confirm ‘Automation allowed’ in details.txt is set to 1.
-
Turn off the cube camera and disconnect MAXDAP-TYPE-C if connected.
-
Carefully open the camera from the top side (Maxim logo) while making sure that the flex cable connecting the two boards is not damaged or disconnected:
-
Remove the battery and connect the MAX32625PICO DAPLink 10-pin ribbon cable to J2 (for video firmware) or J3 (for audio firmware). Connect the MAX32625PICO to the USB port. A DAPLink drive should appear.
-
Create an empty file named
erase.act
. -
Have a USB-C cable to Power up the Cube Camera using a power bank to USB power handy. But do NOT power up yet.
-
Drag and drop the empty
erase.act
file to the DAPLink drive. A copying box opens and the progress stays at 0%. -
Power up the Cube Camera using the USB-C cable. The copying progress quickly goes to 100% and the DAPLink drive remounts. The flash of the target device is now erased
-
Disconnect the DAPLink ribbon cable from J2 or J3, reconnect the battery and close the camera case.