Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Programming esp32-cam - > espixelstick

  1. #11
    Join Date
    Dec 2011
    Posts
    7,566
    Post Thanks / Like

    Default Re: Programming esp32-cam - > espixelstick

    That is strange . All I have installed on my Win 10 is the Arduino IDE current ver. Java 8 and the EspixelStick . zip file that contained the firmware and javaflashtool .

    Was able to flash the cam board easily.

    Though the win10 machine has all win10 updates , I never use it as I prefer win 7 .

  2. #12
    Join Date
    Dec 2015
    Location
    Farnborough, UK
    Posts
    39
    Post Thanks / Like

    Default Re: Programming esp32-cam - > espixelstick

    ok, I got it, I thought that was a path, it's python running the bin/upload script - duh! I've downloaded and replaced the files in bin/esptool and bin/pyserial to latest, still the same
    If I use NodeMCU PyFlasher https://github.com/marcelstoer/nodemcu-pyflasher
    Code:
    Command: esptool.py --port COM3 --baud 460800 --after no_reset write_flash --flash_size detect --flash_mode dio 0x00000 C:\Temp\EspixelStick 4\firmware\esp32\esp32_cam-bootloader.bin
    
    esptool.py v3.0
    Serial port COM3
    Connecting........
    Detecting chip type... ESP32
    Chip is ESP32-D0WDQ6 (revision 1)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: 9c:9c:1f:e9:03:6c
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 460800
    Changed.
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Compressed 16544 bytes to 11405...
    Wrote 16544 bytes (11405 compressed) at 0x00000000 in 0.3 seconds (effective 462.6 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Staying in bootloader.
    
    Firmware successfully flashed. Unplug/replug or reset device 
    to switch back to normal boot mode.
    But I see there is three things to do, partitions, bootloader, app - not sure if this app understands that?

  3. #13
    Join Date
    Dec 2015
    Location
    Farnborough, UK
    Posts
    39
    Post Thanks / Like

    Default Re: Programming esp32-cam - > espixelstick

    Must be cached, if I run from command line, it works!
    Code:
    "c:\Temp\EspixelStick 4\bin\win32\python3\python.exe" .\bin\upload.py --chip esp32 --baud 460800 --port COM3 --before default_reset --after hard_reset write_flash -z 0x1000 firmware\esp32\esp32_cam-bootloader.bin 0x8000 firmware\esp32\esp32_cam-partitions.bin 0xe000 firmware\esp32\boot_app0.bin 0x10000 firmware\esp32\esp32_cam-app.bin 0x3D0000 firmware\filesystem.bin
    esptool.py v3.3-dev
    Serial port COM3
    Connecting......
    Chip is ESP32-D0WDQ6 (revision 1)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: 9c:9c:1f:e9:03:6c
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 460800
    Changed.
    Configuring flash size...
    Flash will be erased from 0x00001000 to 0x00005fff...
    Flash will be erased from 0x00008000 to 0x00008fff...
    Flash will be erased from 0x0000e000 to 0x0000ffff...
    Flash will be erased from 0x00010000 to 0x0015dfff...
    Flash will be erased from 0x003d0000 to 0x003fffff...
    Compressed 16544 bytes to 11405...
    Wrote 16544 bytes (11405 compressed) at 0x00001000 in 0.6 seconds (effective 210.9 kbit/s)...
    Hash of data verified.
    Compressed 3072 bytes to 129...
    Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.1 seconds (effective 255.6 kbit/s)...
    Hash of data verified.
    Compressed 8192 bytes to 47...
    Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (effective 390.3 kbit/s)...
    Hash of data verified.
    Compressed 1366640 bytes to 867755...
    Wrote 1366640 bytes (867755 compressed) at 0x00010000 in 21.6 seconds (effective 506.0 kbit/s)...
    Hash of data verified.
    Compressed 196608 bytes to 99390...
    Wrote 196608 bytes (99390 compressed) at 0x003d0000 in 2.5 seconds (effective 626.8 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...
    Put a serial monitor on it, and I can see it boot up correctly - woot, but Damn the led on this is bright, I guess it's used as a camera flash or similar

  4. #14
    Join Date
    Dec 2015
    Location
    Farnborough, UK
    Posts
    39
    Post Thanks / Like

    Default Re: Programming esp32-cam - > espixelstick

    Stupidly I hadn't put the right details in to connect to wifi - doh, too late now maybe tomorrow, but gotta start getting something up now!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •