PaxInstruments / t400-firmware

Firmware for the Pax Instruments T400 temperature datalogger
22 stars 5 forks source link

Implement SPI flash timeout #137

Open charlespax opened 9 years ago

charlespax commented 9 years ago

On Electronics version 0.9 the SPIFlash library hangs on flash.initialize() because it calls SPI.transfer(0), which always returns 255 with IC not present on this hardware version. This is a problem with implementing a SPI flash test in the T400 testing firmware (https://github.com/PaxInstruments/t400-firmware/issues/125).

There are a few options for working around this.

charlespax commented 9 years ago

This is a problem I ran into while making test code. Would this be an issue with the shipping firmware?

cibomahto commented 9 years ago

Moving to icebox, reconsider it if you're making them in 10k quantity.