Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 3 months ago.
Do I need MAX32625PICO to be able to update the MAX32620FTHR Bootloader?
The instructions are conflicting, confusing on the firmware page. It says I need to connect the PICO to FTHR board using a 10pin cable. Why?
I am able to hold the boot button while powering FTHR and it shows me a BOOTLOADER drive when connecting to PC. I dragged the "max32625pico_max32620fthr.bin" into the drive and it rebooted successfully showing the following in DAPLINK/DETAILS.TXT:
# DAPLink Firmware - see https://mbed.com/daplink Unique ID: 0418000043808be200000000000000000000000097969904 HIC ID: 97969904 Auto Reset: 0 Automation allowed: 0 Overflow detection: 0 Daplink Mode: Interface Interface Version: 0243 Bootloader Version: 0242 Git SHA: 84e30530b3e4f1e372f525dedd86a39bf49cef15 Local Mods: 1 USB Interfaces: MSD, CDC, HID Bootloader CRC: 0x300aa5fd Interface CRC: 0x0b13d145 Remount count: 0
Now, I put a blinky .bin file in the DAPLINK drive and it gives me an FAIL.TXT:
The interface firmware FAILED to reset/halt the target MCU
Questions: 1) Why is PICO board conflated with the FTHR board? Is it required to be able to update the bootloader? 2) What did I do wrong? 3) Any ideas on why my blinky code isn't working? I also tried to build a fresh one from mbed compiler and it shows the same error. Any program I load into the DAPLINK drive, I get the aforementioned error.
Thanks for your help!
Question relating to:
1 Answer
6 years, 3 months ago.
1. In this case, PICO is used as a programmer to program the FTHR board. Out of the box, it is not required to update the bootloader on any boards.
2. The file "max32625pico_max32620fthr.bin" is to update the Firmware running on PICO board, not on FTHR board. Again, you don't need to do this on new boards.
3. Since you've loaded the above file on FTHR, blinky code won't work.
You can still follow the 'Getting Started with MAX32620FTHR' guidelines and get the FTHR to run blinky. If you are plugging both the boards on same host machine, you'll see 2 DAPLINK drives. Identify the drive for PICO and load your blinky on it, so it can program the FTHR board. Once this is done, you should see only 1 DAPLINK drive associated with the PICO.
Thank you, I think it would be good to update this wiki to explicitly mention what you just said. I was under the impression that since I see a Bootloader drive, I should just drag the latest firmware on it and accidentally bricking the board. I just ordered a PICO board to alleviate the situation. Thanks for your guidance.
posted by 13 Sep 2018Hi Neil,
Also If you accidentally erase the bootloader in the MAX32620FTHR and you want to be able to load the code directly into the MAX32620FTHR without the PICO, you can see this FAQ from our Knowledge Base How can I restore the MAX32620FTHR bootloader (when erased accidentally) ?
posted by 13 Sep 2018