Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Legacy microcontrollers Forum Discussions

haluc_3799201
Level 1
Level 1
First question asked

We have a Bootloader SW based on S6J328CLSM which works perfect. Now we try to create a Bootloader by another project which used S6J334EJ based on it .And we are facing some problems about erase and program of TCFALSH as below:

1. It is no problem to erase address 0x01A00000 to 0x01BFFFFF, but when execute the erase sector command sequence at 0x01C00000, it occurs an abort (Program Counter halts at the address 0xFFFF000C);

2.Now we only use first 2M of TCFLASH, after erase successful at 0x01A00000 to 0x01BFFFFF(2M), we start programming at address 0x01A00000 using 32Bit Program command, but occurs a bus error when execute at 0x01A00008,and the bit UCEDINT of FUCEDIR reg is 1, and next it will cuase an abort (Program Counter halts at the address 0xFFFF000C);

Is there something that I am missing? Thank you all in advance.

0 Likes
1 Solution
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Hello,

1.

0xFFFF000C indicated that  Prefetch Abort occurred. Please kindly refer to below KBA for further analysis.

KBA:

Troubleshooting Guide for Arm Abort Exceptions in Traveo I MCUs - KBA224420

2. For un-correctable ECC error, please ensure continuous 64bit data was written to concerned address with 32bit write commands as TCFlash use 64-bit ECC.

Please kindly provide more information about the issue to your Cypress contact window (CY FAE/FSE) to do further analysis.

zegu

Best regards,

Amy Wang

View solution in original post

0 Likes
1 Reply
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Hello,

1.

0xFFFF000C indicated that  Prefetch Abort occurred. Please kindly refer to below KBA for further analysis.

KBA:

Troubleshooting Guide for Arm Abort Exceptions in Traveo I MCUs - KBA224420

2. For un-correctable ECC error, please ensure continuous 64bit data was written to concerned address with 32bit write commands as TCFlash use 64-bit ECC.

Please kindly provide more information about the issue to your Cypress contact window (CY FAE/FSE) to do further analysis.

zegu

Best regards,

Amy Wang

0 Likes