Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 231994

Forum Post: RE: TMS570LS3137: BANK0 sector erase problem

$
0
0
Hello Chandre, 1. Clearing PROTL1DIS bit of FBPROT will enable the bank protection from writing. The Bank Sector Enable register (BSE) is used to enable/disable the sectors for program or erase access. The default setting after reset is "disabled" 2. It is better to run SRAM_ResetTest before copying flash API from flash to SRAM. The contents of the selected memory before the test will be completely lost after PBIST test. Your code must take care of data backup if running the flashing copy before the PBIST test. Typically the PBIST tests are carried out at the beginning of Application software. 3. You need to wait for the PBIST self-test done by polling MSTDONE bit of MSTCGSTAT register in System Module. If it loops forever, you need to figure out what causes the problem. a. Is PBIST sequence correct? b. Is the selected memory implemented in your device? c. Is the test algorithm allowed for your selected memory? d. Is OVER is programmed before RAM group selection: RINFOL, RINFOU? If the same code works on another board, the silicon on your failed board might be damaged. 4. In your application, you can copy code to SRAM and execute the code from SRAM. This should not be affected by the bootloader.

Viewing all articles
Browse latest Browse all 231994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>