Message RAM in CAN controller on LPC54618

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Message RAM in CAN controller on LPC54618

1,061 Views
carstenhoffmann
Contributor I

I am using the LPCXpresso54618 demo board with CAN FD kit.

Do I have to instruct the linker not to use the RAM area I dedicated to the CAN controller?

How is this done?

I cannot find any hint in the provided CAN example software.

In the demo the message RAM starts at 0x2001000.

The memory configuration tells the linker to use the whole 160kB RAM area.

Is this correct?

Thanks for your help,

Carsten

Labels (1)
0 Kudos
4 Replies

773 Views
carstengroen
Senior Contributor II

Carsten,

please also have a look at Norbert and my findings here: https://community.nxp.com/thread/464785 

(sorry, can't help you if you are using MCUExpresso, using Keil on my end)

0 Kudos

773 Views
carstenhoffmann
Contributor I

Thanks Carsten,

I noticed the other thread. Still not solved...

Could there be a correlation between both subjects?

Do you instruct your linker not to use the CAN message RAM?

0 Kudos

773 Views
carstengroen
Senior Contributor II

Hi Carsten,

I use a scatter file for the linker which basically tells the linker to keep away from the memory I have allocated (using the "at" attribute) for the CAN ROM API.

I'm sorry, I don't know the details of the MCUExpresso!

0 Kudos

773 Views
carstenhoffmann
Contributor I

Thank you Carsten,

since this is a beginner's question maybe somebody else can help doing this with MCUXpresso.

0 Kudos