# Guardian SE command file to set up AMCC Yosemite target # # play ppc_440ep_yosemite_linux.def # #guardon # ver -v opt tar 440ep opt vec high opt holddur 20000 opt pipe off opt autoexc off opt brdinit off opt step normal opt trbrk off opt excmask 0xfffff opt vchk off opt break soft opt trorg data opt runn 0x0 #opt dwe off opt brdopt 0x0 # decimal = 0 opt ftimrs off opt mmu tlb # this will support linux debug opt memread single opt memwrite single opt endian auto opt bloc 16bit opt ubloc 0xfffff000 #opt k_spte 0x0 #opt k_upte 0x0 #opt linver 0x0 opt clk 16 opt volt auto opt pins form3 opt tclk norm opt tdo norm opt tdi norm opt brkerr on opt nlocs 0x40 # decimal = 64 opt ascii on opt ucase off opt poly 0xEDB88320 #opt rplay #opt bplay opt hreset on opt reset sys opt clk 1 # slow in case flash is blank reset opt clk 16 # speed up for operations # # Soft-Reset the chip # #set SDR0_SRST.DMC = 0x1 wr.4 :dcr 0xe 0x00000200 # Select EBC0_B0AP Soft Reset Register wr.4 :dcr 0xf 0x00200000 # DDR SDRAM memory controller wait 100 #set SDR0_SRST.DMC = 0x0 wr.4 :dcr 0xe 0x00000200 # Select EBC0_B0AP Soft Reset Register wr.4 :dcr 0xf 0x00000000 # DDR SDRAM memory controller #guardoff