Hi,
I want to write my own boot loader for the XS1-SU1 chip. It is needed to use 8 bit nand flash instead of SPI. I don't think I will be able to use XFlash because it doesn't seem to store the base address properly. I have attached some example code that works on the XK-1A ( I use the following flags to get the XE to load at 0x1B000: -Xmapper --map -Xmapper MapFile.txt -Xmapper --image-base -Xmapper 0x0001B000).
If I run it from the xTIMEcomposer, the code properly gets loaded into upper memory. If I flash the device with the firmware, however, it does not load it into upper memory during power up. Any suggestions?
The compiler did throw a warning stating the following:
xmap: Warning: Image base on command line overrides config file for tile 0, node 0.
Can this be helpful in finding a quick solution?
XFlash and Code location at boot time...
-
- Active Member
- Posts: 55
- Joined: Wed Jan 05, 2011 2:15 pm
XFlash and Code location at boot time...
You do not have the required permissions to view the files attached to this post.
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
The ROM bootloader always loads your code at 10000. If
you want your code running at 1b000 instead, add a wrapper
that relocates it?
you want your code running at 1b000 instead, add a wrapper
that relocates it?