mirror of https://github.com/ARMmbed/mbed-os.git
Update Comments
parent
167a3098c8
commit
f0ec813d71
|
@ -205,7 +205,7 @@ int QSPIFBlockDevice::init()
|
|||
switch (vendor_device_ids[0]) {
|
||||
case 0xbf:
|
||||
// SST devices come preset with block protection
|
||||
// enabled for some regions, issue write disable instruction to clear
|
||||
// enabled for some regions, issue global protection unlock to clear
|
||||
_set_write_enable();
|
||||
_qspi_send_general_command(QSPIF_ULBPR, QSPI_NO_ADDRESS_COMMAND, NULL, 0, NULL, 0);
|
||||
break;
|
||||
|
|
|
@ -67,7 +67,7 @@ int SPIFReducedBlockDevice::init()
|
|||
switch (id[0]) {
|
||||
case 0xbf:
|
||||
// SST devices come preset with block protection
|
||||
// enabled for some regions, issue gbpu instruction to clear
|
||||
// enabled for some regions, issue global protection unlock to clear
|
||||
_wren();
|
||||
_cmdwrite(SPIF_ULBPR, 0, 0, 0x0, NULL);
|
||||
break;
|
||||
|
|
|
@ -168,7 +168,7 @@ int SPIFBlockDevice::init()
|
|||
switch (vendor_device_ids[0]) {
|
||||
case 0xbf:
|
||||
// SST devices come preset with block protection
|
||||
// enabled for some regions, issue write disable instruction to clear
|
||||
// enabled for some regions, issue global protection unlock to clear
|
||||
_set_write_enable();
|
||||
_spi_send_general_command(SPIF_ULBPR, SPI_NO_ADDRESS_COMMAND, NULL, 0, NULL, 0);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue