10 years, 7 months ago.

Seeed Arch Max

Can I use the mbed compiler bin file, on a non Seeed Arch Max board, ie on another STM32F407 uC board?

Dave.

1 Answer

10 years, 7 months ago.

As long as it is the same MCU: Yes. You will also need to have the same clock setup if you don't want to have to modify the source code. The bin file itself is nothing special, it does not require a bootloader on the device as Arduino's for example need.

Erik, That's a good perfect world answer! The reason I asked the question, is because I have tried and failed, while I was waiting for the Seeed board to arrive. The board I used was a Olimex STM32-E407 which has a STM32F407ZGT6 uC, which means more pins and 1024KB of flash. Maybe it's me doing something wrong but I have no problems loading code from other sources, but can't load code from the mbed compiler. I think the Seeed flash loader firmware is changing the code location, so it works fine on their board.

posted by David Fletcher 08 Mar 2015

I don't know what kind of changes there are. If it has less RAM it won't work (without some changes). Different clock setup is also a possibility then. You are addressing the correct pins? (For example not using LED1 since it is most likely on a different pin).

Finally I don't know if the F407 support is already finalized since I don't see the board on the platform page.

posted by Erik - 08 Mar 2015

@Erik, The platform link is here http://developer.mbed.org/platforms/Seeed-Arch-Max/. The only diffs in the 407ZGT6 is more pins, the memory map is the same, with the exception of the extra 512KB of flash, the ram is the same. As for pins, leds or peripherals, i always check and modify as required.

EDIT: Changed link above.

posted by David Fletcher 08 Mar 2015

Yeah but it isn't on the platform overview yet. For sure make sure you are using the latest mbed version. You can also try mbed-src, which is even more recent.

posted by Erik - 08 Mar 2015