TinyCircuits

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PSch

Pages: [1]
1
TinyDuino / Re: Problems writing on Flash Memory TinyShield
« on: May 24, 2018, 04:15:34 AM »
 :D
Solved!

Just updated to the new SPIMemory library and all works brilliantly now!!
https://github.com/Marzogh/SPIMemory

2
TinyDuino / Re: Problems writing on Flash Memory TinyShield
« on: May 18, 2018, 05:06:01 AM »
Does anyone have an example of a simple sketch that is definitely working for writing data on the flash shield so I can further investigate my problems?

3
TinyDuino / Re: Model Rocket Acceleration Project
« on: May 18, 2018, 05:02:27 AM »
Hi,
Why not use the millis() function?
https://www.arduino.cc/reference/en/language/functions/time/millis/

This gives you (at least) a timestamp in milliseconds (and then buffer in an array of datapoints before writing on the SD card).
Cheers

4
TinyDuino / Problems writing on Flash Memory TinyShield
« on: May 14, 2018, 11:21:00 AM »
Hi,
I have problems writing on the Flash Memory TinyShield using the example code TinyShield_FlashMem_Example.ino or any other example code I found (I tried to modify the GPS tracker example).
For testing I just run the ASM2001 Rev9, ASD2101 Rev6 and ASD2202 Rev3 (flash) shields.
I updated the SPIFlash library but still no success.

Can anyone help?

I get the following output:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                              Important Notice
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
               This version of the library - v3.1.0 will be the last version to ship under the name SPIFlash.
            Starting early May - when v3.2.0 is due - this library will be renamed 'SPIMemory' on the Arduino library manager.
                     Please refer to the Readme file for further details.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Chip Diagnostics initiated.

No Chip size defined by user. Automated identification initiated.

Using writeByte...
Error code: 0x07
Write failed!
Using readByte...
The byte on page 427 at position 19 is: 0

Pages: [1]