fixed flash scripts (flash sector erase was not correct) which are now all verified and working
This commit is contained in:
@@ -72,14 +72,23 @@ flash 0xE0000000
|
||||
# flash-plugin (target-based flashing) does not work yet
|
||||
#flash-plugin 0x10000000 0x4000 flash29.plugin
|
||||
|
||||
erase 0xE0000000 0
|
||||
erase 0xE0000000 0x1000
|
||||
erase 0xE0000000 0x2000
|
||||
erase 0xE0000000 0x3000
|
||||
# Erase flash from 0xE0000000 to 0xE00FFFFF (reserved space for BaS)
|
||||
#
|
||||
# Caution: sector offset numbers need to be the ones from the x16 address range
|
||||
# column and they vary in size - needs to be exactly as in the data sheet (p. 9)
|
||||
#
|
||||
# contrary to documentation, it seems we need to erase-wait after each sector
|
||||
|
||||
erase 0xE0000000 0x00000
|
||||
erase-wait 0xE0000000
|
||||
erase 0xE0000000 0x08000
|
||||
erase-wait 0xE0000000
|
||||
erase 0xE0000000 0x10000
|
||||
erase-wait 0xE0000000
|
||||
erase 0xE0000000 0x18000
|
||||
erase-wait 0xE0000000
|
||||
|
||||
load -v bas.elf
|
||||
#load -v ram.elf
|
||||
wait
|
||||
sleep 100
|
||||
execute
|
||||
|
||||
Reference in New Issue
Block a user