Bugs in nxp_lpcxpresso_11c24_periph_ccan_rom?

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

Bugs in nxp_lpcxpresso_11c24_periph_ccan_rom?

957件の閲覧回数
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 返答(返信)

934件の閲覧回数
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 件の賞賛
返信

934件の閲覧回数
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 件の賞賛
返信