Bugs in nxp_lpcxpresso_11c24_periph_ccan_rom?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Bugs in nxp_lpcxpresso_11c24_periph_ccan_rom?

958 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 1234567890 on Mon Nov 10 10:02:50 MST 2014
After reading the example from http://www.lpcware.com/system/files/lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip above (very quickly):

- The CAN-API is used, but no RAM is reserved for it? RAM from 0x1000 0050 to 0x1000 00B8.

- /* Send a simple one time CAN message */
msg_obj.msgobj  = 0;

I think msobj 0 doesn't exist. It's range is 1 to 32.
标签 (1)
0 项奖励
回复
2 回复数

935 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 12 00:40:11 MST 2014

Quote: 1234567890
After reading the example from http://www.lpcware.com/system/files/lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip above (very quickly):

- The CAN-API is used, but no RAM is reserved for it? RAM from 0x1000 0050 to 0x1000 00B8.



You should be able to fix this yourself by adding the following definition to the code:

__BSS(RESERVED) char CAN_driver_memory[256] ; // reserve 256 bytes for CAN driver


For more details, see:

http://www.lpcware.com/content/faq/lpcxpresso/reserving-ram-rom-drivers

Regards,
LPCXpresso Support
0 项奖励
回复

935 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Support on Tue Nov 11 15:55:00 MST 2014
Thanks for bringing this to our attention.  We will investigate this and reply back.
0 项奖励
回复