I'm having trouble writing to NOR flash from u-boot.
Any ideas?
=> protect off 0xec920000 +0x9e0000
Un-Protected 79 sectors
=> erase 0xec920000 +0x9e0000............................................................................... done
Erased 79 sectors
=> cp.b 0x1000000 0xec920000 1809840
Copy to Flash... 9....8....7....6....5....4....3....2....Flash not Erased
Solved! Go to Solution.
The "1809840" is too large as 'count'.
All U-Boot commands expect numbers to be entered in hexadecimal input format.
Thanks! How silly of me.
When I correct my command to use hexadecimal, it works.
Wrong:
cp.b 0x1000000 0xec920000 1809840
Correct:
cp.b 0x1000000 0xec920000 0x1b9db0
The "1809840" is too large as 'count'.
All U-Boot commands expect numbers to be entered in hexadecimal input format.