infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

Search:

Type: Posts; User: BEC

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Trap 1 still happening after all memory sections ranges are permitted

    Hello Community,
    I ran into a very weird issue.

    I have authorized all sections to run/read/write in my Memory Protection Set, but a certain line still causes Trap 1 (TIN 2, meaning read...
  2. Anyone know? I guess another solution that...

    Anyone know?

    I guess another solution that would help me is just how to cancel the use of these functions. just make the code run as a single "thread" with no events synchronization and such...
  3. Trouble with IfxCpu_waitEvent causing code to not run

    Hello,
    I implemented a serial functionality that sends (only sends) data via asclin/uart. (Code is based on UART_VCOM for TC297)

    It works fine for a bit and sends what I want, but then suddenly...
  4. Again to the rescue as always! Thanks! It worked...

    Again to the rescue as always!
    Thanks! It worked :)
  5. Ok. But what are the correct lines of code to...

    Ok.
    But what are the correct lines of code to change them?
    I thought it is __mtcr but it doesn't seem to work

    The assembly code I wrote does run I have checked, the issue is that it doesn't do...
  6. Can't set Base of Interrupt Vector Table register (BIV)

    Hello.
    I need to change the BIV during runtime. (For T297 using Tasking Compiler)
    Now, BIV is a Core Spacial Function Register, so I know you can't just alter it and need to use __mtcr()
    __mtcr()...
  7. Hello Again Infineon Community, I managed to...

    Hello Again Infineon Community,

    I managed to solve the issue and would like to share how it case this issue comes up again:

    Turns out the fifo struct was indeed misaligned. It's address was...
  8. The allocation occurs in iniSerialInterface(),...

    The allocation occurs in iniSerialInterface(), part of ASCLIN_shell_UART.c :


    /* FIFO buffers configuration */
    ascConf.txBuffer = g_uartTxBuffer; /* Set the...
  9. Hi thank you for your help :) Sure thing: ...

    Hi thank you for your help :)
    Sure thing:

    This is the call, it is called from IfxAsclin_Asc_initModule() at line 295 of "Ifx_Asclin_Asc.c"
    5171

    And the variable:

    5172
  10. Hello, Thanks for the answer! The Trap is "Data...

    Hello, Thanks for the answer!
    The Trap is "Data Address Alignment"
    Trap Class 2 TIN 4

    I took a look at the example you referenced, and it does seem simpler, but it still used the same function...
  11. ASCLIN_Shell_UART example code for TC297 causes Data Address Alignment Trap?

    Hello,
    I was trying Infineon's example code since I need to send via Serial to the computer a printed message.

    After Integrating the example and making sure all needed "#includes" are actually...
  12. Thanks! I think I got the correct demo to go by....

    Thanks!
    I think I got the correct demo to go by.

    I was looking at the code for ASCLIN_Shell_UART_1_KIT_TC297_TFT and saw that there is an initialization of both "console" and "shell"

    If all I...
  13. VCP was enabled. Checked now :) And thanks for...

    VCP was enabled. Checked now :)

    And thanks for the link!
    know which one is supposed to work on my board?
    I see multiple examples but since my board is an application kit (TC2x7) I am not sure...
  14. Thanks for the answer :) I am on the correct...

    Thanks for the answer :)

    I am on the correct COM port (and the computer detects the connection, just nothing is printed)
    I know the connection is detected since I can connect with PuTTY (with...
  15. Help With USB Serial Communications in TC2x7 Application Kit (V1.1)

    Hello,
    I am trying to get the board to send a string message via Serial, but am a bit lost on how to do it.
    Ideally, I would want it so that when I connect to the board (appears as COM4 on my...
  16. Thanks for the answer! Is there some sort of...

    Thanks for the answer!

    Is there some sort of example configuration I can see for the boards? I don't really know where or how to change these configurations.
  17. Hello, A trap does not occur. Simply, the...

    Hello,
    A trap does not occur.
    Simply, the exact same flow happens on my working board with the Ethernet Cable Disconnected and on the Non-Working board with the cable connected.
    I'll add that...
  18. Ethernet Working on TC2x7 Application kit board but not on TC297 Normal Board?

    Hello,
    I have 2 boards:
    -Application Kit TC2x7 v1.1
    -TriBoard TC297 v1.0
    (Both Aurix)

    On my application kit TC2x7, Ethernet Functionality works and all is good (Ping works and I can send and...
  19. Replies
    8
    Views
    871

    This works. Thank you! :D

    This works. Thank you! :D
  20. Replies
    8
    Views
    871

    Tasking :)

    Tasking :)
  21. Replies
    8
    Views
    871

    I may also be making a silly mistake, but doing...

    I may also be making a silly mistake, but doing this gives me


    syntax error - token ";" inserted before "asm"


    Is there something I have to import for this to work properly?

    Thought maybe...
  22. Replies
    8
    Views
    871

    I get 0 I was expecting to get the address...

    I get 0
    I was expecting to get the address located in a11, but the mnemonic places 0 into d15, instead of the expected address.

    I noticed from reading the documentation that __mfcr is only...
  23. Replies
    8
    Views
    871

    Trouble Reading A11 Register

    Hello
    I am having trouble reading the A11 Register.
    I tried:



    __mfcr(CPU_A11)
    (&CPU0_A11)->B.ADDR
    *((unsigned int *)&CPU0_A11)
  24. Got it. Was trying to see if I can use all the...

    Got it.
    Was trying to see if I can use all the ranges and not "waste" 2 of them.

    Thanks for the answer again!
  25. Default Memory Protection Flag for enabling/disabling addresses with no range set?

    Hello,

    When memory protection is activated (PROTEN), I noticed that addresses not set in any of the protection ranges (DPR0-DPR15) are automatically considered "not allowed"
    Is there a way to...
Results 1 to 25 of 35
Page 1 of 2 1 2
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.