PCAN-View Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PCAN-View Problem

1,277件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mahalinr on Tue Nov 05 03:32:15 MST 2013
Hi
I am using LPC11c14 microcontroller and I am trying to implement CAN-Open Pogram in ECLIPSE CDT KEPLER Version.
The program is compiling and debugging perfectly but when I connect PCAN-View , it displays a blank screen as my file is not able to show the data for my Program.

Herewith I have attached my main Prog along with my screenshot of my PCAN Output.

How to get the output in PCAN

Original Attachment has been moved to: main_4.c.zip

0 件の賞賛
返信
4 返答(返信)

1,189件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mahalinr on Tue Nov 05 07:06:01 MST 2013
The thing is I am in a situation that I have to work only under eclipse cdt.

Even I have tried with LPC Expresso and I know it works really well
0 件の賞賛
返信

1,189件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Nov 05 06:56:46 MST 2013

Quote: mahalinr
Can you please tell me how to add my original linker files which I used in LPC Expresso and place it in eclipse cdt and make the Program to run.



Sorry, can't do that. I'm using LPCXpresso and would strongly recommend to use LPCXpresso V6 with managed linker scripts.

Your linker script is complete nonsense since it is for a STM32F103RGT6 (96k RAM, 1MB Flash).

Obviously you are not very familiar with this stuff, so I don't know why you don't use LPCXpresso.

Changing IDE isn't making things easier (at least for people which are trying to help you in a LPCXpresso forum).

0 件の賞賛
返信

1,189件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mahalinr on Tue Nov 05 05:54:00 MST 2013
Thanks for your help.

I tried out your solution and it doesn't send the message.

The problem is that I am using linker file stm32f103-flash.ld , as my original linker file is not working in Eclipse CDT Kepler version.

Herewith I am attaching the linker file for further reference.

After seeing this file,you will say that this file belongs to Cortex-M3 family,but I have modified the RAM and ROM addressing to make it run.

Can you please tell me how to add my original linker files which I used in LPC Expresso and place it in eclipse cdt and make the Program to run.

Thx in advance


0 件の賞賛
返信

1,189件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Nov 05 04:48:07 MST 2013
Use Debugger to verify that test message is sent. Scope CANH and CANL also.
That's showing within 5 minutes if you have a problem with your LPC11Cxx or your PCAN...

Your main.c isn't helping us to see what's happening. It's just the old NXP sample without CAN-RAM reservation.

No one knows what your Compiler is generating from this...
0 件の賞賛
返信