mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Don't disable flash DIO operation before flashing - it works fine with DIO
This commit is contained in:
1 parent
5a8a8ed91b
commit
4ca5b4e87a
3 files changed
-5
No files matched your search
@@ -361,9 +361,6 @@ void installer(void)
|
||||
setup_serial_timer1();
|
||||
print_string("\nRTLPlayground installer starting...\n");
|
||||
|
||||
// Initialize flash functions with disable DIO because writing does not work otherwise
|
||||
flash_init(0);
|
||||
|
||||
__xdata uint32_t dest = 0x0;
|
||||
__xdata uint32_t source = UPDATE_CODE_LOC;
|
||||
// A 512kByte = 4MBit Flash has 128 sectors, we copy only 120
|
||||
|
||||
Reference in new issue
Block a user