EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Reg: Default Memory map for MC9S12XDP512 mcu

Started by yadunandan kasu January 29, 2008
Hi everyone,

I am working on MC9S12XDP512 mcu using HCS12X starter kit, I am not
very good at MCU knowledge right now.

During my work, I got stuck in the Memory map concept in this MCU.

I created a project using Codewarrior(Version 5.7.0). I just initialized
the PLL module and use some basic code to glow the LED's and downloaded
the soruce to the Starter kit using BDM and its working fine.

I came to know that if the serial monitor is avilabe, _Startup() will
initialize or map the internal Register, RAM and EEPROM address location

I donot know what is this Serial monitor is used for
(_HCS12_SERIALMON)..? (can any one provide a brief expalanation plz..?)

I am very much confused about this.

And, I think my project is not using this Serial monitor (because, the
Macro _HCS12_SERIALMON and the registers of INITRG,INITRM &INITEE are
not highlighted with blue color).

So,if my project is not using Serial monitor program, who will map or
initialize those memory blocks to the default locations...?

Thanks & Regards

Kasu
Hello Kasu,

The memory model of the micro does not change when you are in debug or
not.

Please have a look at the presentation linked below that explains the
memory mapping.

http://dl.k-noo.net/technical/S12XD_XE_Training_68hc08.net_March07.pdf

If you need more, just post.
Cheers,
Alban Rampon.
K-Noo.net

--- In 6..., "yadunandan kasu"
wrote:
> Hi everyone,
>
> I am working on MC9S12XDP512 mcu using HCS12X starter kit, I am not
> very good at MCU knowledge right now.
>
> During my work, I got stuck in the Memory map concept in this MCU.
>
> I created a project using Codewarrior(Version 5.7.0). I just initialized
> the PLL module and use some basic code to glow the LED's and downloaded
> the soruce to the Starter kit using BDM and its working fine.
>
> I came to know that if the serial monitor is avilabe, _Startup() will
> initialize or map the internal Register, RAM and EEPROM address location
>
> I donot know what is this Serial monitor is used for
> (_HCS12_SERIALMON)..? (can any one provide a brief expalanation plz..?)
>
> I am very much confused about this.
>
> And, I think my project is not using this Serial monitor (because, the
> Macro _HCS12_SERIALMON and the registers of INITRG,INITRM &INITEE are
> not highlighted with blue color).
>
> So,if my project is not using Serial monitor program, who will map or
> initialize those memory blocks to the default locations...?
>
> Thanks & Regards
>
> Kasu
>
>
Thank you very much Alban,
I will look over your presenation file, i think it helps me alot

Thanks again
Nandu

Alban Rampon wrote:
Hello Kasu,

The memory model of the micro does not change when you are in debug or
not.

Please have a look at the presentation linked below that explains the
memory mapping.

http://dl.k-noo.net/technical/S12XD_XE_Training_68hc08.net_March07.pdf

If you need more, just post.
Cheers,
Alban Rampon.
K-Noo.net

--- In 6..., "yadunandan kasu"
wrote:
> Hi everyone,
>
> I am working on MC9S12XDP512 mcu using HCS12X starter kit, I am not
> very good at MCU knowledge right now.
>
> During my work, I got stuck in the Memory map concept in this MCU.
>
> I created a project using Codewarrior(Version 5.7.0). I just initialized
> the PLL module and use some basic code to glow the LED's and downloaded
> the soruce to the Starter kit using BDM and its working fine.
>
> I came to know that if the serial monitor is avilabe, _Startup() will
> initialize or map the internal Register, RAM and EEPROM address location
>
> I donot know what is this Serial monitor is used for
> (_HCS12_SERIALMON)..? (can any one provide a brief expalanation plz..?)
>
> I am very much confused about this.
>
> And, I think my project is not using this Serial monitor (because, the
> Macro _HCS12_SERIALMON and the registers of INITRG,INITRM &INITEE are
> not highlighted with blue color).
>
> So,if my project is not using Serial monitor program, who will map or
> initialize those memory blocks to the default locations...?
>
> Thanks & Regards
>
> Kasu
>
>

regards
Yadunandan Kasu(Nandu)

---------------------------------
Save all your chat conversations. Find them online.

Memfault Beyond the Launch