|
Visit https://my.visualstudio.com. Does it accept the credentials that you're trying to supply to VS itself? Does it accept any other credentials?
If so, try to leave feedback from there.
|
|
|
|
|
The original line in the movie is
"What We Have Here is Failure to Communicate"
I'm sorry, I tried to NOT do that but now I can rest.
Iβve given up trying to be calm. However, I am open to feeling slightly less agitated.
Iβm begging you for the benefit of everyone, donβt be STUPID.
|
|
|
|
|
I do not mind. Thank you for the correction. I am of similar nature.
|
|
|
|
|
I want an IoT ecosystem that's as cross platform as possible, but even then I have some code that is for some MCUs specifically - generally driver stuff, or things that take advantage of one off features of an MCU like integrated WiFi. The ESP32 is a popular target of mine. The ESP32 targeted things can either run under Arduino or the ESP-IDF, so there are still cross platform considerations, since the ESP-IDF and Arduino frameworks operate in fundamentally different ways.
I recently built a project that runs on Arduino or the ESP-IDF, and runs on one of two devices - The M5 Stack Core 2 and the M5 Stack Tough. They share much of the same hardware, slightly different wiring, and most notably a different capacitive touch panel controller.
Eventually I modularized the configuration for the project, restructuring it so the shared libraries were grouped together, and then it had specific libraries for each device separately. I've pasted the result at the end of this post.
Anyway, I developed a good portion of this over the past several days, and/or upgraded existing code to be cross platform. Those shared library dependencies are the same for Arduino, and the ESP-IDF, and work the same across those two devices. There are only two libraries each that are specific to the device - its power chip, because despite both being an AXP192 they are wired differently on each device, and then the touch panel controller.
There are very few and very brief forks in my actual application code either, and it compiles and runs under Arduino and ESP-IDF on both devices.
I don't know how practical this accomplishment is, but I wanted to share it with someone, and everyone around me is asleep right now.
And yeah, I wrote an article about it today, but it didn't cover this bit.
[common]
core2_com_port = COM10
tough_com_port = COM20
lib_deps_shared = codewitch-honey-crisis/htcw_esp_i2c ; i2c init
codewitch-honey-crisis/htcw_esp_lcd_panel_ili9342 ; screen
codewitch-honey-crisis/htcw_uix ; UI and Graphics
codewitch-honey-crisis/htcw_esp_wifi_manager ; wifi
codewitch-honey-crisis/htcw_esp_ntp_time ; NTP time service
codewitch-honey-crisis/htcw_bm8563 ; real time clock
codewitch-honey-crisis/htcw_esp_ip_loc ; IP geolocation
lib_deps_core2 = codewitch-honey-crisis/htcw_m5core2_power ; AXP192 power chip
codewitch-honey-crisis/htcw_ft6336 ; touch screen panel
lib_deps_tough = codewitch-honey-crisis/htcw_m5tough_power ; AXP192 power chip
codewitch-honey-crisis/htcw_chsc6540 ; touch screen panel
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
A little OT, but I suspect that you're the one to ask...
I've got a system of 14 RTUs on a rs-485 chain, and I need to monitor and record the data passing back and forth among devices. All I can find are tools that want to actively query devices, not just passively listen. Do you use such a tool in your IoT activity, or know of one that I might be able to use?
Will Rogers never met me.
|
|
|
|
|
I've never needed to do that. I have a serial UART probe that handles that kind of thing for me, and a logic analyzer when that doesn't work.
But sniffing wires? That's outside my wheelhouse. Could you splice into it?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Yes, I can splice into it or just wire a logger into a terminal block on the chain. A logic analyzer would do it, but I'd really like something that understands the MODBUS commands and can list what commands have been sent to each device, and report the responses, if any. I suppose I'm looking for a rs-485 MODBUS equivalent to an Ethernet port sniffer, but I'm not having any luck finding one. [sigh] Oh well, just thought I'd ask. Thanks!
Will Rogers never met me.
|
|
|
|
|
Good luck!
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
If you are comfortable with this sort of thing, a homegrown protoboard approach is an option. I'm currently working on a project where several Arduino devices communicate over a rs485 bus. I use Max3488 chips to switch between balanced rs485 lines and the Arduino's single ended Tx/Rx signals. For troubleshooting, I run an Arduino and Maxx3488 8 pin DIP on a protoboard. Once you have that, you can snoop on the 485 bus with a very few lines of code and a serial monitor.
|
|
|
|
|
That's a definite possibility, and have a few Arduino boards lying around here. Trouble is, I have no time to play anymore! Grrr!!!
Will Rogers never met me.
|
|
|
|
|
Wordle 1,090 5/6
π¨π¨β¬β¬π¨
π¨β¬π¨β¬π©
π©β¬β¬π©π©
π©π¨β¬π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,090 3/6*
π©β¬β¬π©β¬
π©π¨β¬π©β¬
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,090 3/6
β¬β¬β¬π¨π¨
π¨π©π¨β¬β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 1,090 4/6
π¨π¨π¨β¬β¬
β¬π¨π¨π¨β¬
π©π¨β¬β¬π©
π©π©π©π©π©
|
|
|
|
|
β¬β¬π¨π¨β¬
π©π©β¬β¬β¬
π©π©π©π©π©
if I'd gone with my gut feeling I'd of got it in two
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,090 5/6*
π©β¬π¨β¬β¬
π©β¬β¬β¬π©
π©β¬β¬β¬π©
π©β¬β¬β¬π©
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,090 4/6
π©β¬β¬π¨β¬
π©β¬π¨π¨β¬
π©π©π¨β¬β¬
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,090 3/6
β¬π¨β¬π©β¬
β¬β¬β¬π¨β¬
π©π©π©π©π©
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Wordle 1,090 3/6*
🟩🟨β¬🟨β¬
🟩🟩🟨β¬β¬
🟩🟩🟩🟩🟩
|
|
|
|
|
I googled that knowing what I'd find, and hit pay dirt, unsurprisingly on the first link on my first stab.
My brain is now filled with crap like this from doing embedded, both professionally and IoT stuff as a hobby.
It's making me a google ninja in some areas at least.
As to why I need it, well I'm trying to solve the case of the mysterious disappearing flash space.
My device is rated to have 16 megabytes, but I'm only seeing 1MB available for my code.
I don't know if this will fix it, but eventually google will lead me there, and probably quicker than an LLM could.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Check the scatter file or the linking window, it might have a segmented memory space.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
It didn't.
Some PIO update somehow either nuked the propagation of the flash partition tables to the project, or it is ignoring them altogether and going to a very conservative default (for an ESP32) of 2MB, which I get half of normally.
So what I did was I got that 16MB.csv file which specifies the standard partitions on an ESP32 with 16MB flash. Then I referenced locally within the project instead of trying to get PIO to just work with what it had, because it wasn't
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I posted something a long while back. It was a post about my speed records driving on sidewalks.
How Fast Do You Drive On Sidewalks? [^]
I have a little bit of housekeeping I'd like to do.
I won't name any names, but one individual
decided to reply to a thread of mine
with a rant. He wasn't very nice.
He and a couple dozen others immediately
piled on, attacked me with derogatory
slurs, incessantly mocked everything they
could about me, and even expressed humor
about the death of one of my family members.
That's the one reason that I post this thread.
The individual who instigated the whole mess
by posting his rant needs to be called out for
subjecting another person to such defamation.
For those of you who participated in this,
take a look at the truth. Review the evidence,
and then take a look at yourselves. If it
doesn't amuse you, it means you shouldn't
take yourself so seriously.
Below is a post that I wrote in another thread.
It demonstrates the humor of the truth. That was
many months ago, and no one saw that post.
For the record, here it is.
Ah, ha! Yes! Do any of you remember my thread asking you guys
how fast you drive on sidewalks?
**Yes, I have driven 63 mph on a sidewalk!
OK, back on topic. I think GTA is a great game!
I used to play Grand Theft Auto: San Andreas back in 2007.
I never actually learned how to play the game.
I still haven't a clue how to play it.
I had every cheat code memorized.
I spent most of my time shooting down police helicopters
by the dozens with an endless supply of rocket launchers.
Then, I discovered how to turn off gravity.
I would magically materialize a military tank out of thin air,
turn off gravity, get inside the tank, and repeatedly fire
the cannon. The recoil would accelerate the tank in reverse,
and once I got up to speed, I would take off into the air.
Sometimes, I'd land the tank on the road and, *GASP* veer off
the road and onto the sidewalk!
DISCLAIMER: I'm sorry to all of you who are reading this.
It's not my intention to traumatize anyone by what I'm saying.
May God bless the many loved ones in your life who were lost
being hit by vehicles driving down sidewalks.
I can only imagine how amazing the newest versions of GTA are.
If you can still turn off gravity, materialize unlimited
military tanks out of thin air, and play the game as a
flight simulator, I want to play it!
**That would have turned out to be a fun thread if it weren't for an unnamed social justice hero who derailed that thread with his preposterous act of virtue signaling. I apologize to all of you who read that thread. For those of you who have lost loved ones (many of you, I'm sure) from being hit by cars driving on sidewalks, it wasn't my intention to traumatize you or trigger you to have a PTSD episode. I've had a family member who was killed after being struck by a vehicle as a pedestrian. It's an awful thing, but I'm glad it didn't destroy my sense of humor.
|
|
|
|
|
Dude, I just read the original thread. It seems that instead of telling everyone else to stop taking themselves seriously, maybe you should begin to take yourself less seriously.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Dude, I just read the original thread. It seems that instead of telling everyone else to stop taking themselves seriously, maybe you should begin to take yourself less seriously.
Oh, the irony of it all. Are we done here?
|
|
|
|