This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28377S: How to integrate flash bank 0 and bank 1 into one flash?

Genius 3095 points
Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Hi team:

I'd like to know whether flash bank 0 and bank 1 can integrate into one flash bank?

And I also want to know why flash is divided into two banks? If I want to use both two banks in one project, What do I need to pay attention to or configure?

Best regards

  • Hi,

    Not sure what you mean by "bank 0 and bank 1 can integrate into one flash bank", both banks are physically separate and has its own control registers.

    Yes, you can use both the Flash Banks in your project. Please refer to C2000Ware examples on how to configure both the Flash Banks.

    Architecture on this device is designed with 2 Flash Banks.

    May I know what is your application and what are you trying to do? 

    Regards,

    Nirav

  • Hi,

    Couple of things to keep in mind while using both the banks for your application:

    1. Bank1 has an extra wait-state for fetch/read accesses.  Hence, performance will be different than that of Bank0.  Please map code that needs more performance   

    2. Do not use the last two 128-bit (16 16-bit addresses) locations in each bank.  This should already be taken care by the linker cmd files provided in C2000Ware.  When Flash prefetch is enabled, if the last two 128-bit locations are used, FMC will read beyond the implemented Flash size and can end up in ITRAPs/ECC errors.

    Two banks are provided so that needed customers can use one of them for code and one for data.  Also, users can maintain two images if they want for firmware upgrade reasons.

    Thanks and regards,

    Vamsi