infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 5 of 5

Thread: DAVE SDK app rename function needed

  1. #1
    Beginner Beginner Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    58
    Points
    221.09375

    DAVE SDK app rename function needed

    Hi Infineon,

    I modified the app UART and now it's mandatory to change the name to UART_A1 or so to avoid any collision with the original Infineon apps, for example when upgrading apps.
    Unfortunately, DAVE SDK doesn't offer an app rename function like project rename of DAVE CE, which renames the whole project file system. I think, there is more to do than renaming of a few files, so that the app appears under the new name in the DAVE CE library store.
    Please what are your suggestions to solve this problem?

    Best Regards,
    Wolfgang

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    377
    Hi,

    Unfortunately such functionality is not supported. You will need to rename the project and make modifications to the name where appropriate manually.
    What are the changes you introduced? Maybe your changes can be included in the official APP?

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    58
    Points
    221.09375
    Hi Jesus,

    thanks for your answer.

    At the moment, customer apps possibly overwrite Infineon apps in the LibraryStore (same name and version), when warning is ignored. There should be a solution to store customer apps without collisions, perhaps at a separate place.

    Changing the app name by hand is risky, because some changes are needed also in the files (class name etc).

    App uart:
    I added 2 checkboxes to enable an immediate jump to customer interrupt service routines without executing any Dave code between. We need an as fast as possible interrupt response because we have to realize high speed async channels (more than 10 MBaud).

    Some details:
    Goal was the fastest possible call to interrupt sub, i.e. linker must be able to put the int sub address into the vector table. Therefore I avoided tests like addr==NULL, see template uart.c lines 854, 935.
    To prevent missing int sub addresses, first I tried to force checkbox 'end of transmit' to true when my added 'jump direct..' checkbox is checked, but it didn't function. As second solution I set callback functions instead to NULL to 'TX_Interruptsub_undefined' and 'RX_Interruptsub_undefined' when no int sub name is entered, to force the linker to raise an error (see file uart_confc.tmpl lines 461, 480).

    But at the moment, I have a general problem with the SDK. It ran fine until yesterday, but since today it starts always with an error, although I didn't change anything today, see screenshot and error report.
    I also added the complete source dir of my modified uart as DaveSDKzip.

    Best Regards,
    Wolfgang
    ?????? ?????? SDK_Error.jpg‎  
    ?????

  4. #4

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    377
    Hi,

    Did you know about the UART_CONFIG APP? Or even using using the UART APP in the direct mode?

    Regarding the separation between the IFX and customer APPs, you could use the contributed category
    Code:
    def categoriesDescription = ["Contributed APPs"]
    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  5. #5
    Beginner Beginner Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    58
    Points
    221.09375
    Hi Jesus,

    thanks for your answer,

    when storing customer apps at section 'Contributed Apps', then the app files are also stored at D_LibraryStore_4.4\resources\<version>\app\<appnam e>\ like the original Infineon apps and at \resources\DaveAppLibrary\XMC4000\APP\.
    Same name and version results in collision. Thus a modified Infineon app needs to be renamed. Please correct me, if I am wrong.

    App UART or UART_CONFIG, there are pros and cons. The most user friendly and error proof app thats UART. Use of the direct mode is not as easy like the interrupt mode when blocking code is forbidden. The UART app meets all of our needs in a comfortable manner when the fast interupt mode I added is available. We need minimum run time interrupts because we are always at the limit. Often the cpu even needs help by a fpga (the world of vhdl and verilog).

    After deleting file .metadata, DAVE SDK runs fine again.

    Best Regards,
    Wolfgang

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.