首先你已经取得了很大的进展了,能boot起来了。
我觉得你如果问如何在启动后让UART、I2C, SPI、EMIFA、TIME、EDMA等外设能正常使用更好。
外设不能用应该是因为PSC没使能相应的外设,在ini文件里有相应的说明:
; This section should be used to setup the power state of modules
; of the two PSCs. This section can be included multiple times to
; allow the configuration of any or all of the device modules.
; |------24|------16|-------8|-------0|
; LPSCCFG: | PSCNUM | MODULE | PD | STATE |
;[PSCCONFIG]
;LPSCCFG = 0x01030003
比如下面代表使能PSC1的10号外设即SPI1。
[PSCCONFIG]
LPSCCFG=0x010A0003
相应的可以照着使能其它外设。
[PSCCONFIG]
LPSCCFG=0x00030003 ; PSC0的3号外设EMIFA
你是怎么修改的ini呢。