APP Start Address is null in debugging S32K341 bootloader

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

APP Start Address is null in debugging S32K341 bootloader

Jump to solution
1,467 Views
Sylvia_jiang
Contributor IV

Hi Tom, @nxf10035

          I am working with my app based on MCAL(RTD 4.0.0) and bootloader recently. The issue is that loading app from start address 0x441004 faild after mcu reset. I captured two packet flow of my APP1.bin based on RTD 2.0.3 and my APP2.bin based on RTD 4.0.0 by PCAN-VIEW trace.  By contrast I found that a 0x784 packet is all zero instead of 211444 as below, which should be wrotten in address 0x441004.  And I found that there are some differences between APP1 linker file and APP2 linker file.  Would you provide some advise on it?

Looking forward to your reply.

Sylvia_jiang_2-1723169733590.png

 

Sylvia_jiang_1-1723169193694.png

BR

Sylvia

 

0 Kudos
Reply
1 Solution
1,374 Views
Sylvia_jiang
Contributor IV

Hi Tom, @nxf10035,

            I am really appreciate for your reply.  The problem has been resolved.

BR

Sylvia

View solution in original post

0 Kudos
Reply
3 Replies
1,408 Views
Queenie
NXP Employee
NXP Employee

Hi Sylvia,

We will let distributor FAE email or on-site support your company.
Please wait for the distributor FAE to contact you this week, thank you.

Best regards,

0 Kudos
Reply
1,450 Views
Sylvia_jiang
Contributor IV

Hi Tom, @nxf10035,

          I add two linker file attachments. Please help me. 

BR

Sylvia

0 Kudos
Reply
1,375 Views
Sylvia_jiang
Contributor IV

Hi Tom, @nxf10035,

            I am really appreciate for your reply.  The problem has been resolved.

BR

Sylvia

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1928719%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAPP%20Start%20Address%20is%20null%20in%20debugging%20S32K341%20bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1928719%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHi%20Tom%2C%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67797%22%20target%3D%22_blank%22%3E%40nxf10035%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20I%20am%20working%20with%20my%20app%20based%20on%20MCAL(RTD%204.0.0)%20and%20bootloader%20recently.%20The%20issue%20is%20that%20loading%20app%20from%20start%20address%200x441004%20faild%20after%20mcu%20reset.%20I%20captured%20two%20packet%20flow%20of%20my%20APP1.bin%20based%20on%20RTD%202.0.3%20and%20my%20APP2.bin%20based%20on%20RTD%204.0.0%20by%20PCAN-VIEW%20trace.%26nbsp%3B%20By%20contrast%20I%20found%20that%20a%200x784%20packet%20is%20all%20zero%20instead%20of%20211444%20as%20below%2C%20which%26nbsp%3Bshould%20be%20wrotten%20in%26nbsp%3Baddress%200x441004.%26nbsp%3B%20And%20I%20found%20that%20there%20are%20some%20differences%20between%20APP1%20linker%20file%20and%20APP2%20linker%20file.%26nbsp%3B%20Would%20you%20provide%20some%20advise%20on%20it%3F%3C%2FP%3E%3CP%3ELooking%20forward%20to%20your%20reply.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sylvia_jiang_2-1723169733590.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sylvia_jiang_2-1723169733590.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F292678iC80CA81C16FF6A0B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sylvia_jiang_2-1723169733590.png%22%20alt%3D%22Sylvia_jiang_2-1723169733590.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sylvia_jiang_1-1723169193694.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sylvia_jiang_1-1723169193694.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F292673i60180B073528A10A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sylvia_jiang_1-1723169193694.png%22%20alt%3D%22Sylvia_jiang_1-1723169193694.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3CP%3ESylvia%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1931583%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20APP%20Start%20Address%20is%20null%20in%20debugging%20S32K341%20bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1931583%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Tom%2C%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67797%22%20target%3D%22_blank%22%3E%40nxf10035%3C%2FA%3E%3C%2FSPAN%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20I%20am%20really%20appreciate%20for%20your%20reply.%26nbsp%3B%20The%20problem%20has%20been%20resolved.%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3CP%3ESylvia%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1929841%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20APP%20Start%20Address%20is%20null%20in%20debugging%20S32K341%20bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1929841%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%20size%3D%224%22%3EHi%26nbsp%3BSylvia%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%20size%3D%224%22%3EWe%20will%20let%20distributor%20FAE%20email%20or%20on-site%20support%20your%20company.%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%20size%3D%224%22%3EPlease%20wait%20for%20the%20distributor%20FAE%20to%20contact%20you%20this%20week%2C%20thank%20you.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%20size%3D%224%22%3EBest%20regards%2C%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1928744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20APP%20Start%20Address%20is%20null%20in%20debugging%20S32K341%20bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1928744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHi%20Tom%2C%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67797%22%20target%3D%22_blank%22%3E%40nxf10035%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20I%20add%20two%20linker%20file%20attachments.%20Please%20help%20me.%26nbsp%3B%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3CP%3ESylvia%3C%2FP%3E%3C%2FLINGO-BODY%3E