TI中文支持网
TI专业的中文技术问题搜集分享网站

C2000WARE: TMS320F2800154

Part Number:C2000WARE

hello:

when i config about the 2800154 ECC function.there are something weird.

at first, ECC on RAM is working well.

but for ECC on FLASH,acorrding to the TMS320F280015x TRM:

When the ERR_CNT value equals ERR_THRESHOLD+1, and a single bit error occurs, the Flash module sets
the SINGLE_ERR_INT flag and generates an interrupt signal. To enable propagation of the generated interrupt
pulse to the CPU, the user application must enable the FLASH_CORRECTABLE_ERROR channel in the C28
Peripheral Interrupt Expansion module (PIE). The interrupt signal remains high until the application clears the
SINGLE_ERR_INTFLG flag by writing to the SINGLE_ERR_INTCLR bit in the ERR_INTCLR register. The Flash
module cannot generate any further FLASH_CORRECTABLE_ERROR interrupt signals to the PIE/CPU until
SINGLE_ERR_INTFLG is cleared, as this is an edge-based interrupt.

in the 280015x TRM, i cannot found any register including SINGLE_ERR_INT and SINGLE_ERR_INTCLR. 

the 2800154 FLASH ECC register is so poor as below 

and there is no PIE INT named FLASH_CORRECTABLE_ERROR

for FLASH Uncorrectable Error , the TRM said that as below:

When an uncorrectable error occurs, the Flash module sets the UNC_ERR_INTFLG bit and generates an
uncorrectable error interrupt. This uncorrectable error interrupt generates a non-maskable interrupt (NMI), if
enabled, in the CPU. If an uncorrectable error interrupt flag is not cleared by writing to the UNC_ERR_INTCLR
bit in the ERR_INTCLR register, the Flash module cannot generate new uncorrectable interrupt signals, as this is
an edge-based interrupt.

actually , i still can't found the ERR_INTCLR register, so i can't deteted the second NMI int.

 

i found that 280025 TRM support  all the feature  i mentioned above.

i want to know how to config the FLASH ecc in 280015x ?and I want to know if 2800154 do not support those feature, why i can find the information in the TRM .

THANKS

Vivian Gao:

您好

您看table7-7上面那段话,表7-7列出了FLASH_ECC_REGS寄存器的内存映射寄存器。表7-7中未列出的所有寄存器偏移地址应被视为保留位置,且寄存器内容不应被修改。有可能是因为不需要您改动所以没有更为详细的说明,您可以看看SDK里面有没有关于flash ecc的程序,然后看看ECC具体是怎么用的。

如果您依然想更详细的了解,我们建议您问一下英文论坛的资深工程师,他们有更多的资源,或许可以为您解答。

可以通过下方链接在英文论坛发帖:https://e2e.ti.com/p/addpost

,

li xudong:

您好,我是认为既然在TRM中提到这个功能,就应该有对应的寄存器功能去设置。现在我没法找到这些寄存器,相反在280025系列芯片参考手册中是有的,280015系列是不是280025的阉割版?所以这块我现在不清楚如何去设置才是比较规范的。

,

Vivian Gao:

如果您依然想更详细的了解,我们建议您问一下英文论坛的资深工程师,他们有更多的资源,或许可以为您解答。

可以通过下方链接在英文论坛发帖:https://e2e.ti.com/p/addpost

赞(0)
未经允许不得转载:TI中文支持网 » C2000WARE: TMS320F2800154
分享到: 更多 (0)