Commit 24ce97d1 authored by Colin González's avatar Colin González
Browse files

Fixed bugs and provided a boot file for conevience.

parent fb443923
#! /bin/sh
exec sam-ba /dev/ttyACM0 at91sam9g20-ek src/flashing/$1-flash.tcl > flash.log 2>&1
sam-ba /dev/ttyACM0 at91sam9g20-ek opt/flashing/$1-flash.tcl > flash.log 2>&1
true
set bootstrap "/home/colin/Documents/apc/at91bootstrap/binaries/at91sam9g20ek-nandflashboot--3.8.10.bin"
set img "/home/colin/Documents/apc/template-freertos/bin/img-at91sam9g20-ek-at91sam9g20-sdram.bin"
set bootstrap "./opt/flashing/at91sam9g20ek-nandflashboot--3.8.10.bin"
set img "./bin/img-at91sam9g20-ek-at91sam9g20-sdram.bin"
NANDFLASH::Init
......
set img "/home/colin/Documents/apc/template-freertos/bin/img-at91sam9g20-ek-at91sam9g20-sdram.bin"
set img "./bin/img-at91sam9g20-ek-at91sam9g20-sdram.bin"
GENERIC::Init $RAM::appletAddr $RAM::appletMailboxAddr $RAM::appletFileName [list $::target(comType) $::target(traceLevel) $BOARD::extRamVdd $BOARD::extRamType $BOARD::extRamDataBusWidth $BOARD::extDDRamModel]
send_file {SDRAM} "$img" 0x20000000 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment