No Connection with FreeMaster to MPC5744P Devkit

cancel
Showing results for 
Search instead for 
Did you mean: 

No Connection with FreeMaster to MPC5744P Devkit

Jump to solution
1,356 Views
lukasschäfer
Contributor III

Hi,

i don't get a connection to the MPC5744P devkit with FreeMASTER.

I can flash the controller but with FreeMaster is no connection. (Error code 0x80000101)

Thank you for support.

 

Lukas

Original Attachment has been moved to: ADC1.slx.zip

1 Solution
329 Views
lukasschäfer
Contributor III

Hi Daniel,

the hot fix is the solution.

Thank you for your support.

Best regards

Lukas

View solution in original post

10 Replies
329 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi lukasschäfer

Can you give us a screenshot with your Freemaster Communication settings ?

You need to select the COM port that has been mapped on your OS

Something like this:

pastedImage_1.png

Best regards,
Daniel

0 Kudos
329 Views
lukasschäfer
Contributor III

freemaster.png

0 Kudos
329 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi lukasschäfer‌,

Let us try the following scenario:

#1: start a new Freemaster project from scratch

#2: go to Project Options and Configure the COM port and the MAP files to read the symbols from

#3: select: do not open port at startup

#4: click ok;

#5: now click on STOP button. This is a toggle button to start or stop the commnution

Capture.JPG

If the board is power up and running after click-ing on STOP it should work

Hope this will help.

Best regards,
Daniel

0 Kudos
329 Views
lukasschäfer
Contributor III

Hi Daniel,

i tried this but it doesn't work.

I think there is another problem with the controller.

If i flash a simple programm with one switch and a led nothing happens on the board.

The Led doesn't light.

bootloader.png

0 Kudos
329 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi lukasschäfer‌,

Please program this model on your board and tell me if the RED RGB is ON.

For your reference this is my board setup. Make sure your jumpers are set correctly.

1.JPG

2.JPG

Hope this help!

Daniel

0 Kudos
329 Views
lukasschäfer
Contributor III

Hi Daniel,

all my jumpers are set correctly.

i programmed your model on the board but nothing happens.

Is there maybe something wrong in the s32 design studio?

debug.png

debug2.png

debug3.png

0 Kudos
329 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi lukasschäfer‌,

It should not be related with S32DS. In fact i checked on my side with 12345 project attached and it works fine.

Furthermore - you said the application works to be programmed from the Matlab - this means the UART is operational otherwise the programming would fail.

I would do the following:

#1: configure the Simulink to build the application for SRAM and test if it is the same behavior 

1.JPG

#2: After programming try an ATTACH without RESET from S32DS. 

2.JPG

What do you see in debugger - is you suspend and resume the target? Does the PC changes?

3.JPG

#3: Do you have a single board ? Does it happens the same on other boards ?

FYI here is my board revision.

4.JPG

#4: Does your USB allows enough current drawn ? Perhaps you can try with an external power source as well to see if the behavior is changing.

Best regards,
Daniel

0 Kudos
329 Views
lukasschäfer
Contributor III

Hi Daniel,

i tried debugging from Flash and SRAM with different runtime options.

The debugger jumps always to adress 0x000000010: se_illegal  (see on pictures)

SRAM:

Debugfail.png

FLASH:

debugflash.png

With a second device:

Debugging:

Debugdevice2.png

The debugger is connected to the device but if i want to programm this with matlab it doesn't work:

Flashfaildevice2.png

I also tried it with an external power.

The board revision is the same like yours.

Thank you.

Lukas

0 Kudos
329 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi lukasschäfer‌,

That is quite strange but i think i know what might be the problem now.

When we released the Toolbox the latest version of the S32DS was version1.1

In the mean time they have changed a couple of things.

Please use this hot fix: https://community.nxp.com/thread/451804#comment-916493 and regenerate the code with FLASH target.

In addition, please find my MBD ADC1 generated project. I bet that if you take my executable file and program it to the flash it should work. You can use RAppID.exe to flash the ADC1.mot file into the MPC5744.

Capture.JPG

Hope this will resolve the issue.

Thanks for your patience!

Best regards,
Daniel

0 Kudos
330 Views
lukasschäfer
Contributor III

Hi Daniel,

the hot fix is the solution.

Thank you for your support.

Best regards

Lukas

View solution in original post