AURIX™ Forum Discussions
Hello All,
I am injecting fault through CPU0.FLASHCON3 Corrected Single Bits Address Buffer (SBAB) Error Injection (bit 2 of FLASHCON3), Which triggers SMU Alarm ALM7[24] : PFlash ECC Alarm: Single Bit Correction Tracking Buffer Full. As an Action I have configured IGCS0.
Now after returning from ISR callback, I want to clear ALM7[24].
Please let me know how we can solve this.
Hi team,
We had designed custom AURIX TC397x board. We are flashing the custom board using AurixFlasher tool which is integrated in ADS itself. After 5-6 iterations of successful firmware updates, we could not able to flash the board.
AurixFlasher tool isErasing the firmware but could able to Program the flash memory(It is getting struck).
In Debug mode we could not able to flash the board, we are getting the following error.
If we program the board using Memtool it is getting programmed successfully.
As it is not flashable with AurixFlasher Tool we could not able to use Debug perspective and debug it.
What is the reason behind this, are we missing anything. Please address this.
Regards,
Samad.
Show Less
Hi All,
I was using Aurix TC387
When I completely erase and flash the application software there was no protection hook and software functionalities are working, when i perform shutdown the CPU and given the reset and try running the software getting protection hook showing alignment error in DSTR and DEADD showing the flash address.
what could be the reason getting alignment error after performing shutdown and run the software, as there was no alignment error when i erase completely and flashing the software.
Show LessHello Champs,
I am facing an issue in UART working.
MCU - TC397
so I am printing logs using TERA TERM. I am using standard code as below:
void print_f(const char *p_frm, ...)
{
va_list p_arg;
va_start(p_arg, p_frm);
vsprintf(ubOutputBuf, p_frm, p_arg);
va_end(p_arg);
buf_to_screen(ubOutputBuf);
}
I am able to print the characters and constants values such as below,
print_f("\n\nRESULT_START\n");
but when I am using anything such as
test_print++;
print_f("\n\nRESULT_START value = %d\n", test_print);
Then everytime in Tera Term I get RESULT_START value = 1, the test_print value isn't changing!!!
Am I missing anything here.
Thanks in advance!
Could anyone help to understand the root cause?
Show Less
In TC38x DataSheet, I see Retention time and Tj according below example temperature profile. Can you provide temperature profile for TC387Q?
And Is the data Flash of TC387Q robust with an endurance of more than 1k write/erase cycles and data retention over 15 years with a fault drop out of less than 10 ppm of all devices?
Show LessHow can the tc233 UART send and receive data be bound to DMA? After binding to DMA, is the interrupt trigger still the interrupt service function bound to the original ifxCPU_irq_installInterruptHandler () function? The interrupts currently used are CPU resources. The amount of data is large. Each byte is interrupted once during reception, which is a waste of resources. Have you ever done this thigh piece? I hope you can share your experience. Thank you even more for any related demos you can provide!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/DMA-Uart%E4%B8%AD%E6%96%AD/td-p/654865
Show LessHi
I need some more information about the interrupt concentrator module and the connection with the uC. I suppose it was quite simple but now I'm getting some strange behaviour..
I've two signals, one on TOm0 CH6 and one on TOM0 CH7. CH7 is a slave of one previous channels (CH0) and CH6 is a stand-alone channel (CH6 CN0 is reset by itself if it matters..)
I've activate on both channel (one per time since they share the same uC SCR) the interrupt setting them as MODE PULSE and setting IRQ_EN to 3 (any edge). The result is that I can have the CH7 interrupts callback but not the CH6
In register GTM_IRQG_6 I can see that both CH7 and CH6 change from "no interrupt" to "interrupt" but on SRC_GTOM03 I don't get any change when CH6 interrupt is active
I know that TOM0CH6 and TOM0CH7 share the same ICM out so any of the two should generate the interrupt (that I can see that are triggered in GTM_ICM_IRQG_6 and in GTM_ICM_IRQG_TOM_0_CI) but CH6 seems no more propagated out of the GTM
There is something else I need to consider between the GTM and the IR? there is a way to check the value of the signal GTM_TOM0_IRQ3 (the one of the figure138 user manual part 2)?
thanks in advance
Show Less
Hello all,
I am working on decoding the resolver signal and I am using the edsadc and rdc library downloaded for TC38x motor control software.
When i feed the resolver signal I cannot see any conversion results as it flicks between 1 and 65536 value. I can see the fault status enable to 0xFFFFFF as you can see in the screen shot.
what part i am missing, please can anyone shed your thoughts.
Many thanks
Show Less如果將陣列變數初始值想要改放在 DFLASH 0xAF00 0000 位置上 , 請問在Tasking linker file 怎樣設定 ?
#define BUFF_SIZE 8192
uint32 ATQD_LHMTqMapDLC_Y_rpm[BUFF_SIZE] = { 30, 0, 20, 15, 35,36, 37, 38 } ;
uint32 ATQD_LHMTqMapDLC_1_rpm[BUFF_SIZE] = { 30, 0, 20, 15, 35,36, 37, 38 } ;
Show Less
各位大神,有没有TC275的I2C通信例程 和 RS485通信例程,如果有可以分享一下吗,非常感谢! jfzhang9808@163.com