Question about program and memory location

Aug 28, 2005 0 Replies

Hallo, I have made a small microcontroller based on microblaze. I have copied into lmb bram a bootloader which copies my software into external ram and then points to that address.



Here the bootloader code:



#define ADDRREAD 0x1



int main (void) { int (*func_pointer) ();



prom_read(ADDRREAD);



func_pointer = XPAR_SRAM_256KX32_MEM0_BASEADDR;


func_pointer();



return 0;



}


After doing this, the memory location where bootlader is, will be cancelled automatically and used for other instructions/datas?



Many Thanks



Marco


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required