@@ -98,10 +98,10 @@ void updateBootloader(){
98
98
99
99
flash.init ();
100
100
101
- Serial.println (" Flasing MBR..." );
101
+ Serial.println (" Flashing MBR..." );
102
102
applyUpdate (MBR_ADDR, MBR_bin, MBR_bin_len);
103
103
104
- Serial.println (" Flasing bootloader..." );
104
+ Serial.println (" Flashing bootloader..." );
105
105
applyUpdate (BOOTLOADER_ADDR, nano33_bootloader_hex, nano33_bootloader_hex_len);
106
106
107
107
Serial.print (" Bootloader 32bit CRC is: " );
@@ -114,19 +114,16 @@ void updateBootloader(){
114
114
flash.deinit ();
115
115
116
116
Serial.println ();
117
- Serial.println (" Bootloader update successfully completed!" );
117
+ Serial.println (" Bootloader update successfully completed!\n " );
118
118
}
119
119
120
120
void updateSoftDevice (){
121
121
flash.init ();
122
122
123
- Serial.println (" Correct booloader found!" );
124
- Serial.println ();
125
-
126
123
Serial.println (" Storing SoftDevice length info at 0xFF000..." );
127
124
writeSoftDeviceLen (SOFTDEVICE_INFO_ADDR);
128
125
129
- Serial.println (" Flasing SoftDevice..." );
126
+ Serial.println (" Flashing SoftDevice..." );
130
127
applyUpdate (SOFTDEVICE_ADDR, Softdevice_bin, Softdevice_bin_len - 4096 , 4096 );
131
128
132
129
flash.deinit ();
@@ -155,6 +152,8 @@ void setup() {
155
152
updateSoftDevice ();
156
153
}
157
154
}
155
+
156
+ Serial.println (" Done. You may now disconnect the board." );
158
157
}
159
158
160
159
uint32_t getTargetBootloaderCrc () {
0 commit comments