s32k144 RAppID BL Tool Error

cancel
Showing results for 
Search instead for 
Did you mean: 

s32k144 RAppID BL Tool Error

449 Views
Contributor III

Hi, I use S32K144 EVB and RAppID BL Tool.

But, there are some problem to downloading program.

1. I download T:\MBDToolbox\mbdtbx_S32K\tools\BootLoader\RBF_Files\SK144_Bootloader.rbf by S32DS Studio.

2. I try to download my hex file by RAppID BL Tool Serial Port by openSDA in S32K144 EVB.

This Operation (Read MCU Memory and Erase Flash Only) is Okay. But Erase and Prohram operation is Error.

I attached Trace Window. What is problem? 

TX:   01 00 00 00 AA AA AA AA
RX:   FF 00 00 FE 00 00 00 00    Init
TX:   02 01 00 00 00 00 00 00
RX:   FF 00 01 FE 00 00 00 00    Erasing
TX:   10 02 00 00 05 A0 AA AA
RX:   FF 00 02 FE 00 00 00 00    Erasing
TX:   22 03 00 70 00 20 11 04
RX:   FF 32 03 FE 00 00 00 00    APP 0%
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init
TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00 TX:   01 03 00 00 AA AA AA AA
RX:   FF 32 03 FE 00 00 00 00    Init

Labels (1)
Tags (2)
0 Kudos
6 Replies

9 Views
NXP Employee
NXP Employee

Hi, 

can you please share your app .srec ? I'll try to use it with my EVB. Thanks. 

Jiri 

0 Kudos

9 Views
Contributor III
0 Kudos

9 Views
NXP Employee
NXP Employee

Hi, 

did you modify linker script? You need to move start address from 0x00000000 to 0x00002000 for use RappID Bootloader: 

/* Specify the memory areas */
MEMORY
{
/* Flash */
m_interrupts (RX) : ORIGIN = 0x00002000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00002400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00002410, LENGTH = 0x0007DBF0

/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000

/* SRAM_U */
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000
}

Jiri

0 Kudos

9 Views
Contributor III

Hi,

I don't modify the code.

So, can I give SK144_Bootloader.rbf ?

and, I test by using the RAppID Boot Loader ver. 1.6.7.35

thanks you.

0 Kudos

9 Views
NXP Employee
NXP Employee

Hi, 

if you didn't modify the project linker file (the motor control demo)  - bootloader is overwritten by your app. Try to modify by the way as I wrote above. You can also try the bootloader example - it is part of S32DS installation - to see how the RappID bootloader works. 

Hope it helps. 

Jiri 

0 Kudos

9 Views
Contributor III

I modified the code the way you told me.

As a result, the download was successful.

I wonder how I started with the code I downloaded.

Even when the power is turned off and then on again, it does not go to the application.

And, I did additional test by CAN device.

I use VN1640A.

So, there are same problem as below.

https://community.nxp.com/message/899755?commentID=899755#comment-899755

Can I konw if the boot loader is working on the VN1640A?

Or, As the link, Should I have the latest bootload.rbf files?

Thanks you.

0 Kudos