@NF6X : I would try upgrading to the latest version of OpenOCD (0.5.0). It adds support for a lot of newer parts.
Maple Native Betas on sale tomorrow!
(33 posts) (10 voices)-
Posted 4 years ago #
-
I think I figured out my JTAG issue. If I'm correctly interpreting the OpenOCD documentation and the Maple Native schematic, then it appears that for Maple Native, I need to change the OpenOCD config files' reset configurations from "reset_config srst_only" to "reset_config trst_only".
Posted 4 years ago # -
NF6X:
You should know that the OpenOCD scripts provided with libmaple are only known to work with Maple. They make a few assumptions that aren't valid for Maple Native.
In particular, check out the comment in support/openocd/flash_0.4.cfg that says "TODO: native". Note that the lines surrounding it are for different SRAM sizes, with the one that is commented out appropriate for the STM32F103ZE on Native.
Also note that the lines after "Flashing image..." and "Verifying image..." refer to build/maple.bin. For Maple Native, these will be build/maple_native.bin.
I'm sorry that we haven't updated these scripts to be more generic. If you are interested in helping us out on that, it would be very appreciated. Any patches can be emailed to info@leaflabs.com, or you can just send us a pull request via libmaple's github page.
Posted 4 years ago #
Reply
You must log in to post.