Dear attendees of the discussion forum, we got the following information from INFINEON concerning the FLASH module: --------------------------------------- SAx-C161CJ-16F20F/40F Step AC/AD SAx-C164CS-16F20F/40F Step AC/AD SAx-C164CS- 8F20F/40F Step AC/AD SAx-C167CI -16F20F/40F Step AC/AD Related to all temperatures and frequency for devices listed above. --------------------------------------- Problem: Code execution from internal flash module/ Operand read access from/to internal flash module The problem depends primarily on the internal CPU frequency and the number of wait states selected for the flash module ( bit field WSFLASH in register IMBCTR ). But ambient temperature and Vddi may have influence ( that is statistically more likely). If the problem occurs it will typically result in a class B trap ( program access error, indicated by flag PACER = 1 in register TFR )
Avoid the problem with the following settings and limits: a)ambient temperature: -40°C < Ta < + 85°C fCPU < 16 MHz 0 WS ( bit field WSFLASH = 00b ) 16 MHz < fCPU < 32 MHz 1 WS ( bit field WSFLASH = 01b ) Default after RESET fCPU > 32 MHz 2 WS ( bit field WSFLASH = 10b ) b) ambient temperature: Ta > 85°C fCPU < 16 MHz 0 WS ( bit field WSFLASH = 00b ) 16 MHz < fCPU < 28 MHz 1 WS ( bit field WSFLASH = 01b ) Default after RESET fCPU > 28 MHz 2 WS ( bit field WSFLASH = 10b )
Hi, may I know where exactly did you get this interesting info? It seems that one of our clients is having this problem (PACER trap on apparently exact instructions) and setting two waitstates on internal FLASH solves it, but of course he would like to have official info from IFX about it.
Hi Stefan, there is no problem to send you the official PDF from IFX. The problem is I can not publish here such a document as PDF. Please leave your e-mail here and you get it. But please give me some feedback from your costumer ! I will collect the infos from the field and give it directly to the technical unit at IFX. Thanks in advance. Best regards and lucky solving. Stefan
Thanks Stefan, sure I'll post here or directly to you any feedback from our clients. Yesterday I got another feedback on the same subject by other clients, it seems that at least other 2-3 boards (different application) has the same problem). My address is: stefano dot costa at bluewind dot it (obviously "dot" is for ".", "at" is for "@")
Hi Stefano, I send it. Sorry for delay, I am busy. Regards Stefan
@Stefan: Could you please send me the PDF, too? My email address is malaga (at) arcor (dot) de Thank you very much.