mini2440 bare metal program to the sdram not run.

Today wrote a simple assembly program led downloaded to mini2440 of nand flash which can operate normally, but there can not be downloaded to the sdram run.

Note that there are several points later found,

  1. To run sdram, the address link can not be like nand script which is the same as 0, which must be sdram address, for example, 0x30000000.
  2. Download to ram the address must match the address link and script.
  3. This address is not 0x30000000, 0x30008000 This address is certainly not a problem, 0x30000020 beyond this, can also be run, 0x3000001c this address can not run, but after minitools will automatically link broken links on other addresses less than 0x30000020, the reaction is not running of.

What is the specific reason, but also the subsequent further debugging.

Guess you like

Origin www.cnblogs.com/ramlife/p/11444392.html