Hi,
I've created a "Multi-Projects" with Keil µVision 5, each "Project Targets" correspond to a specific package of a LPC54606 mcu. In the project folder I want a specific MCUXpresso Config Tools file (.mex) which match each "Project Targets" (so each package of the LPC54606 mcu).
Is it possible, if yes how to do it ?
Best regards
Enzo Bonnard
Hi,
Sure, I can ask to Keil support too.
In fact, I've tryed to implement 2 .mex file in the my Keil folder project, and it didn't work because of 2 two reasons :
-> the .mex file which match the target (LPC54606BD100) created for the first time work well, but with the second .mex file which match the target (LPC54606BD208) created for the second time, I've got this error from MCUXpresso Config Tools :
And if I open the .uvprojx of my project (file that describe the MDK uVision project) the first target declared in the <Target> tag is the LPC54606J512BD100 :
The LPC54606J512BD208 is declared in a second <Target> tag later in the file.
I think the MCUXpresso Config Tools don't check for the complete .uvprojx file but only for the first <Target> tag found...
-> The second issue is also with the second .mex file (the first one works properly). When I try to update the code with MCUXpresso Config Tools I can see the path of the file it trying to update :
For the clock the path is good (.\RTE\Board_Support\LPC54606J512BD208) but for the Pins and Peripherals it's the wrong one...
So there's a way to override these 2 issues ?
Best regards
Enzo Bonnard
Hi
Could you please provide the detailed steps of how to produce this error in configuration tool?
What's the configuration tool version?
Thanks,
Jun Zhang
Hi,
Step 1 : Create a Keil project under uVision5. Create a project target named "LPC54606J512BD100 Release" for LPC54606J512BD100 MCU => OK
Step 2 : Create LPC54606J512BD100.mex and save it in the Keil project folder. When modifying LPC54606J512BD100.mex with MCUXpresso Config Tools synchronization with clock_config.h, peripherals.h, pin_mux.h,... (path : .\RTE\Board_Support\LPC54606J512BD100) is working => OK
Step 3 : Create a project target named "LPC54606J512BD208 Release" for LPC54606J512BD208 MCU => OK
Step 4 : Create LPC54606J512BD208.mex and save it in the Keil project folder. When modifying LPC54606J512BD208.mex with MCUXpresso Config Tools synchronization with clock_config.h, peripherals.h, pin_mux.h,... (path : .\RTE\Board_Support\LPC54606J512BD208) is NOT working and this error appear => NOK
MCUXpresso Config Tools Version 13.1
Best regards
Enzo Bonnard
So the error is produced by Keil IDE, right?
Did you check with Keil ? Can Keil IDE correctly identify mex file in different target?
Hi EnzoBonnard
This is more a Keil IDE function query. I suggest you contacting Keil support forum
https://community.arm.com/support-forums/f/keil-forum
Thanks,
Jun Zhang