Hello all,
I recently purchased a MPC5744P DEVKIT from NXP and received the Rev E. I flashed the bootloader with the the new RBF file .
However, my devkit is behaving wierdly now.I came across the following scenarios:
1) When i flash the devkit using Simulink, the flashing is successful. (i say successful because it shows all the steps in RAppID: erasing, and flashing percentage etc.). After flashing is complete, the code does not execute. I tried flashing the simple simlpe LED blinking example provided by NXP, but even that flashes successfully but does not execute.
Please let me know if anyone can help me fix this issue.
Thanks in advance
Hello m15871781742@163.com,
Thank you for your fast response. Since I cannot reproduce the issue on my side, can you do the below action, please?
Thank you very much for your support!
Kind Regards,
Marius
Hello,Marius.
Thanks for your reply.I have read your advice.
For the first advice,i do not have an external power supply,and i will buy one.
For the second advice .I have tried,but the blue LED didn't blink.I don't know if i have performed the correct action.
For the third advice, I can't find the MPC5744P_GHS_Base_Flash_startup_simple in my simulink toolbox, can you tell me where is it?Or can you send me the code?
Thank you very much.
SHAO Jianbo
Hello m15871781742@163.com,
For the second advice, the generated mot file had some changes, and if you have flashed it in the screenshots from the second message, it means that you have flash it correct.
For the third advice, this is more like a test. Since I can not reproduce this issue on my side, debugging the code that I've sent you in the zip archive would probably get stuck at some line. So if you can, please run the elf from the archive in the S32DS for PA and send a feedback if you manage to find the unlucky line.
Thank you,
Marius
Hello Marius,
Sorry I didn't see that you have send me the file.This time ,I tried the file you send me.
For the first advice, I find an external supply. The LED still not blink.
For the second advice, the blue LED still not blink.
For the third advice, I used the elf by S32DS, the board didn't change the state.I put some screenshots below.
Thanks you
Hello SHAO Jianbo,
On some boards, some of our clients encountered this problem too. But I can't reproduce it on our boards, because on all our Rev E the generated code is running as expected. I was investigating this remotely with another client and the conclusion is that once the external clock is initialized, the execution crashes.
Please send me the code from the actual MCU (SPC5744PFMLQ9 1N15P QMZDR1913R) and I will ask further.
Marius
Hi @mariuslucianand ,
Do you have updates regarding this topic?
I am encountering now the same exact issue.
I have a project build with Processor Expert and two MPC5744P development boards with the following MCU codes:
- QMZDR1913R
- QMZFT1928J
The second one works perfectly, but the first one gets stuck when configuring the clocks via CLOCK_DRV_Init function with the following disassembly instructions:
On the other hand, with the QMZDR1913R, I can run without problems the AN12017 SW (3-Phase PMSM Development Kit with MPC5744P), where the clocks configuration is identical to what I have configured in PE.
Please let me know if you have updates regarding this topic. Thank you!
Hello,Marius.
thanks for your reply.my MCU code is SPC5744PFMLQ9 1N15P QMZDR1913T