⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debugflashedsdram.cmm

📁 QUALCOMM JNAND DRIVER
💻 CMM
字号:
;****************************************************************************
;**           debugFlashedSDRAM.CMM                                        **
;**           This script is used to debug a target that has the SDRAM     **
;**           image programmed into NAND flash.                            **
;**                                                                        **
;**           1) load image into NAND flash (NANDPROG or JNAND)            **
;**           2) load image into T32: d.load.elf Image.elf /nocode         **
;**           3) make sure sys.jtagclock is set to RTCK                    **
;**         Then, each time you want to rerun the code,                    **
;**           4) do debugFlashedSDRAM                                      **
;**           5) wait until completion of the script                       **
;**           6) set your favorite breakpoints (each time you run)         **
;**              Put them in "mybreakpoints.cmm" to have them automatically
;**              setup every run through this script.
;**           7) go                                                        **
;**                                                                        **
;**         When T32 is restarted, you need to repeat step 2)              **
;**                                                                        **
;**           Changes:                                                     **
;**           06-07-02   First version                                     **
;**           09-25-02   Various changes                                   **
;****************************************************************************

 sys.u
 do didwdogreset
 r.s pc 0xffff0000
 BREAK.RESET
 b.s 0x0 /ONCHIP
 go

 PRINT "Waiting for boot loader to complete"
 WAIT !run()
 PRINT "Boot loader completed..."
 
 do breakpoints 
 
 if OS.FILE("mybreakpoints.cmm")
 (
   do mybreakpoints
 )
  
 ENDDO













⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -