Content originally posted in LPCWare by Harrie on Mon Dec 14 07:49:34 MST 2015
Thank you for your input.
I managed to strip down the code, I hope this makes locating the problem easier.
The error occurs after approximately 15 to 20 minutes. (i.e. the content of data_0 and data_1 isn't updated)
Below are the project properties, to reserve RAM for the can message buffer and can API.
C/C++ Build > MCU settings
Memory details (LPC11C22/301)*
TypeNameAliasLocationSize
FlashMFlash16Flash0x00x4000
RAMRamLoc8RAM0x100000c00x1f20
C/C++ Build > Settings
MCU Linker > Managed Linker Script
Manage linker scriptEnabled
Enable Code Read ProtectDisabled
Link application to RAMDisabled
Stack offset32
LibraryRedlib (none)
Looking forwards to the solution.
Kind regards,
Harrie