mxCube import to Arm Gnu Eclipse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-03 9:49 AM
Hello there,
Arm gnu eclipse ( http://gnuarmeclipse.github.io ) is a plugin for eclipse similar to openSTM32. It has its advantages, for example that user can use way more debuggers than only ST-LINK. I was wondering either ST would consider making an importer for mxCUBE for Arm Gnu EClipse plugin the same way they did for openSTM32.For example I have a huge problem now. I am using mxCube to import code for openSTM32 project in eclipse. I am using JLINK, so I have to use the module from Arm Gnu Eclipse plugin, as openSTM32 doesnt support it. And now I cannot view peripherals while dubbuging even though both plugins support it. I cant use Arm Gnu Eclipse one, because the project is created by openSTM32. I cant use the second one, as I am using Arm Gnu Eclipse debugger... I dont know whats a way out out of this. I would have to either get rid of JLINK and get st-link, but jlink is a lot better. Or I would have to manually copy generated code to Arm Gnu Eclipse project...So would it be possible maybe for ST to make an importer for Arm Gnu Eclipse? Not a bad idea?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-08 6:31 AM
can try after replacing
source [find target/jlink.cfg]
with
sourc
e
[find target/stm32f4x.cfg]
and add the following linestransport select swd
adapter_khz 1000 you can modify 1000 by your desired frequency# This is an STM32F4 discovery board with a single STM32F407VGT6 chip.
# http://www.st.com/internet/evalboard/product/2524jsp
source [find interface/jlink.cfg]
transport select swd
adapter_khz 1000
source [find target/stm32f4x.cfg]
# use hardware reset, connect under reset
reset_config srst_only srst_nogate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-08 6:59 AM
After this modification everything works :). Thank you a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-08 7:12 AM
you are welcome :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-08 8:34 AM
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-09 12:00 AM
Also, even though I am using jlink, the maximum breakpoints number is still 6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 12:57 AM
>> just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
yes openSTM32 supports JTAG, please check if your debugger wires are well connected to your device
>> Also, even though I am using jlink, the maximum breakpoints number is still 6.yes even if you use Jlink or any other debugger the number of breakpoints is fixed to 6 (maximum breakpoints supported in CortexM4)
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 6:23 AM
Yes the JTAG is connected correctly, as I am using it with standard jlink driver. Is there anything else that has to be changed apart from that one word in the file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 10:21 AM
I have used for testing both of:
- IAR JLink (JTAG) - IAR JTrace (JTAG/SWD)And both of them have worked after modifying the driver to WinUSB by ZADIGRegards,tarekb
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
just a short question- does openSTM32 support JTAG? Because in the .cfg file I have changed swd to jtag but that did not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-11 7:47 AM
I see, but are there any additional settings that has to be set in order to use jtag instead of swd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-14 1:11 AM
Just ensure that your cfg contains
transport select jtag
instead oftransport select swd
and your JTAG wires are connected