_WDWORD(0x56000000, 0x000003FF); // GPACON: Enable Address lines for SDRAM
}
// Reset chip with watchdog, because nRST line is routed on hardware in a way
// that it can not be pulled low with ULINK
_WDWORD(0x40000000, 0xEAFFFFFE); // Load RAM addr 0 with branch to itself
CPSR = 0x000000D3; // Disable interrupts
PC = 0x40000000; // Position PC to start of RAM
_WDWORD(0x53000000, 0x00000021); // Enable Watchdog
g, 0 // Wait for Watchdog to reset chip
Init(); // Initialize memory
LOAD uart发送和接收.axf INCREMENTAL // Download program
SetupForStart(); // Setup for Running
g, main
。。。。。。。。。。
。。。。。。。。。。
其中注释掉时钟设置是因为csdn上有人说我使用jlink的时钟和程序实际运行时钟时序不一致,但发现还是不行