P
paninocolsalame
Hello,
I'm working on XIP on a Mainstone II-like board.
It has 32MB of Strataflash NOR FLASH memory and 64MB of RAM.
The Windows CE 5.0 image was designed to create a sort of PDA (LCD,
touch, bluetooth..)
Here you can find 3 different image boot configurations. Config number
3 (XIP) does not work.
1) If I create an image for RAM execution, my CONFIG:BIB contains:
NK 80100000 03000000 RAMIMAGE
RAM 83100000 00F00000 RAM
AUTOSIZE=ON
(no ROMOFFSET)
The bootloader reports ImageStart = 8010_0000 and Start Address =
8010_1000
The image downloads via LAN to RAM and runs ok.
2) If I create an image for RAM execution and FLASH storage:
NK 80100000 03000000 RAMIMAGE
RAM 83100000 00F00000 RAM
AUTOSIZE=ON
ROMOFFSET=3C980000
The bootloader reports ImageStart = BCA8_0000 and Start Address =
BCA8_1000
The image downloads via LAN to RAM and FLASHes ok.
It runs ok, after a copy from FLASH to RAM and a launch to the RAM
Start address.
3) If I create an image for FLASH execution (XIP):
NK BCA80000 01F00000 RAMIMAGE
RAM 80100000 03F00000 RAM
AUTOSIZE = OFF
(no ROMOFFSET)
The bootloader reports ImageStart = BCA8_0000 and Start Address =
BCA8_1000
The image downloads from the LAN to RAM and FLASHes ok.
**** It hangs after the launch to BCA8_1000, without any debug message!
So, the questions:
- Are my CONFIG.BIB settings OK?
- Is modifying the CONFIG.BIB enough for having XIP?
- Are there Memory controller settings that can alter XIP execution?
Thank you in advance,
Panino
I'm working on XIP on a Mainstone II-like board.
It has 32MB of Strataflash NOR FLASH memory and 64MB of RAM.
The Windows CE 5.0 image was designed to create a sort of PDA (LCD,
touch, bluetooth..)
Here you can find 3 different image boot configurations. Config number
3 (XIP) does not work.
1) If I create an image for RAM execution, my CONFIG:BIB contains:
NK 80100000 03000000 RAMIMAGE
RAM 83100000 00F00000 RAM
AUTOSIZE=ON
(no ROMOFFSET)
The bootloader reports ImageStart = 8010_0000 and Start Address =
8010_1000
The image downloads via LAN to RAM and runs ok.
2) If I create an image for RAM execution and FLASH storage:
NK 80100000 03000000 RAMIMAGE
RAM 83100000 00F00000 RAM
AUTOSIZE=ON
ROMOFFSET=3C980000
The bootloader reports ImageStart = BCA8_0000 and Start Address =
BCA8_1000
The image downloads via LAN to RAM and FLASHes ok.
It runs ok, after a copy from FLASH to RAM and a launch to the RAM
Start address.
3) If I create an image for FLASH execution (XIP):
NK BCA80000 01F00000 RAMIMAGE
RAM 80100000 03F00000 RAM
AUTOSIZE = OFF
(no ROMOFFSET)
The bootloader reports ImageStart = BCA8_0000 and Start Address =
BCA8_1000
The image downloads from the LAN to RAM and FLASHes ok.
**** It hangs after the launch to BCA8_1000, without any debug message!
So, the questions:
- Are my CONFIG.BIB settings OK?
- Is modifying the CONFIG.BIB enough for having XIP?
- Are there Memory controller settings that can alter XIP execution?
Thank you in advance,
Panino