WeatherDuino Forum

Full Version: Data Logger
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having an issue with my completed system when I install the software to allow the new data logging to take place. I upload to the receiver with the switch open. Once compiled and loaded (no errors) reinstall the switch and add power. The receiver will not clear the 'wait"' message, it just hangs. When I change the data logger parameter back to 0 in the software, compile/upload all works fine, wait message disappears. I then can open Cumulus and it gets updated. Any clues on what the issue maybe would be appreciated.
Might need Werk to comment, but in the meantime you might want to double check the soldering of the RAM chip and it's orientation.
(22-06-2015, 05:56)dormani Wrote: [ -> ]Any clues on what the issue maybe would be appreciated.

Hi,

The most probable cause for this issue is related to your RTC module. Maybe it is not a ZS-042 model.
The new software uses the eeprom installed on the RTC module, and some other RTC modules or have a different eeprom or at least it is located at a different address.

To discover what is happening, let's try some procedures:

First step: Check if your system can communicate with the flash memory.

- Download the latest software release (2015-06-21). In the folder utilities you will find a small sketch called FlashMemory_Test.
- Compile and upload it to your RX unit. Open the serial monitor window, and check if you get some output with info about the flash memory chip.
- If you get output from previous procedure, go to next step, if not, double check the soldering of the flash memory chip and it's orientation.

Second step:

- Also included in the utilities folder, there is another small sketch called I2C Scanner.
- Compile and upload it. Open the serial monitor window. You should get something like this:

Quote:Scanning...
I2C device found at address 0x27 !
I2C device found at address 0x57 !
I2C device found at address 0x68 !
I2C device found at address 0x77 !
done

If instead of 0x57, you get 0x56, please report back, then I will try to guide you to the next steps.
I am getting the following response after uploading and running the script.
I have also checked the output of the I2C Scanner and it matches what is expected. I assume that there is an issue with the logger IC as all that is returned is zeros.

Security register (byte 64 to 127) :
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
Status register :0
Manufacturer ID :
0
Device ID (part 1) :
0
Device ID (part 2) :
0
Extended Device Information String Length :
0
It seems so Sad

Have you checked the chip orientation?
On the board, pin 1 is on the top left marked with a small circle. AT45DB011D-SSH-B chips, usually have PIN 1 marked with a small triangle on the top side.

Also check the welding at each pin. With care, reheat them again.