S32K144 download error

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K144 download error

2,256 Views
hongjinzeng
Contributor IV

Hi everyone,

  Today,I use RAppID BL Tool download the program into the S32K144,I connect the TXD to PTA2,RXD to PTA3.

After use S32DS flash the SK144_Bootloader.rbf

pastedImage_1.png

then I click the Debug

pastedImage_2.png

pastedImage_3.png

After I power off the mcu.

Then I open RAppID BL Tool download the program.

pastedImage_4.png

After I click Start Boot Loa,the window is blank.

pastedImage_5.png

pastedImage_6.png

0 Kudos
17 Replies

1,048 Views
nishalemos
Contributor II

@hongjinzeng 

I am even facing the same issue.

If you have resolved it could you please guide me.

I have uploaded the RBF file provided in MATLAB toolbox for UART0  CAN0.(with S32k144)

Baud Rate :115200.

But I always get Loss of Communication CPP Error.

 

Regards 

Nisha Lemos 

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi Hongjin,

Did you tried to power off the board after you flashed the rbf? I used the following steps and worked:

1. Program the rbf using DS, like you mentioned.

2. Power off the board.

3. Open the Boot Loader, load the configuration for S32K, see below the screenshot.

4. Reset the board using the rest button.

5. Start Boot Loader.

Regards,

Radu

pastedImage_1.png

pastedImage_2.png

0 Kudos

1,513 Views
fengwang
Contributor I

Hello Radu,

I do it follow you :

1. Program the rbf using DS, like you mentioned.

2. Power off the board.

3. Open the Boot Loader, load the configuration for S32K, see below the screenshot.

4. Reset the board using the rest button.

5. Start Boot Loader.

But I occur issue ,like this :

pastedImage_1.png

If the error is about the "status " in the "RAppID BL Tool " down.

thanks 

Regards,

Feng

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi Feng,

   If you use the OpenSDA you don't need the rbf, to check the OpenSDA drive open "My Computer", for example in my case is D.

pastedImage_1.png

Regards,

Radu

0 Kudos

1,513 Views
fengwang
Contributor I

Hi Radu,

I am so sorry , i can't understand " OpenSDA drive name" you said . This is my computer like this :

pastedImage_1.png

my OpenSDA drive in here

pastedImage_3.png

I change the OpenSDA drive name:C ,the error is alway here .

pastedImage_1.png

I am sorry , i have try to solve this error all day , i can't find a way to slove this error . 

could you tell me what i can do for this .

many many many thanks 

Regards,

Feng

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi Feng,

I the screenshot you sent I don't see the OpenSDA drive, can you please send a screenshot of your device manager with the COM ports?

If you don't want to use OpenSDA you can configure the Toolbox to automatically download the application through Bootloader by selecting the Serial as Download interface, also Enable BAM Request and set the correct COM port. Please the settings I used below. Also don't forget to first write the rbf file.

pastedImage_1.png 

Let me know if this scenario works for you.

Best regards,

Radu

0 Kudos

1,513 Views
fengwang
Contributor I

Hi Radu,

This is my  manager with the COM ports of OpenSDA drive:

pastedImage_1.png

I have a try the second way you said. It's OK , I am  so lucky , thanks to much .

But i connect FreeMaster with the board. it occur the error again ,

pastedImage_2.png

pastedImage_3.png

pastedImage_4.png

pastedImage_5.png

 

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi Feng,

   The Speed must be the same as the one configured in Toolbox, please see FreeMASTER config. This example uses 57600 baud rate.

pastedImage_1.png

Regards,

Radu

0 Kudos

1,513 Views
fengwang
Contributor I

Hi Radu,

I want to learn  BLDC control with S32K144,but I can't  find a demo like this :

Screen Shot 2017-02-23 at 2.47.35 PM.png

Could you tell me where can I find it ?

thanks you !

Regards,

Feng

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi Feng,

Please create a separated discussion and close this one. Mark the previous answer as correct.

Regards,

Radu

0 Kudos

1,513 Views
fengwang
Contributor I

Hi Radu,

I am so lucky , You are right , It's ok .

Thank you too much in my heart !

Regards,

Feng

0 Kudos

1,513 Views
hongjinzeng
Contributor IV

After I click the 'start boot loa' button,the RAppID BL Trace Window is always show Init and erasing.Then the error is display.

pastedImage_1.png

pastedImage_2.png

pastedImage_3.png

0 Kudos

1,513 Views
fengwang
Contributor I

Hi Hongjin,

I have the trouble like as you ,how did you to solve this error , I need you help ,please !

thank you very much 

Regards,

Feng

0 Kudos

1,513 Views
hongjinzeng
Contributor IV

my QQ is 944712961...

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi Hongjin,

   Please update the speed field to 115200 not 14400. That is the default speed used by the BootLoader.

Best regards,

Radu

0 Kudos

1,513 Views
hongjinzeng
Contributor IV

No matter how to set the speed,the RappID BL Window Trace Window show init and erasing.Then I use S32DS flash the elf file,but I find a problem when I power off the MCU,then I power on the MCU,the MCU would delay 5 seconds.How to reduce the time?

0 Kudos

1,513 Views
raduivan
NXP Employee
NXP Employee

Hi,

   You can set the delay time using the "Download Config" panel.

pastedImage_1.png

Regards,

Radu