MPC5744P - start up

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5744P - start up

746 Views
naveen_lingampe
Contributor I

Hi,

i am new to MPC and i am trying to understand start up sequence of MPC5744P base on  a available project.

Below is the snapshot of mot file generated.

pastedImage_2.png

.boot_rcw is assigned to address 0x00FA0000 in linker script.

pastedImage_3.jpg

Below is the snap from startup code.

pastedImage_4.jpg

As per below info, _start is assigned value at address 0x00FA0004 which is 0x00FA0500

pastedImage_5.png

RCHW_VAL( .boot_rcw) is assigned value 015A0000 in start up file, which can be seen in mot file(at 0x00FA0000).

Not able to understand how the next 4 bytes in mot file(0x00FA0004) has value 0x00FA0500

Dont find any assignment anywhere in start up or linker.

Thank you.@@@

Tags (2)
2 Replies

628 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Just look at the value of _start.

pastedImage_1.png

Here you can see that first 4 bytes are RCHW word

next one is long. so 4 bytes with _start -> your start address value.

I am quite confused what are you looking for, could you be more specific?

pastedImage_2.png

regards,

Peter

628 Views
naveen_lingampe
Contributor I

Hi Peter,

 

Thank you.

I am trying to know how the value 00FA0500 got generated in the mot file.

How the 4 bytes(Application start address) after RCHW word are assigned.

 

Thank you.

Naveen

0 Kudos