## s32k144 RAppID BL Tool Error

cancel
Showing results for
Did you mean:

## s32k144 RAppID BL Tool Error

449 Views
Contributor III

Hi, I use S32K144 EVB and RAppID BL Tool.

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)
• ### General

Tags (2)
6 Replies
9 Views
NXP Employee

Hi,

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

Jiri

9 Views
Contributor III
9 Views
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

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.

9 Views
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

9 Views
Contributor III

I modified the code the way you told me.

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?