You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.1 KiB

  1. # http://omap.spectrumdigital.com/osk5912/
  2. source [find target/omap5912.cfg]
  3. # NOTE: this assumes you're using the ARM 20-pin ("Multi-ICE")
  4. # JTAG connector, and accordingly have J1 connecting pins 1 & 2.
  5. # The TI-14 pin needs "trst_only", and J1 connecting 2 & 3.
  6. reset_config trst_and_srst separate
  7. # NOTE: boards with XOMAP parts wire nSRST to nPWRON_RESET.
  8. # That resets everything -- including JTAG and EmbeddedICE.
  9. # So they must use "reset_config srst_pulls_trst".
  10. # NOTE: an expansion board could add a trace connector ... if
  11. # it does, change this appropriately. And reset_config too,
  12. # assuming JTAG_DIS reroutes JTAG to that connector.
  13. etm config $_TARGETNAME 8 demultiplexed full dummy
  14. etm_dummy config $_TARGETNAME
  15. # standard boards populate two 16 MB chips, but manufacturing
  16. # options or an expansion board could change this config.
  17. flash bank osk.u1 cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
  18. flash bank osk.u2 cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
  19. proc osk5912_init {} {
  20. omap5912_reset
  21. # detect flash
  22. flash probe 0
  23. flash probe 1
  24. }
  25. $_TARGETNAME configure -event reset-init { osk5912_init }
  26. arm7_9 dcc_downloads enable