Followed Bills video about this board and the IDE compiles OK. When loading to the board it says "No serial data received" - exit status 2. After reading everything posted here, I don't find anything like this. Thanks in advance for any help.
I had a simular problem with an ESP32-S3. Try re-powering while holding boot button.
I had tried that but I did it again. When I applied power the red and yellow lights came on - then after a while the red one went out. After compiling again and trying to up load, same problem. Tried it again, this time when I plugged it in, only the red light came on. After a few seconds it went out. I was holding the left button down wile plugging in.
Thanks for the suggestion, I appreciate it. It must be something else. I wonder if I could have something wrong in the code but it would still compile correctly.
Cheers, Dave
@ddave86 Did you check your cable to make sure it's a data cable? I'll get a serial error when trying to upload to the MC with a charging only cable.
I have several USB to USB-C cables but don't have any idea how to test them. Could you suggest a method?
@ddave86 You can check continuity from pin to pin. Or if you have a portable ssd drive or cell phone that has a usb-c connector transfer some files using the cable.
I have no way of testing the cable so I compiled an example for MD_DS1307 using port 7 and it loaded ok. I believe my cable is OK.
Changed to port 7 and loads OK. Serial monitor does not tell me what url it is on, but displays:\
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820, len:0x116c
load:0x403c8700, len:0xc2c
load:0x403cb700, len:0x3108
entry 0x403c88b8
Making progress but now what??
TIA, Dave
After the XIAO_ESP32S3 loaded OK I couldn't get URL to see in the Serial Monitor. I used Advanced IP Scanner to see what addresses were live and dead. The results were inclusive. Some IP addresses were live when the XIAO_ESP32S3 was plugged in and not live when not plugged in. When I went too a browser and typed in an address (like http://192.168.1.79), it reported some browsers used that IP address as a home page. I'm open to suggestions.
Hi @ddave86,
Any address of the style 192.168.xxx.yyy, where xxx and yyy are between 0 and 255, is reserved for local networks, and never broadcast across the Internet.
When someone sets up small 'home' style network with a router, they usually pick a value for xxx, such as 001, and all the computers, phones, ESP32 Wifi device, etc. are then allocated 1 unique address each in the range 1 to 254, for yyy. (0 and 255 are 'special' reserved addresses.)
A web site server, which could be a program running on an ESP32 can then be accessed locally within that local net, using the address allocated to the ESP32.
I am sorry, but I am confused by your statement "some browsers used that IP address as a home page", because a browser is a program that visits a web server ... the user can type the IP address, into the browser, and the browser will send out a message, with that address in its header, in the hope that the web server will receive the message, and respond accordingly. It is normal for a web server to have a 'home page', which is the introductory page for the whole site.
To enable the web server to send a response back, the message will also have the address of the machine hosting the browser programme, but the browser itself does not have a home page, nor does it have a web address that expects to be called from elsewhere.
---------
If you have a PC or phone, that is running a browser program, then for simple local network connectivity, it is 'common to' ensure that the xxx part of the address allocated to the PC is the same as that allocated to the web server host.
e.g. If the web server ESP32 is on address 192.168.55.3, then the default address of the PC with the browser needs to be one of the other addresses 192.168,55.yyy, such as 192.168.55.7
I have used words like 'common to' and 'usually', because more sophisticated systems can be set up, but this is the simple system typically used in home and small office systems.
I hope that helps a little bit on understanding the background.
I am not clear which program you have uploaded to the ESP32, but in the example programs I tried a long time ago, it was possible to set the address near the beginning of the program, although some example programs omitted this option, and defaulted to an address 'hidden' in the library code, presumably expecting the user to read the address printed to the Serial Monitor when the ESP32 booted.
Again from memory, this used to be ok, providing you set the Serial Monitor to the same baud rate as the ESP32 program ... otherwise the screen printing will be nonsense or nothing.
Best wishes, Dave
Is your esp32 connecting to your home network as a station or is it configured to be an access point for its own network ?
I changed the serial speed to 115200. After rebooting and reloading the XIAO_ESP32S get only the serial message "ESP-ROM:esp32s3-20210327". ??
Followed Bills video about this board and the IDE compiles OK.
I'm confused.
What video are you using?
What circuit are you using?
What sketch are you using?
I looked at the "Meet the Seeeduino XIAO" article and can't find a mention of a URL. So, I assume you're looking at something else.
The one who has the most fun, wins!
Your code is causing an exception which is not being handled by the processor and causing it to to reboot continuously. In esp32 world that called a "panic"
I would just load a know working sketch just to make sure your environment is set up correctly.
If you can run some code without the core panicking, then you have to make sure your running the same arduino-espressif core version as Bill did in his video.
Also make sure your code compiles to a size that will fit into your flash. Read the build messages to make sure you don't need to increase the flash size which can be done using a different partition table scheme.
