Test other release power down

This commit is contained in:
Daniel Jobson 2024-07-10 12:29:49 +02:00
parent e104dbf251
commit d02d3897af
No known key found for this signature in database
GPG Key ID: 3707A9DBF4BB8F1A

View File

@ -94,12 +94,12 @@ int main(void)
uint8_t read_buf[0xff] = {0x00};
// touch_wait(LED_BLUE, 0); // start test
flash_release_powerdown();
read_buf[0] = RELEASE_POWER_DOWN;
// touch_wait(LED_BLUE, 0); // start test
flash_release_powerdown();
spi_write(read_buf, sizeof(read_buf), NULL, 0);
spi_write(read_buf, sizeof(read_buf), NULL, 0);
// Read out IDs
memset(read_buf, 0x00, sizeof(read_buf));
flash_read_manufacturer_device_id(read_buf);
write(read_buf, 2);