-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
I really want to thank you for giving me help and feedback on this. Although I can’t, for the life of me, understand what’s going on, at least someone is throwing out ideas. My code is under git/source control. I cannot see any changes that I’ve made, looking over my Github history, that could explain this. I did branch off of main to work on some…[Read more]
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
<quote>”Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this might happen?” </quote>
So a perspective – its your code, and its your environment – so i have no idea, just throwing out a suggestion based on the data of compi…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this might happen?
Here’s the full sketch, based off of Menu_a_la_carte:
/** ========================================================================= * @file…
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
@tahicksonstthomas-edu – like as you say thats interesting, all of investigations start with that.
Probably post the code – though it looks like it is structured to not compile – eyeball the code flow from first call to setup() and subsequent calls to main() and is your section of the code isolated.
SC typically shows colour coded syntax – t…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Well, that’s interesting. After running a compile check, I get:
RAM: [ ] 0.1% (used 9 bytes from 16384 bytes)
Flash: [ ] 0.4% (used 510 bytes from 130048 bytes)And when I do the same for “Blink” I get:
RAM: [ ] 1.6% (used 266 bytes from 16384 bytes)
Flash: [ ] 1.7% (used 2252 bytes from 130048 bytes)So, for some reason, even though it looks…[Read more]
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
I wonder what is the size of the code ?
From the bottom of the PIO when I build I have
RAM: [===== ] 52.2% (used 8551 bytes from 16384 bytes)
Flash: [========= ] 87.4% (used 113628 bytes from 130048 bytes)
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Thanks for the reply, Neil. I tried using “upload_port” in platformio.ini and there was no change. Also restarted VSC a couple of times. Tried connecting with the Mayfly off and then on. The weird thing is that I can get simple code to load and work. But this Mayfly code, which is significantly more complex and lengthy, will compile fine, worked…[Read more]
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
@tahicksonstthomas-edu – just wondering if you tried rebooting, or tried it again.
VSC and also Platfromio regularly do updates – and sometimes just exiting and starting VSC again seems to work for me.
More recently for some reason two comport have appeared with a BlueTooth access.
You can also check what the USB enumerates as a COM port and…[Read more]
-
neilh20 replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
@nick Apparently try it with out clicking the “notify option” –
https://github.com/ODM2/ODM2DataSharingPortal/issues/668
not clear if the bug fix has gone live, or will be fixed on the next pass
-
Sedhead started the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
I am using VSCode and Platformio to upload sketches to my Mayfly boards. The sketches compiled and uploaded fine two weeks ago. Today, when I went to deploy the sensors, the code compiled fine and it even looked like it uploaded fine, except that the upload was way too fast. Usually there is a bit of a lag as the code is being written to the…[Read more]
-
neilh20 replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
@nick – I tried https://monitormywatershed.org/sites/TWItest/ and it doesn’t exist
What is valuable for your “error report” is the error that is occurring when you submit to MMW. That would be the screen shot you need.
Perhaps there is some field that needs to be filled in that is missing
I usually use a naming convention, as it has to be…[Read more]
-
nick replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
@neilh20 I attached a screenshot of what I am entering to register a site. Am I missing something that is causing me this error?
I’m wondering if the account itself is the problem?
-
neilh20 replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
@nick I just tried – and it worked for me with 4 sensors. https://monitormywatershed.org/sites/nh_test230803/
Perhaps you could try starting from the beginning. Nothing bad should happen creating sites.
-
nick replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
My sites didn’t get registered though. Can anyone else register a site to see if the error pops up?
-
neilh20 replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
I saw this as well. Though it turns out the site was created .
https://github.com/ODM2/ODM2DataSharingPortal/issues/663
I hoped the issue had gone away, so I closed it after a few weeks..
I’ll re-open it with a reference to this conversation. I guess its a benefit in tracking bugs. If/when the project gets a burst of energy/focus (or $) t…[Read more]
-
nick started the topic Registering a new site on MMW in the forum Monitor My Watershed 3 years ago
I seem to be having issues with registering a new site on MMW where it is giving me this error: Server Error (500)
I tried on three different devices and three different browsers.
Is anyone else having this issue?
Thank you.
-
nick replied to the topic Upgrading boards at existing locations in the forum Mayfly Data Logger 3 years ago
@neilh20 Thank you for all of the info! It makes sense to create a dummy site on MMW so I can test without interfering with the production site. I will let you know how it turns out.
-
James P replied to the topic Gen2 CTD Sensor Noisy Conductivity in the forum Environmental Sensors 3 years ago
We’re seeing that. Ours are mainly shorter blips down:
-
James P became a registered member 3 years ago
-
neilh20 replied to the topic Upgrading boards at existing locations in the forum Mayfly Data Logger 3 years ago
@nick IHMO there are few maintenance and ease of use concepts built into github.com/EnviroDIY/ModularSensors & MMW.
To make it easier, it takes what Computer Science people call “Use Cases” for how equipment is used in the field. There are international standards for managing equipment maintenance states – however they take more softwa…[Read more]
- Load More
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of