raf
New Member
Posts: 7
|
Post by raf on Mar 22, 2023 21:47:48 GMT
This is my error code please help. Sketch uses 9626 bytes (31%) of program storage space. Maximum is 30720 bytes.
Global variables use 468 bytes (22%) of dynamic memory, leaving 1580 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\\.\COM5"
Failed uploading: uploading error: exit status 1
|
|
|
Post by Rowan on Mar 23, 2023 8:23:08 GMT
Hi Raf, That error comes up because the arduino IDE can't open the COM port on the computer. First thing to check is that you have the right COM port selected - unplug the arduino, see which port disappears in the COM port selection menu, plug it back in, select the newly appeared port. After that, check that no other software is open that might be using the port. If it's still not working go into device manager and check what the port is being identified as - it should be in the Ports(COM & LPT) category and show as "USB-SERIAL CH340 (COM5)" If this isn't the case try re-installing the drivers - either following the quick guide in our eChook documentation, or there's a good sparkfun tutorial here: learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/allIf none of that works I'll have another think! Let me know how it goes
|
|
raf
New Member
Posts: 7
|
Post by raf on Mar 23, 2023 10:10:27 GMT
I've trield all the above already, but I'll try again later today.
|
|
|
Post by Rowan on Mar 23, 2023 10:12:46 GMT
Ah, ok. Do you have a different computer you can try it on?
|
|
raf
New Member
Posts: 7
|
Post by raf on Mar 23, 2023 15:50:45 GMT
i've reinstelled the drivers, the com port apears correct in the ports list. But stil the same error in the software. I dont have an other computer for the moment.
|
|
raf
New Member
Posts: 7
|
Post by raf on Mar 23, 2023 18:54:12 GMT
Thanks, I've got it working using another button in the software. I've got another problem, I cannot see the live data on the live data website. I've entered the paswords on the site and on the app on my phone but no live data on the laptop screen. Can you help?
|
|
|
Post by Rowan on Mar 24, 2023 12:55:35 GMT
Excellent, what actually fixed it in the end? Live data wise I've just checked my end and the service is running up and running. In the app, could you double check that the username and password are entered correctly, and that the toggle for "Enable eChook Live Data" is on? Failing that, drop me an email (in my signature) and I can check the server logs when you're trying to connect and work out what's going on. Cheers, Rowan.
|
|
raf
New Member
Posts: 7
|
Post by raf on Mar 24, 2023 17:34:08 GMT
I've used the upload in the pull down menu and that solved the problem.
I've checked the password and looks ok.
Thanks
|
|
|
Post by Rowan on Mar 25, 2023 9:54:25 GMT
That is very odd! Sounds a like a bug in that version of the Arduino IDE if it's repeatable. I'm glad you found a solution.
Live data wise, email me and I'll check what's happening server side for you.
|
|