Closed JasonC0x0D closed 3 years ago
Sorry I haven't had a chance to reply properly yet. I believe the issue is that after a flash.sleep() command, only the device_id and wake() commands will be responsive, see section 8.2.19 from the w25x40CL datasheet. This is normal behavior :-) I chose not to pollute the library with variables that keep track of what the user is doing. I believe that is something that the user should do in their firmware code. If you issue a sleep(), then first thing upon wakeup is to call flash.wake() to use it. Otherwise it is unresponsive, as per the datasheet.
Felix,
I agree that the flash chip is responding as stated in the data sheet.
On Jun 7, 2021, at 6:08 AM, Felix Rusu @.***> wrote:
Sorry I haven't had a chance to reply properly yet. I believe the issue is that after a flash.sleep() command, only the device_id and wake() commands will be responsive, see section 8.2.19 from the w25x40CL datasheet. This is normal behavior :-) I chose not to pollute the library with variables that keep track of what the user is doing. I believe that is something that the user should do in their firmware code. If you issue a sleep(), then first thing upon wakeup is to call flash.wake() to use it. Otherwise it is unresponsive, as per the datasheet.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Note: Bug found when using: Hardware Moteino Trace Antenna RFM69HCW 915MHz with Flash Memory Chip LowPowerLab BME280 Board 1 400mAh LiPo battery (from Adafruit) 1 MOhm resistor from VIN to A7 - Battery Monitor 1 MOhm resistor from A7 to Ground 1 Solderless breadboard
Software Default LowPowerLab WeatherMote Example sketch that was configured to the network.