Download firmware to S32K144

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

Download firmware to S32K144

4,240件の閲覧回数
lohrsistemas
Contributor IV

I tried to write the firmware through the debugger. But when I restart the uC without restarting the debuguer, the firmware does not work. How do I download the firmware using S32 Design Studio for ARM?

ラベル(1)
0 件の賞賛
返信
7 返答(返信)

2,070件の閲覧回数
lohrsistemas
Contributor IV

Hi Stan,

Now I've developed a board with the S32k144 MCU, I'm using the IAR plugin to S32 Design Studio, and the Jlink JTAG, however again I have the problem of recording, when I reboot the uC without the debugger, the firmware does not run.

What can I do?

0 件の賞賛
返信

2,070件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello,

I assume you have a separate S-rec/elf you are programming into flash using the debugger?.

Do you observe any issue in a debugger console?

You can e.g. create a new dummy project and re-use its debugger configuration and place you custom file instead of original .elf file.

e.g. below is the example screenshot of programming Bootloader srec (.rbf) file into MPC5748G.

pastedImage_1.png

Hope it helps.

Stan

0 件の賞賛
返信

2,070件の閲覧回数
lohrsistemas
Contributor IV

Hi Stan,

Thank you very much for your feedback.

I think my problem is linked to the error highlighted in the screenshot.
pastedImage_1.png
How do I fix this error?

I'm using a program made with the help of expert processor, you think this has something to do with it?
0 件の賞賛
返信

2,070件の閲覧回数
stanish
NXP Employee
NXP Employee

Lohr

It seems the problem is related to the build rather then debug.

I'd recommend you to check what causes this error on Console View Tab since Problems View parser perhaps strips out the additional error information.

Could you possibly paste here the content of the Build Console tab?

Thanks!

Stan

0 件の賞賛
返信

2,070件の閲覧回数
lohrsistemas
Contributor IV

Stan,

Following screenshot below.
Can't generate the .srec file.

pastedImage_1.png

Thank u very much.

0 件の賞賛
返信

2,070件の閲覧回数
stanish
NXP Employee
NXP Employee

Lohr,

The objcopy line is for some unknown reason missing the executable file - .elf file as the input parameter.

You should see:

arm-none-eabi-objcopy -O srec My.elf "my.srec"

pastedImage_1.png

elf file is specified by variable $(EXECUTABLES)

Which is automatically generated within makefile:

pastedImage_3.png

If this variable is empty on your side i'd recommend you to delete entire output directory e.g. "Debug" and rebuild the project.

The makefile will be regenerated again.

Another check is to create a new empty project and enable Create Flash image.Build the project - does it generate srec?

Thanks!

Stan

0 件の賞賛
返信

2,070件の閲覧回数
lohrsistemas
Contributor IV

Stan,

You're right. My problem is with the variable $(EXECUTABLES). It is not being created.
I tried deleting the directory "debug" but it did'nt solve.

pastedImage_1.png

I will try to create a new project and let you know the results.

Thanks.

0 件の賞賛
返信