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

📄 s3c2410.setup

📁 这是一个使用JLINK用户
💻 SETUP
字号:
/*********************************************************************
*
* JLink setup file - Generated by J-Flash ARM V2.16b
*
* Syntax:
*   SetJTAGSpeed(x);           // Sets the JTAG speed, x = speed in kHz (0 = Auto)
*   Delay(x);                  // Waits a given time,  x = delay in milliseconds
*   DisableMMU();              // Disables the MMU
*   Go();                      // Starts the ARM core
*   Halt();                    // Halts the ARM core
*   Reset(x);                  // Resets the target,   x = delay in milliseconds
*   ResetBP0(x);               // Resets the target using breakpoint at address 0
*   ResetADI(x);               // Resets the target using ADI software reset
*   Read8(Addr);               // Reads a 8/16/32 bit value,
*   Read16(Addr);              //   Addr = address to read (as hex value)
*   Read32(Addr);
*   Verify8(Addr, Data);       // Verifies a 8/16/32 bit value,
*   Verify16(Addr, Data);      //   Addr = address to verify (as hex value)
*   Verify32(Addr, Data);      //   Data = data to verify (as hex value)
*   Write8(Addr, Data);        // Writes a 8/16/32 bit value,
*   Write16(Addr, Data);       //   Addr = address to write (as hex value)
*   Write32(Addr, Data);       //   Data = data to write (as hex value)
*   WriteVerify8(Addr, Data);  // Writes and verifies a 8/16/32 bit value,
*   WriteVerify16(Addr, Data); //   Addr = address to write (as hex value)
*   WriteVerify32(Addr, Data); //   Data = data to write (as hex value)
*   WriteRegister(Reg, Data);  // Writes a register
*   WriteJTAG_IR(Cmd);         // Writes the JTAG instruction register
*   WriteJTAG_DR(nBits, Data); // Writes the JTAG data register
*
**********************************************************************
*/

//SetJTAGSpeed(30);
//Reset(0);                               // Reset target
// MOSCEN = 1, OSCOUNT = 47
Delay(20);                              // Wait for PLLfillmem 0x53000000  0x53000000  0x00000000 32
Write32(0x53000000, 0x00000000);
Write32(0x4a000008, 0xffffffff);
Write32(0x4a00001c, 0x000007ff);
Write32(0x4c000000, 0x00ffffff);
Write32(0x4c000004, 0x0005c042);
Write32(0x48000000, 0x22111120);
Write32(0x48000004, 0x00000700);
Write32(0x48000008, 0x00000700);
Write32(0x4800000c, 0x00000700);
Write32(0x48000010, 0x00000700);
Write32(0x48000014, 0x00000700);
Write32(0x48000018, 0x00000700);
Write32(0x4800001c, 0x00018005);
Write32(0x48000020, 0x00018005);
Write32(0x48000024, 0x008e0459);
Write32(0x48000028, 0x00000032);
Write32(0x4800002c, 0x00000030);
Write32(0x48000030, 0x00000030);
                   
                  

⌨️ 快捷键说明

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