May 29, 2020
12:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2020
12:34 AM
Hello forum,
we experience a strange issue with TC222 evalboard, while working with the iLLD. As base project template we are using the official BiFaces TC2x Template; so we've integrated these files inside the develpoment platform
The template includes the iLLD package in minimal extent. We added the SPI iLLD driver for communicating with external peripheral devices.
The program works fine until we call the function "IfxQspi_SpiMaster_exchange(...)" for sending SPI messages. Now the controller moves to a trap because of invalid memory access.
BIV register, which should contain start address for Interupt vector table is empty, which is kind of inline with the the trap due to invalid memory adress. So why is the BIV reg empty?
Seems to be also not working with our board when using the ILLD example SPI_CPU.
Is there something we overlooked?
Thx for support!
BR;
we experience a strange issue with TC222 evalboard, while working with the iLLD. As base project template we are using the official BiFaces TC2x Template; so we've integrated these files inside the develpoment platform
The template includes the iLLD package in minimal extent. We added the SPI iLLD driver for communicating with external peripheral devices.
The program works fine until we call the function "IfxQspi_SpiMaster_exchange(...)" for sending SPI messages. Now the controller moves to a trap because of invalid memory access.
BIV register, which should contain start address for Interupt vector table is empty, which is kind of inline with the the trap due to invalid memory adress. So why is the BIV reg empty?
Seems to be also not working with our board when using the ILLD example SPI_CPU.
Is there something we overlooked?
Thx for support!
BR;
4 Replies
May 29, 2020
12:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2020
12:39 AM
short add - TC275 evalboard we are not having these issues
May 29, 2020
01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2020
01:16 AM
Check your map file. I expect that there is __INTTAB == 0
This can be happen when you don't specify any function as interrupt. You have a valid interrupt function?
This can be happen when you don't specify any function as interrupt. You have a valid interrupt function?
May 29, 2020
02:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2020
02:48 AM
thx for prompt reply.
we have valid interrupt function in ISR.c and with asigned IfxCpu_Irq_installInterruptHandler().
we have valid interrupt function in ISR.c and with asigned IfxCpu_Irq_installInterruptHandler().
May 29, 2020
04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2020
04:23 AM
Check your *CStart* file which value is written to BIV also check the value of __INTTAB in your map-file