can now flash through bdmctrl

This commit is contained in:
Markus Fröschle
2012-12-09 06:34:05 +00:00
parent 78e99605fd
commit 39a67d3382

View File

@@ -1,4 +1,4 @@
#!/usr/local/bin/bdmctrl -v10 #!/usr/local/bin/bdmctrl -D2
# #
# firebee board initialization for bdmctrl # firebee board initialization for bdmctrl
# #
@@ -67,11 +67,11 @@ write 0xFF000104 0x710D0F00 4 # SDCR (lock SDMR and enable refresh)
write 0xFF000240 0x80000000 4 # disable watchdog arbiter write 0xFF000240 0x80000000 4 # disable watchdog arbiter
# notify flashlib that we have flash at address 0xE0000000, length 0x7FFFFF, plugin is flash29 # notify flashlib that we have flash at address 0xE0000000, length 0x7FFFFF, plugin is flash29
flash 0xE0000000 flash29 flash 0xE0000000
# do not flash yet. First check if board can be initialized correctly # do not flash yet. First check if board can be initialized correctly
# load -v bas.elf load -v bas.elf
load -v ram.elf #load -v ram.elf
wait wait
sleep 1000 sleep 100
execute execute