What RAM is used by ROM api's

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

What RAM is used by ROM api's

849 次查看
gregwilson-lind
Contributor II

I'm using a couple of LPC15xx and I am wondering whatRAM is used by the ROM API's such as the CAN api. I've found documentation that says that the top (maybe 32 bytes) of the first RAM block is used by the on chip Flash API, but I can't find anything on any of the other ROM api's.  

The project that I'm working with has 0x120 (288) bytes reserved at the top of RAM0_4 above the top of stack, which puts the Top Of Stack at 0x02000EE0. Is this much reserved space necessary. It's also annoying because if makes combining the RAM regions to get more space difficult.

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

598 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Greg,

New parts like the LPC15xx does not need a specific RAM section for ROM API usage if it's not explicitly mentioned.

Normally there is a get_ram_size() function to tell the user how much RAM size is needed for ROM drivers.


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励
回复