MCU Toolchain Question

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

MCU Toolchain Question

650 Views
duanemattern
Contributor III

20160815: I'm working on an application with an MPC560xB target and I just got started with the TRK-MPC5606B kit using CodeWarrior 10.6 along withRAppID Init for MPC5606B.

I have some questions about the toolchain and best practices as follows:

 

1) It appears that the S32 Design Studio is an alternative toolchaing using the GNU compiler, but my sense is that it is not yet ready for primetime for all targets, specifically the MPC56xx family, and that it is best to stick with the CodeWarrior/Eclipse toolchain for now and that one could switch to S32 Design Studio in the future if desired.  Is this a reasonable assumption?

 

2) I used RAppID Init to setup/initialize the target I/O.  My understanding is that this is the tool to use for initialization code as ProcessExpert isn't available or isn't being updated for the MPC560x?  Is this correct?

 

3) I used RAppID Init to setup/initialize the target I/O.  I then used cwpjmaker to move the generated code into the CodeWarrior environment.  This works, but it just dumps all of the initialization files into a single source folder which seems hard to maintain and is unstructured.  I left the provided driver files (TRK5606B) in their own subfolder.  My question is: what's the "best practice" for code warrior folder organization in liu of the fact that I may need to re-run RAppID Init, which will then generate a new set of files that I'll have to then re-import into the application?   Or is it better to only import major hardware modifications (additions/subtraction) and to manually manipulate the files for small changes to avoid disturbing the project structure and to avoid having all of the changes ripple through the software repository?

 

I'm just trying to get off on the right foot.  Any suggestions or links to other posts/articles are welcome.

Labels (1)
0 Kudos
1 Reply

504 Views
martin_kovar
NXP Employee
NXP Employee

Hi,

1) S32Desgin Studio support only some of MPC56xx microcontrollers and it is not planned to add any others. S32DS is primarily focused on MPC57xx family. But if you work with MPC5606B, I recommend you to use CodeWarrior 10.6 or 10.7. You can also try to test S32DS (license is free) and compare both tools, but I think it will be better for you to use CodeWarrior.

2) Yes you are correct. RAppID Init is tool for creating initialization codes which supports MPC56xx family.

3) I am not sure, if there is any "best practice", but the solution with import major hardware modifications and manual manipulation which you suggest, seems to be OK.

If you have any other question, please feel free to write me back.

Regards,

Martin