2015-12-03 09: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?2015-12-08 06: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
2015-12-08 06:59 AM
After this modification everything works :). Thank you a lot!
2015-12-08 07:12 AM
you are welcome :)
2015-12-08 08: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.
2015-12-09 12:00 AM
Also, even though I am using jlink, the maximum breakpoints number is still 6.
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.
2015-12-10 06: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?
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.
2015-12-11 07:47 AM
I see, but are there any additional settings that has to be set in order to use jtag instead of swd?
2015-12-14 01:11 AM
Just ensure that your cfg contains
transport select jtag
instead oftransport select swd
and your JTAG wires are connected