ChibiStudio preview

Discussions and support about ChibiStudio, the free development environment for ARM.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiStudio preview

Post by Giovanni »

A new version is now available: https://sourceforge.net/projects/chibio ... ibiStudio/

Updates some components and includes ChibiOS/RT 2.5.0.

Giovanni
jcbarlow
Posts: 21
Joined: Sun Jul 03, 2011 6:48 am

Re: ChibiStudio preview

Post by jcbarlow »

OpenOCD 0.6.0 is released now and Freddie has new binaries on his site.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiStudio preview

Post by Giovanni »

Thanks, I'll make a new release in next days.

Giovanni
jscott
Posts: 129
Joined: Tue Jul 03, 2012 3:50 pm

Re: ChibiStudio preview

Post by jscott »

I am having problems getting the GDB stuff working. I can compile the STM32F4-DISCOVERY demo just fine.
When I select option 4 on the button to the right of the green Play button...

4. Atollic ST-LINK GDB SERVER (SWD)


I get...

Atollic TrueSTUDIO gdbserver for ST-Link. Version 1.6.0 Pro
Copyright 2010-2012, Atollic AB.


Starting server with the following options:
Persistant Mode : Enabled
LogFile Name : debug_log.txt
Logging Level : 31
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Enabled
SWD Debug : Enabled

Connecting to the ST-Link Debugger...NVIC_DFSR_REG = 0x00000009
NVIC_CFGFSR_REG = 0x00000000
ST_LINK Major version =2 Jtag version =15
ST_LINK VID=1155 PID=14152
ST_LINK device status: HALT_MODE
Hardware watchpoint supported by the target
FuncEntry
STM32 device: id =10016413
STM32 device: Flash size =1024
FuncExit
FuncEntry
FuncExit
OK
Start Logging
Waiting for debugger connection...Waiting for TrueSTUDIO client to connect on port 61234 ...
Error while waiting for debugger connection.
Shutting down...
Debugger connection lost.
Shutting down...



Every other option gives me even worse errors, or asks for a config file!!
How would I give it a config file????

Weird shit like this is why Linux / FOSS will never make the mainstream...
If there were good docs, I could look it up, but there is not.. :cry: :cry: :cry: :cry: :cry:
Thank god I can ask for help here!!!! </whine>

Frustrated
-John
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: ChibiStudio preview

Post by Abhishek »

I'm using Atollic GDB Server 1.5.6 and it works fine.

Is it the case that latest Atollic GDB servers contain a lock-in to Atollic TrueStudio IDE? Maybe I'll try and find out. Try an older version and see if it works. However I don't know if it's still available.

Anyways I use OpenOCD v0.6.0, works better and programs faster than the stock GDB server. Maybe try it and see.

Also, if you use USB 3.0, please see here: viewtopic.php?f=13&t=552&start=47 , as you might encounter errors while connecting using Freddie Choppin Binaries.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiStudio preview

Post by Giovanni »

Hi,

The Atollic GDB server is not open source :-)

I am working with version 1.5.6, you are using 1.6.0, it is possible they changed something in order to not allow use outside their own environment.

No problems, use OpenOCD, it works with ST-Link perfectly.

Edit: Abhishek beat me this time :-)

Giovanni
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: ChibiStudio preview

Post by Abhishek »

Previous versions of Atollic may be found here: (try 3.0 or 3.1)
http://download.atollic.com/TrueSTUDIO/installers/

Don't know when they might come to know about this and remove all the stuff.

I'll take this post down soon, before the guys get a hint.

Abhishek
jscott
Posts: 129
Joined: Tue Jul 03, 2012 3:50 pm

Re: ChibiStudio preview

Post by jscott »

Well.... No luck.... Still getting about the same error....

Atollic TrueSTUDIO gdbserver for ST-Link. Version 1.4.6 Pro
Developed by Atollic AB for STMicroelectronics
Copyright 2010-2011, Atollic AB and STMicroelectronics


Starting server with the following options:
Persistant Mode : Enabled
LogFile Name : debug_log.txt
Logging Level : 31
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Enabled
SWD Debug : Enabled
NVIC_DFSR_REG = 0x00000009
NVIC_CFGFSR_REG = 0x00000000
ST_LINK Major version =2 Jtag version =15
ST_LINK VID=1155 PID=14152
ST_LINK device status: HALT_MODE
Hardware watchpoint supported by the target
FuncEntry
STM32 device: id =10016413
STM32 device: Flash size =1024
FuncExit
FuncEntry
FuncExit
Connected to the ST-Link Debugger.
Start Logging
Waiting for client to connect on port 61234 ...
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: ChibiStudio preview

Post by Abhishek »

It's good enough. I hope the LED on the board is green now.

Now, go and launch GDB by clicking the bug icon and selecting the debug configuration.
jscott
Posts: 129
Joined: Tue Jul 03, 2012 3:50 pm

Re: ChibiStudio preview

Post by jscott »

OK, so how do I try out OpenOCD?

When I try to start it, I get the error..

Variable references empty selection: ${project_loc}
Post Reply