/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / problem with can on ride7 v7.30

Username:     
Password:     
             

Forum

# 1   2010-09-24 15:23:06 problem with can on ride7 v7.30

elfo106
New member
Registered: 2010-09-24
Posts: 4

problem with can on ride7 v7.30

On v.7.30 the interrupt USB_LP_CAN_RX0_IRQHandler doesn't work and I can't use breakpoint inside that interrupt when using the stm32f103rbt6.

I downgrade for ride7 v.7.01 and it is working allright.

thanks,

Nuno

Last edited by elfo106 (2010-09-24 15:23:32)

Offline

 

# 2   2010-09-27 06:59:03 problem with can on ride7 v7.30

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: problem with can on ride7 v7.30

First, I don't understand why the Ride version should make an interrrupt of your code not working !
What is the version of your KitARM ? Did you also downgrade it ?

Offline

 

# 3   2010-09-27 14:13:22 problem with can on ride7 v7.30

elfo106
New member
Registered: 2010-09-24
Posts: 4

Re: problem with can on ride7 v7.30

hello, thanks for your help.

Im using KitArm 1.26, and yes I also tried to downgrade it to the version that comes in the CD.

Last edited by elfo106 (2010-09-27 14:13:45)

Offline

 

# 4   2010-09-28 07:04:37 problem with can on ride7 v7.30

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: problem with can on ride7 v7.30

Hi Nuno,

Could you please send me your project, in order to do some tests ?

Yves

Offline

 

# 5   2010-09-28 20:38:05 problem with can on ride7 v7.30

elfo106
New member
Registered: 2010-09-24
Posts: 4

Re: problem with can on ride7 v7.30

I dont know how to attach the project in here, so I put it in there:

http://rapidshare.com/files/422015490/CAN2_Problem.rar

sorry

thanks

Offline

 

# 6   2010-09-29 06:39:10 problem with can on ride7 v7.30

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: problem with can on ride7 v7.30

Hi Nuno,

Your problem comes from the ST Library version provided with Ride7, and you use the precompiled library. Unfortunately, ST has changed some IRQ handler names.

The new name for your IRQ is $1 instead of $1.

The linker does not see anything because of the "weak" mechanism in the startup file :
  .weak  USB_LP_CAN1_RX0_IRQHandler
  .thumb_set USB_LP_CAN1_RX0_IRQHandler,Default_Handler

If you don't write your own IRQ handler (with the good name), the Default_Handler is called.

Regards,
Yves

Offline

 

# 7   2010-09-30 22:09:30 problem with can on ride7 v7.30

elfo106
New member
Registered: 2010-09-24
Posts: 4

Re: problem with can on ride7 v7.30

you have solved my problem, thanks a lot!!

Offline

 

Board footer