MAX32630FTHR target not configured correctly on Mbed Studio

I am trying out the MAX32630FTHR with Mbed Studio.

I am using the Max32625PICO as programmer with DAPlink firmware obtained from Mbed.

I have the blinky example loaded in Mbed Studio.

When I choose “Build program” this message pops up:

Configuration error: Bootloader not supported on this target. ROM start not found in targets.json.

I then get loads of “[Warning] mxc_device.h@49,9: ‘TARGET_NAME’ macro redefined [-Wmacro-redefined]” messages when it is compiling the program.

Then during link stage I get 8 “relocation” warnings

[Warning] @0,0: L6803W: Relocation #REL:1 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.o. Thumb Branch is unlikely to reach target inHardFault_Handler(.text).

[Warning] @0,0: L6803W: Relocation #REL:2 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.o. Thumb Branch is unlikely to reach target inMemManage_Handler(.text).

[Warning] @0,0: L6803W: Relocation #REL:3 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.o. Thumb Branch is unlikely to reach target inBusFault_Handler(.text).

[Warning] @0,0: L6803W: Relocation #REL:4 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.o. Thumb Branch is unlikely to reach target inUsageFault_Handler(.text).

[Warning] @0,0: L6803W: Relocation #REL:5 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/irq_cm4f.o. Thumb Branch is unlikely to reach target inSVC_Handler(.text).

[Warning] @0,0: L6803W: Relocation #REL:7 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/irq_cm4f.o. Thumb Branch is unlikely to reach target inPendSV_Handler(.text).

[Warning] @0,0: L6803W: Relocation #REL:8 in BUILD/MAX32630FTHR/ARMC6/mbed-os/targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_ARM_STD/startup_MAX3263x.o(.text) with respect to BUILD/MAX32630FTHR/ARMC6/mbed-os/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/irq_cm4f.o. Thumb Branch is unlikely to reach target inSysTick_Handler(.text).


Despite all this, I can still upload using the run option and the hardware blinks as it should.

So, just wondering what to tinker with to fix this.

The time i bought my MAX32630FTHR boards, they were delivered with the MAXREFDES100HDK programming board. Mbed has dropped support of that for some reason, since then i can not let my program run directly from Mbed Studio, i need to grab the .bin file and drag it onto the DAPLINK drive…

But i also have a MAX32625PICO, i just did not know i could use it for this purpose, so will give it a try to save some time. Thanks for the info.