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 件の賞賛
返信