Debugging with the BDM : RAM issues

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

Debugging with the BDM : RAM issues

2,106 次查看
Gizzzmo
Contributor I
Hi,

First, i've a doubt about RAM address in a MC9S12E128, because it's not really clear in the datasheet. Is it from 0x0400 to 0x1FFF or from 0x2000 to 0x4000 ??

I want to load code in the RAM section of a MC9S12E128 but i am using a BDM to load my program and BDM uses RAM for him. I would know if we can configure the debugger in order to reserve a part of the RAM for personnal use (code).

Thanks.
标签 (1)
0 项奖励
回复
1 回复

622 次查看
imajeff
Contributor III
You are likely confused because of a serial monitor preloaded in Flash for the development board.
  1. On power up and reset, the E128 itself maps RAM starting 0x2000. This includes a reset while debugging with BDM.
  2. If the serial monitor is in boot up Flash, it typically maps the RAM to be more consistent with other devices so that your programs using minimum RAM could work the same on multiple devices with different amounts.
0 项奖励
回复