S32K144 Bootloader

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

S32K144 Bootloader

2,285件の閲覧回数
vinaykl
Contributor III

Hello Team,

           I have downloaded the bootloader example from a NXP forum page. The example works great for s32k144 with the bin files already provided in the Gateway application. But I want to create my own bin image and flash it using the gateway application and wanted to update firmware with my custom bin file. But I was failed to do so. I just wanted to know what and all are the limitations and the structures or the rules I need to follow to create a bin file to be use din Gateway application. I have added the screenshot with this question for your reference. 

Thank you.

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

2,262件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@vinaykl

sorry for the late repley,I didn't find the source projects of s32k144_blue_led_pic and s32k144_red_led_pic, but according to some tips in the linked file, I think you can make the application according to the link file below

bule.bin
/* Flash */
m_interrupts (RX) : ORIGIN = 0x00002000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00002400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00002410, LENGTH =0x3DBF0 /* 0x40000-0x2410 */

red.bin
/* Flash */
m_interrupts (RX) : ORIGIN = 0x00042000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00042400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00042410, LENGTH =0x3DBF0 /* 0x40000-0x2410 */

0 件の賞賛
返信

2,233件の閲覧回数
vinaykl
Contributor III

Hello Senlent,

Thank you for your response

I have already tried to create the .bin file using the configurations you have mentioned for the linker file. But unable to boot the flashed image after bootloader. Please help me how in creating the position_independent_code.bin file. I am sharing the projects with this reply.

 

Thank you 

0 件の賞賛
返信

2,229件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@vinaykl

Sorry, I don't know much about position independent code, so I may not be able to help you with that.

I found some blogs that may be helpful to you.

You can refer to this link to see if it is useful to you.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-Position-Independent-C...

thanks for your understanding.

0 件の賞賛
返信