Trying to keep applicationbinfile in0x2000 and created section in bootloader wkspace but not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trying to keep applicationbinfile in0x2000 and created section in bootloader wkspace but not working

1,881件の閲覧回数
HepSibha
Contributor I

Hi, 

 

I have created APP section at 0x2000 in input (linker option), but my application vector table is storing somewhere like 0x4000 in memory and I was unable to jump from  bootloader to application my I know what was the reason?

0 件の賞賛
返信
7 返答(返信)

1,862件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, 

Could you tell us about your MCU number? please.

Best regards,
Pavel

0 件の賞賛
返信

1,792件の閲覧回数
HepSibha
Contributor I

Hi, I'm using MKM34Z256VL7 and I dont have internal flash memory sectors info...

0 件の賞賛
返信

1,765件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry for the late response, I reviewed the SDK for that MCU there is an example of a bootloader did you check it?

Pavel_Hernandez_0-1706316979064.png

Best regards,
Pave

0 件の賞賛
返信

1,734件の閲覧回数
HepSibha
Contributor I

Hi , Thank you for your response, sorry, I'm a beginner ,I started recently working on this controller and I have no idea about that SDK and I tried to check that SDK for this controller, but I did'nt find that  SDK  number for this controller. May I know what was the SDK number?

0 件の賞賛
返信

1,726件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I do not understand the main idea of your doubt, are you referring to the number of the MCU? do not worry I will try to help you.

On the SDK builder find the TWR-KM35, the major of EVK has examples. If you want to use a specific device km35xxxx different from the board EVK you could migrate the example to your target.

Select Board | MCUXpresso SDK Builder (nxp.com)

Pavel_Hernandez_0-1706827302914.png

Let me know if you need more information.

Best regards,
Pavel

0 件の賞賛
返信

1,663件の閲覧回数
HepSibha
Contributor I

appreciate your response. checked it and found that my bootloader code is operating. However, was curious about the memory map of the FLASH memory of the MKM34Z256 controller. have created few sections in the bootloader called boot_config. When checked the sections in the .map file, found some .text code. If were to erase those specific sections during runtime, would that affect my code as well?

0 件の賞賛
返信

1,651件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, well maybe yes depends on what you erase but during runtime is not possible because your image was made, the map specifies what direction of memory is assigned to the code.

Best regards,
Pavel

0 件の賞賛
返信