Topic : RIDE7 crashes when entering ST library functions

Forum : ARM

Original Post
Post Information Post
October 29, 2009 - 6:19pm
Guest

Hi,

I am using RIDE7/Rlink on an STM32 platform, and have found that in debug mode, when stepping through functions line by line that when an ST library function is entered (stm32f10x_usart.c - is one which I have confirmed), the IDE crashes to desktop. I am able to repeat this behaviour.

When I set a breakpoint after the function, the debugger runs normally, its only when I step into the code.

Any ideas?

Regards
Dave Roseman

Replies
Post Information Post
+1
0
-1
October 30, 2009 - 12:01pm
Guest

Hi

To give you more suggestions we might need:
- Ride7 and RKit-ARM versions (make sure you use last one)
- If the crash arrive with a project from ST library we would need its reference.
- If it happens with a project you have modified or created and we would need the project or a part of the project
which reproduce the issue.
- What is the board you are working on?
-

Regards,
Matloub

+1
0
-1
October 30, 2009 - 12:13pm
Guest

Hello Matloub,

Ride7 is version 7.24.09.0251
RKit is version 1.22.09.0254
I am using STM32F10x_StdPeriph_Lib_V3.1.2, the project was created from the RIDE template in that directory structure.

I am using the Keil MCBSTM32 development board v1.1.

Which parts of the project would you require? I have all my source files included and have identified problems with jumps to both usart and gpio libraries. These libraries stil work if I do run to breakpoint, but not step-into function. I can send you source if required, but not posted on a public forum.

Regards
Dave Roseman

+1
0
-1
October 30, 2009 - 12:43pm
Guest

Hello,

An update - this issue has been FIXED.

I found that it was caused by the project being on the end of a long filepath - moving to the root of my hard disk stopped this issue.

Is this a specific issue in GCC or in Ride itself?

Regards
Dave Roseman

+1
0
-1
October 30, 2009 - 3:12pm
Guest

Hi

This problem can come from hardware (ship or board) or Software (Ride7 and RKit-ARM debugger) or compiler (GCC).
As it result to a crash of our software it is our problem.
We need to fix the crash first and after wheck from which side is the problem and

I contact you by email to have the source and to see if we can reproduce te issue.

Regards,
Matloub