On 29/08/2017 21:10, Mike Perkins wrote:> On 29/08/2017 07:30, Tilmann Reh wrote: >> Mike Perkins schrieb: >> >>> Does anyone here have any suggestions? Yes I know of pay-for solutions >>> but they're not ideal for multi-site solutions, plus the old system I >>> had worked just as well as any pay IDE! >> >> You might have a look at Code::Blocks. >> I like it very much. > > Thanks - it looks very interesting.It appears an IDE, where you have to install plugins, much like eclipse. The only difference is say a plugin I would need is unobtanium. The Code::Blocks(STM32) net installer at: https://sourceforge.net/projects/codeblockeps-ni/ doesn't have a download area. Furthermore the 'installer' website http://epsdebugger.comsytec.com/ where the downloads are possibly subject to Euros10 is broken. All I get is spinning circles.
IDE for STM32f series
Started by ●August 28, 2017
Reply by ●August 29, 20172017-08-29
Reply by ●August 29, 20172017-08-29
On 29/08/2017 20:56, Mike Perkins wrote:> On 28/08/2017 22:45, Dave Nadler wrote: >> On Monday, August 28, 2017 at 5:24:23 PM UTC-4, Mike Perkins wrote: >>> Is there a blow by blow account of how to install this with either Neon >>> or Oxygen, or should I bit the bullet and use an IDE already put >>> together. >> >> Try: >> https://mcuoneclipse.com/2017/07/30/breathing-with-oxygen-diy-arm-cortex-m-cc-ide-and-toolchain-with-eclipse-oxygen/ >> >> >> Hope that helps! >> Best Regards, Dave >> >> PS: Let us know how it goes... > > Thank you muchly. > > One big point is I didn't realise I could install from local archives. > > As per article I did look at upgrading the ST-Link V2 to the Segger > firmware but on further investigation that's not possible, only on the > Discovery boards. > Indeed if I try as per: > > https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ > > I get: > Identifying ST-LINK variant...ERROR: Unsupported ST-LINK hardware variant > > However I did upgrade the ST-Link V2 firmware to V2.J28.S7 and using the > driver 2.0.0 > > I can build fine, using a 'New' test example of 'Blinky'. > > However, despite making sure OpenOCD is in the correct path, I get a > time-out when trying to debug after: > > Debug: 368 313 command.c:143 script_debug(): command - ocd_command > ocd_command type ocd_mflash init > Debug: 369 313 command.c:143 script_debug(): command - ocd_mflash > ocd_mflash init > Debug: 371 313 mflash.c:1377 handle_mflash_init_command(): Initializing > mflash devices... > Debug: 372 313 command.c:143 script_debug(): command - ocd_command > ocd_command type ocd_nand init > Debug: 373 313 command.c:143 script_debug(): command - ocd_nand ocd_nand > init > Debug: 375 313 tcl.c:497 handle_nand_init_command(): Initializing NAND > devices... > Debug: 376 313 command.c:143 script_debug(): command - ocd_command > ocd_command type ocd_pld init > Debug: 377 313 command.c:143 script_debug(): command - ocd_pld ocd_pld init > Debug: 379 334 pld.c:205 handle_pld_init_command(): Initializing PLDs... > Info : 380 334 server.c:312 add_service(): Listening on port 3333 for > gdb connections > > I'm using > -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -d3 -l openocd.log > in the config options. > > It seems to listen but gets nothing, yet the ARM tools including > arm-none-eabi-gdb.exe are in the right path or the project wouldn't build.Finally got it going in a VM. The issue is to have the full GDB executable in the GDB Client Setup. I had believed, very wrongly, that the GNU ARM tool folder would be sufficient, it isn't! I'm now in a position to update plugins as and when required. Many thanks for that link, its made things a whole lot more repeatable. It should also be portable as I'm using ${eclipse_home} to indicate the eclipse home directory. With 'Blinky program on an old Olimex board I can get "Hello ARM World" and get the LED to flash. Thanks.
Reply by ●August 30, 20172017-08-30
On 30/08/2017 03:44, Mike Perkins wrote:> On 29/08/2017 20:56, Mike Perkins wrote: >> On 28/08/2017 22:45, Dave Nadler wrote: >>> On Monday, August 28, 2017 at 5:24:23 PM UTC-4, Mike Perkins wrote: >>>> Is there a blow by blow account of how to install this with either Neon >>>> or Oxygen, or should I bit the bullet and use an IDE already put >>>> together. >>> >>> Try: >>> https://mcuoneclipse.com/2017/07/30/breathing-with-oxygen-diy-arm-cortex-m-cc-ide-and-toolchain-with-eclipse-oxygen/ >>> >>> >>> >>> Hope that helps! >>> Best Regards, Dave >>> >>> PS: Let us know how it goes... >> >> Thank you muchly. >> >> One big point is I didn't realise I could install from local archives. >> >> As per article I did look at upgrading the ST-Link V2 to the Segger >> firmware but on further investigation that's not possible, only on the >> Discovery boards. >> Indeed if I try as per: >> >> https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ >> >> >> I get: >> Identifying ST-LINK variant...ERROR: Unsupported ST-LINK hardware >> variant >> >> However I did upgrade the ST-Link V2 firmware to V2.J28.S7 and using the >> driver 2.0.0 >> >> I can build fine, using a 'New' test example of 'Blinky'. >> >> However, despite making sure OpenOCD is in the correct path, I get a >> time-out when trying to debug after: >> >> Debug: 368 313 command.c:143 script_debug(): command - ocd_command >> ocd_command type ocd_mflash init >> Debug: 369 313 command.c:143 script_debug(): command - ocd_mflash >> ocd_mflash init >> Debug: 371 313 mflash.c:1377 handle_mflash_init_command(): Initializing >> mflash devices... >> Debug: 372 313 command.c:143 script_debug(): command - ocd_command >> ocd_command type ocd_nand init >> Debug: 373 313 command.c:143 script_debug(): command - ocd_nand ocd_nand >> init >> Debug: 375 313 tcl.c:497 handle_nand_init_command(): Initializing NAND >> devices... >> Debug: 376 313 command.c:143 script_debug(): command - ocd_command >> ocd_command type ocd_pld init >> Debug: 377 313 command.c:143 script_debug(): command - ocd_pld ocd_pld >> init >> Debug: 379 334 pld.c:205 handle_pld_init_command(): Initializing PLDs... >> Info : 380 334 server.c:312 add_service(): Listening on port 3333 for >> gdb connections >> >> I'm using >> -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -d3 -l openocd.log >> in the config options. >> >> It seems to listen but gets nothing, yet the ARM tools including >> arm-none-eabi-gdb.exe are in the right path or the project wouldn't >> build. > > Finally got it going in a VM. The issue is to have the full GDB > executable in the GDB Client Setup. I had believed, very wrongly, that > the GNU ARM tool folder would be sufficient, it isn't! > > I'm now in a position to update plugins as and when required. Many > thanks for that link, its made things a whole lot more repeatable. It > should also be portable as I'm using ${eclipse_home} to indicate the > eclipse home directory. > > With 'Blinky program on an old Olimex board I can get "Hello ARM World" > and get the LED to flash. > > Thanks.One more thing, I have found all the versions of OpenOCD 0.10.0 unreliable. I go from working to not working with: undefined debug reason 7 - target needs reset Remote failure reply: E0E or Error in final launch sequence Failed to execute MI command: -target-select remote localhost:3333 Error message from debugger back end: Remote failure reply: E0E Failed to execute MI command: -target-select remote localhost:3333 Error message from debugger back end: Remote failure reply: E0E Remote failure reply: E0E It seems a known bug, so now using 0.9.0 (GNU ARM Eclipse OpenOCD v0.9.0-20150519*) Unfortunately it only comes in an executable, though can be 'unzipped' by 7zip. So far so good.
Reply by ●August 31, 20172017-08-31
Den onsdag den 30. august 2017 kl. 05.47.40 UTC+2 skrev Mike Perkins:> On 30/08/2017 03:44, Mike Perkins wrote: > > On 29/08/2017 20:56, Mike Perkins wrote: > >> On 28/08/2017 22:45, Dave Nadler wrote: > >>> On Monday, August 28, 2017 at 5:24:23 PM UTC-4, Mike Perkins wrote: > >>>> Is there a blow by blow account of how to install this with either Neon > >>>> or Oxygen, or should I bit the bullet and use an IDE already put > >>>> together. > >>> > >>> Try: > >>> https://mcuoneclipse.com/2017/07/30/breathing-with-oxygen-diy-arm-cortex-m-cc-ide-and-toolchain-with-eclipse-oxygen/ > >>> > >>> > >>> > >>> Hope that helps! > >>> Best Regards, Dave > >>> > >>> PS: Let us know how it goes... > >> > >> Thank you muchly. > >> > >> One big point is I didn't realise I could install from local archives. > >> > >> As per article I did look at upgrading the ST-Link V2 to the Segger > >> firmware but on further investigation that's not possible, only on the > >> Discovery boards. > >> Indeed if I try as per: > >> > >> https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ > >> > >> > >> I get: > >> Identifying ST-LINK variant...ERROR: Unsupported ST-LINK hardware > >> variant > >> > >> However I did upgrade the ST-Link V2 firmware to V2.J28.S7 and using the > >> driver 2.0.0 > >> > >> I can build fine, using a 'New' test example of 'Blinky'. > >> > >> However, despite making sure OpenOCD is in the correct path, I get a > >> time-out when trying to debug after: > >> > >> Debug: 368 313 command.c:143 script_debug(): command - ocd_command > >> ocd_command type ocd_mflash init > >> Debug: 369 313 command.c:143 script_debug(): command - ocd_mflash > >> ocd_mflash init > >> Debug: 371 313 mflash.c:1377 handle_mflash_init_command(): Initializing > >> mflash devices... > >> Debug: 372 313 command.c:143 script_debug(): command - ocd_command > >> ocd_command type ocd_nand init > >> Debug: 373 313 command.c:143 script_debug(): command - ocd_nand ocd_nand > >> init > >> Debug: 375 313 tcl.c:497 handle_nand_init_command(): Initializing NAND > >> devices... > >> Debug: 376 313 command.c:143 script_debug(): command - ocd_command > >> ocd_command type ocd_pld init > >> Debug: 377 313 command.c:143 script_debug(): command - ocd_pld ocd_pld > >> init > >> Debug: 379 334 pld.c:205 handle_pld_init_command(): Initializing PLDs... > >> Info : 380 334 server.c:312 add_service(): Listening on port 3333 for > >> gdb connections > >> > >> I'm using > >> -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -d3 -l openocd.log > >> in the config options. > >> > >> It seems to listen but gets nothing, yet the ARM tools including > >> arm-none-eabi-gdb.exe are in the right path or the project wouldn't > >> build. > > > > Finally got it going in a VM. The issue is to have the full GDB > > executable in the GDB Client Setup. I had believed, very wrongly, that > > the GNU ARM tool folder would be sufficient, it isn't! > > > > I'm now in a position to update plugins as and when required. Many > > thanks for that link, its made things a whole lot more repeatable. It > > should also be portable as I'm using ${eclipse_home} to indicate the > > eclipse home directory. > > > > With 'Blinky program on an old Olimex board I can get "Hello ARM World" > > and get the LED to flash. > > > > Thanks. > > One more thing, I have found all the versions of OpenOCD 0.10.0 > unreliable. I go from working to not working with: > undefined debug reason 7 - target needs reset > Remote failure reply: E0E > > or > Error in final launch sequence > Failed to execute MI command: > -target-select remote localhost:3333 > Error message from debugger back end: > Remote failure reply: E0E > Failed to execute MI command: > -target-select remote localhost:3333 > Error message from debugger back end: > Remote failure reply: E0E > Remote failure reply: E0E > > It seems a known bug, so now using 0.9.0 (GNU ARM Eclipse OpenOCD > v0.9.0-20150519*) Unfortunately it only comes in an executable, though > can be 'unzipped' by 7zip. So far so good.everything work out of the box with http://www.openstm32.org
Reply by ●September 1, 20172017-09-01
On 01/09/2017 03:16, lasselangwadtchristensen@gmail.com wrote:> Den onsdag den 30. august 2017 kl. 05.47.40 UTC+2 skrev Mike Perkins: >> On 30/08/2017 03:44, Mike Perkins wrote: >>> On 29/08/2017 20:56, Mike Perkins wrote: >>>> On 28/08/2017 22:45, Dave Nadler wrote: >>>>> On Monday, August 28, 2017 at 5:24:23 PM UTC-4, Mike Perkins wrote: >>>>>> Is there a blow by blow account of how to install this with either Neon >>>>>> or Oxygen, or should I bit the bullet and use an IDE already put >>>>>> together. >>>>> >>>>> Try: >>>>> https://mcuoneclipse.com/2017/07/30/breathing-with-oxygen-diy-arm-cortex-m-cc-ide-and-toolchain-with-eclipse-oxygen/ >>>>> >>>>> >>>>> >>>>> Hope that helps! >>>>> Best Regards, Dave >>>>> >>>>> PS: Let us know how it goes... >>>> >>>> Thank you muchly. >>>> >>>> One big point is I didn't realise I could install from local archives. >>>> >>>> As per article I did look at upgrading the ST-Link V2 to the Segger >>>> firmware but on further investigation that's not possible, only on the >>>> Discovery boards. >>>> Indeed if I try as per: >>>> >>>> https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ >>>> >>>> >>>> I get: >>>> Identifying ST-LINK variant...ERROR: Unsupported ST-LINK hardware >>>> variant >>>> >>>> However I did upgrade the ST-Link V2 firmware to V2.J28.S7 and using the >>>> driver 2.0.0 >>>> >>>> I can build fine, using a 'New' test example of 'Blinky'. >>>> >>>> However, despite making sure OpenOCD is in the correct path, I get a >>>> time-out when trying to debug after: >>>> >>>> Debug: 368 313 command.c:143 script_debug(): command - ocd_command >>>> ocd_command type ocd_mflash init >>>> Debug: 369 313 command.c:143 script_debug(): command - ocd_mflash >>>> ocd_mflash init >>>> Debug: 371 313 mflash.c:1377 handle_mflash_init_command(): Initializing >>>> mflash devices... >>>> Debug: 372 313 command.c:143 script_debug(): command - ocd_command >>>> ocd_command type ocd_nand init >>>> Debug: 373 313 command.c:143 script_debug(): command - ocd_nand ocd_nand >>>> init >>>> Debug: 375 313 tcl.c:497 handle_nand_init_command(): Initializing NAND >>>> devices... >>>> Debug: 376 313 command.c:143 script_debug(): command - ocd_command >>>> ocd_command type ocd_pld init >>>> Debug: 377 313 command.c:143 script_debug(): command - ocd_pld ocd_pld >>>> init >>>> Debug: 379 334 pld.c:205 handle_pld_init_command(): Initializing PLDs... >>>> Info : 380 334 server.c:312 add_service(): Listening on port 3333 for >>>> gdb connections >>>> >>>> I'm using >>>> -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -d3 -l openocd.log >>>> in the config options. >>>> >>>> It seems to listen but gets nothing, yet the ARM tools including >>>> arm-none-eabi-gdb.exe are in the right path or the project wouldn't >>>> build. >>> >>> Finally got it going in a VM. The issue is to have the full GDB >>> executable in the GDB Client Setup. I had believed, very wrongly, that >>> the GNU ARM tool folder would be sufficient, it isn't! >>> >>> I'm now in a position to update plugins as and when required. Many >>> thanks for that link, its made things a whole lot more repeatable. It >>> should also be portable as I'm using ${eclipse_home} to indicate the >>> eclipse home directory. >>> >>> With 'Blinky program on an old Olimex board I can get "Hello ARM World" >>> and get the LED to flash. >>> >>> Thanks. >> >> One more thing, I have found all the versions of OpenOCD 0.10.0 >> unreliable. I go from working to not working with: >> undefined debug reason 7 - target needs reset >> Remote failure reply: E0E >> >> or >> Error in final launch sequence >> Failed to execute MI command: >> -target-select remote localhost:3333 >> Error message from debugger back end: >> Remote failure reply: E0E >> Failed to execute MI command: >> -target-select remote localhost:3333 >> Error message from debugger back end: >> Remote failure reply: E0E >> Remote failure reply: E0E >> >> It seems a known bug, so now using 0.9.0 (GNU ARM Eclipse OpenOCD >> v0.9.0-20150519*) Unfortunately it only comes in an executable, though >> can be 'unzipped' by 7zip. So far so good. > > everything work out of the box with http://www.openstm32.orgNow you tell me!!! Thanks for the link, I'll be adding it to my bookmarks!