Hi, is it somehow possible to make the IDE create bin files instead of pde files?
I have some problems flashing my board, so I wanted to flash it via STLink. And afaik STLink only flashes bin files. I think I might have fried my controller, although I am able to flash a bootloader.
Alternatively: Can someone please flash the blink example for Maple v3 and read the bin file via STLink or any other SWD device? Then I could test my board with that file.
Can MapleIDE put out .BIN file instead of .PDE file?
(3 posts) (2 voices)-
Posted 3 years ago #
-
You can configured the leaflabs command toolchain to do this for you by typing $> make jtag instead of just make.
Unfortunately, all the builds that come out of the IDE are targetted to be used with the bootloader. So while you can extract the .bin files out of the various temp directories the IDE makes while building, those binaries only work when the bootloader is flashed on the chip first. That is because these binaries are linked by the compiler to start a few KB after 0x000.
make jtag will link the binary against 0x000 instead.
See: http://leaflabs.com/docs/unix-toolchain.html for info on the command line environment
See: http://wiki.leaflabs.com/index.php?title=Maple_JTAG_How_To for the wiki entry on using "make jtag" and using a third party programmer (like stlink)Posted 3 years ago # -
Thank you very much for this precise answer. very much appreciated.
Posted 3 years ago #
Reply
You must log in to post.