INFINEON TECHNOLOGIES DAVE 2.X SUPPORT

Previous versions of the C166/ST10 products already supported DAvE 1.x by means of the C startup code which was generated by DAvE and used when building a DAvE generated application using the C166/ST10 products. The previous version v6.0r6 of the C166/ST10 products already support DAvE 2.x by means of including a DAvE generated "*.asm" file in the "Macro Preprocessor..." dialog which you could launch from the "EDE" menu. This file was used by the C166/ST10 products to build a DAvE generated application. Both solutions had the major disadvantage that the options set in DAvE were not reflected by EDE and the EDE project always had to be manually configured to include the files generated by DAvE.

From v7.0r1 the C166/ST10 products supports DAvE 2.x by means of its generated project information file "*.dpt" which means that projects created using DAvE can now be easily imported in the C166/ST10 EDE where the memory model, all "CPU Options..." and "BUS Options..." (available from the "EDE" menu) now reflect the settings you make in DAvE. In addition all files created by DAvE will now automatically be added to your own EDE project when you press the 'Refresh DAvE imported project' button (showing a lightning icon) on the EDE toolbar. This button will only appear when your project contains a DAvE generated project information file "*.dpt".

Create your DAvE project (for example "my_project.dav") and generate code for the TASKING C166/ST10 products. Now create a new (or open your existing) C166/ST10 EDE project (for example "ede_project.pjt") and add the DAvE project information file (for example "my_project.dpt") to this EDE project. This file will be shown in the "Other Files" category of your project. Press the 'Refresh DAvE imported project' button on the EDE toolbar and all files included in your DAvE project will automatically be added to your C166/ST10 EDE project and all DAvE project options will automatically be set accordingly in your EDE project.

1. Create a new EDE project.
2. Add the DAvE generated "dpt" file to the project.
3. Add the "\lib\src\start.asm" module to the project.
4. Press the 'Refresh DAvE imported project' button.

The EDE project is now fully setup to build the application you have created using DAvE. Do not forget to add the "\lib\src\start.asm" module to your EDE project.

The C166/ST10 EDE will only reflect those (E)SFR register settings which must be configured when booting the cpu before the execution of the EINIT (end of initialization) instruction. These registers will be configured in the C startup code. All other registers will be configured from the C code which is generated by DAvE.

Every update to the DAvE project will automatically be imported in your EDE project when you press the 'Refresh DAvE imported project' button. This will override any settings with respect to the memory model, "CPU Options..." and "BUS Options..." you have made from the EDE because these settings are already defined by you from within DAvE. All other C166/ST10 EDE settings will keep your configured values. Changes you make manually to your EDE project settings and the source code which is generated by DAvE, can not be imported back into your DAvE project. Therefore this should only be done if you plan not to use DAvE anymore for making changes to your project files and settings.