Due_can execute code in ram classe error
Hi, I tested Due_can code in flash runnig ok. now compile program for execute in RAM, cause error.
I tested IDE PIO and eclipse.
othes function with ISR ok, serial, TC2...
Problems " ", call classe CANRaw, and write register in m_pCan
see my function test:

if write register error, Can0.init( CAN_BPS_500K); Can0.watchFor(); thanks, Carlos.
I have to admit that I have never tried to move the routines into RAM. I do not know why doing so would cause a hard fault in code that accesses the baud rate register. The most likely reason would be for m_pCan to be null but it should not be. Do you have a full sketch that demonstrates this problem?
Hi Collin, thanks your help,
[ SOLVED ]

my case ram, used source.c = ok
thanks, Carlos.