Code banking
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-02-28 10:45 AM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:53 AM
Posted on May 17, 2011 at 11:53
I've got tu put the example code DK3200_1 on the main flash.
In psdexpress i've defined the mzin flash in programm olnly and second flash in code only. I've defined 3 bits in the page register. In the keil compiler i select 8 bank from adress 8000h to FFFFh and insert the L51_bank.a51 file in the project. In this file I configure N_BANKS=8, B_MODE=1 ??? B_XDATAPORT=2E0h (csiop + page register adress) and B_FIRSTBIT=0. If anybody could help me, thanks.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:53 AM
Posted on May 17, 2011 at 11:53
If you want to boot from the Main Flash, FS0, make sure it is mapped to 0 - 0x7FFF, I know that Dk3200_1 has FS0 mapped to 0x8000-0xFFFF. You can put the other FSx to the upper memory( 0x8000-0xFFFF). Also since CSBOOTx is in data space now, you need to move them to beyond 0x4000, since rs0 is mapped to 0x2000-0x3fff and csiop and lcd_e are mapped to 0x200-0x3FF of the data space in the DK3200_1 example.
