2004-08-23 12:46 AM
2011-05-17 03:02 AM
I am implementing a iap bootloader, all is going ok with the actual code but I have noticed a strange problem with PSDExpress v8.10.
If I try and implement the memory map below psdexpress will change fs0(page0) to 0-ffff instead of 8000-ffff. If I change fs0 to 0-6fff (instead of 7fff) everything is ok. The simple idea is boot into secondary flash, validate primary flash then perform a switch. page0 is only selected during flash programming to move out of sram memory space. fs0 0x0000 0x7FFF fs0(page0) 0x8000 0xFFFF fs1(page1) 0x8000 0xFFFF fs2(page2) 0x8000 0xFFFF fs3(page3) 0x8000 0xFFFF fs4(page4) 0x8000 0xFFFF fs5(page5) 0x8000 0xFFFF fs6(page6) 0x8000 0xFFFF fs7(page7) 0x8000 0xFFFF csboot0 0x0000 0x1FFF - iap bootloader csboot1 0x2000 0x3FFF - iap bootloader csboot2 0xC000 0xDFFF - eeprom emulation csboot3 0xE000 0xFFFF - eeprom emulation rs0 0x4000 0x5FFF csiop 0x0200 0x02FF Is it me or is this a feature ? I have attached psdexpress project. Regards sjo