Does anyone have a Maple-IDE compatible Boot-loader built for the Maple Native yet? I bought a small board with the STM32F103ZE (512K Flash, 64K Ram) and thought I'd ask before trying to reinvent the wheel.
CarlO.
Does anyone have a Maple-IDE compatible Boot-loader built for the Maple Native yet? I bought a small board with the STM32F103ZE (512K Flash, 64K Ram) and thought I'd ask before trying to reinvent the wheel.
CarlO.
this may or may not work for you. We did flash a bootloader on the Native successfully, I just dont remember if this was it.
poslathian,
This what? Was there a link or file attached?
Thanks,
CarlO.
sorry!...oops. edit:
http://github.com/leaflabs/maple-bootloader/tree/native-boot
Out of curiosity, has anyone (successfully?) tried to get the Maple bootloader running on the STM32 Primer2, or any of the quasi-generic STM32 dev boards out there? I got a Primer2 last week, and can't help but feel the Primer2 would be a killer development platform, if only a free and reasonably user-friendly software environment existed for it.
I havnt heard of any work to get it running on primer. But various others have gotten things running on their clone boards/other stm32 board/other non-released leaflabs board - often with minimal effort. If the primer is running an stm32f103rbt6 (i think it is, not sure), then the only bootloader mods you would have to make would be changing the USB_DISC pin and the LED pin config.h settings. for different chips you may have to tweak a few other things too, such as a few lines in the linker script, and possible the wTransferSize in usb.h.
The Primer2 has a STM32F103VET6, so I suspect several of the pins will need changing, at a minimum.
Might as well download the code and give it a try sometime this week, whenever I next break something in CircleOS. :)
As i see bootloader codes - initialization of pins (button, led, usb_disc etc.) make in hardcoded with hex contastant and not use config settings. But some read/write routines use config.h setting for pin definition.
(see hardware.c for details)
P.S. Of course with Ride IDE (in debug mode) no problem to port maple bootloader to STM32Circle.
oops, yea i think the bootloader is master didnt have is "genericification" pushed in yet. We did fix all that at some point when I got yelled at for magi numbering in the first place...heh
You must log in to post.