Cannot able to flash sample bootloader code through MCUSecure Provisioning ToolV4.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot able to flash sample bootloader code through MCUSecure Provisioning ToolV4.0

跳至解决方案
947 次查看
vishnusudhankj
Contributor III

I tried to build the evkmimxrt1160_flashloader_cm7 (bootloader example) using MCUXpresso IDE. The generated axf/bin file flashed using MCu Secure Provisioning ToolV4.0 . While flashing the start address getting assigned as "0x20202000" & Getting error as like below,

 

 

Screenshot from 2022-05-12 18-44-00.png

 

Suggested any thing needs to config in project setting to load the sample boot loader code? 

cc: @kanimozhi_t 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
902 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Is it possible where your reference to change the memory region?
-- Yes, you can modify the linker file to change the memory region.
Hope this is clear.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
903 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Is it possible where your reference to change the memory region?
-- Yes, you can modify the linker file to change the memory region.
Hope this is clear.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
936 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please modify the linker as below shows, to avoid using the OCRAM M4 area.

MEMORY
{
  m_interrupts          (RX)  : ORIGIN = 0x20250000, LENGTH = 0x00000400
  m_text                (RX)  : ORIGIN = 0x20250400, LENGTH = 0x0001DC00
  m_data                (RW)  : ORIGIN = 0x20270000, LENGTH = 0x00010000
}

jeremyzhou_0-1652411336446.png


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
909 次查看
vishnusudhankj
Contributor III

@jeremyzhou 

currently i am using default CM7 flash loader available in the MCUXpresso IDE & i am not modifying any memory region or partition .

Hope the default sample flash loader application will map to the CM7 core .

Is it possible where your reference to change the memory region? 

Below is the memory region currently the default CM7 flash loader program has,

Screenshot from 2022-05-18 10-53-50.png

suggest us is that memory mapping is correct?

0 项奖励
回复