codewarrior 10.1 + MQX 3.7 ... twrk40x256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

codewarrior 10.1 + MQX 3.7 ... twrk40x256

Jump to solution
1,656 Views
tavo
Contributor I

hi,

I do all steps for install MQXOS 3.7, for test demos in TWRK40X256.

 

I install Updates for Codewarrior 10.1 ....

when import the bsp_twrk40x256 proyect and build proyect, send an error in line console code error looks...

 **************************************************************************

Setting working directory to C:\Users\tvo\Freescale\Freescale MQX 3.7\lib\twrk40x256.cw10\bsp\Generated_Code 1 file(s) copied.

' '

'attrib' is not recognized as an internal or external command, operable program or batch file.

A subdirectory or file dbg already exists.

'attrib' is not recognized as an internal or external command, operable program or batch file. **********************************************************************************

Someone Can Help?

0 Kudos
Reply
1 Solution
1,178 Views
DavidS
NXP Employee
NXP Employee

Hello,

Please follow the steps Gavin outlined but use most recent MQX3.8.1 release and CW10.2.

Bot have many updates/fixes/improvements that should help.

Regards,

David

View solution in original post

0 Kudos
Reply
5 Replies
1,179 Views
DavidS
NXP Employee
NXP Employee

Hello,

Please follow the steps Gavin outlined but use most recent MQX3.8.1 release and CW10.2.

Bot have many updates/fixes/improvements that should help.

Regards,

David

0 Kudos
Reply
1,178 Views
bugs
Contributor III
I have no problem to recompile bsp_twrk60n512

try my install steps:

1. install CW_MCU_v10.1_SE.exe
2. dont' instal MQX-3.7; If you already installed it, just un-install MQX-3.7
3. read CW_MCU_v10.1_Update_Procedure.pdf
4. Do section On-Line Mode 3.1 steps 1) to 7) in CW_MCU_v10.1_Update_Procedure.pdf
5. Do section Off Line Mode 2.1 all steps  in CW_MCU_v10.1_Update_Procedure.pdf to
     NOTE: select "MCU_v10.1_Compiler_Update_ColdFire_Kinetis_Qorivv​a_for_Windows.zip" in step 2.1-6)
6. Install "MCU v10.1 Kernel Awareness Update for Windows.zip"
     according to section Off Line Mode 2.1 all steps  in CW_MCU_v10.1_Update_Procedure.pdf
7. Install "CW_MCU_v10.1_Update_1.0.0.zip"
     according to section Off Line Mode 2.1 all steps  in CW_MCU_v10.1_Update_Procedure.pdf
    
    ****After install the Feature information indicates com.freescale.mcu is 10.1.5****
    
    
8. Install MQX-3.7
9. Run ../Setup_JLinkARM_V428c.exe to upgrade firmware for your J-Link Pro

1,178 Views
tavo
Contributor I

thanks for post an solucion, but i did all the steps - install CW10.1 in not defaul path install patch (kernel,patch for MQX , update for 10.1), after this i install Freesscale MQX 3.7 I select the workspace for Freescale MQX 3.7

 

but the problem is before preuild the project ... an archives have some error or i dont know what is it,  but apears 'attrib' is not recognized as internal or external comand this is the error, it had to be someting else in folder bat (bps.bat windows batch files)

0 Kudos
Reply
1,178 Views
petr_uhlir
NXP Employee
NXP Employee

If you are using Windows operating system on your PC, you should have "attrib" command supported.

You can check it by typing "attrib" in command line.

The attrib command is used to remove read-only flags on files in destination directory. Its for customers which have MQX installation under version control system and MQX source files are read only.

If its not your case and you have standard MQX installation,  you can remove "attrib" command call from your batch file.

1,178 Views
Ed_EmbeddedAcce
Contributor II

Has anyone found a real solution to this problem.  In Windows XP with CW PA      Version: 10.1.1
     Build Id:111014_R1011  this appears to still be an issue.  There is no problem running attrib from the command line its just when it is in a batch file invoked from the post build steps in CW.  I would like to leave the attrib in for the reasons explained above.

0 Kudos
Reply