I have SDRAM on CS1 we configred it for CS1 in .cfg file and we initialized the UPMA RAM array in .cfg file once we added these configurations we are unable to erase the Flash.Our flash is at CS0.May i know how to change the .cfg file for the UPAMA.I have old.cfg without UPMA as previously we mounted SRAM for that we used this cfg file,new.cfg file is with UPMA and SDRAM mounted.We have removed SRAM @cs7 and we added SDRAM@cs1 .
Original Attachment has been moved to: NEW.cfg.zip
Original Attachment has been moved to: OLD.cfg.zip
Solved! Go to Solution.
The following string in your file is incorrect:
writemmr OR1 0xFE000800 # OR1 - SIZE OF THE SRAM IS 16MBYTEs
Mask 0xFE000000 means 32 mbytes, but not 16 mbytes. So, one extra address line is unmasked and not connected to memory.
The following string in your file is incorrect:
writemmr OR1 0xFE000800 # OR1 - SIZE OF THE SRAM IS 16MBYTEs
Mask 0xFE000000 means 32 mbytes, but not 16 mbytes. So, one extra address line is unmasked and not connected to memory.
Please attach old .cfg file (where Flash programming works properly) and new .cfg file with UPMA initialization added.