Base64 encoder

Feature requested and implemented
User avatar
cicciocb
Site Admin
Posts: 1996
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 428 times
Been thanked: 1336 times
Contact:

Re: Base64 encoder

Post by cicciocb »

I just uploaded the ESPCAM 1.51.1.
You can use the OTA or the online flasher to update.

I did not tested so, let me know.
rmsta
Posts: 36
Joined: Sat Feb 20, 2021 9:36 am
Location: Sindelfingen, Germany
Has thanked: 140 times
Been thanked: 10 times

Re: Base64 encoder

Post by rmsta »

I tried to test this morning, but honestly, perhaps I made a mistake when flashing a module where a Ver 1.49.2 CAM was running stable before:
Connected the module to the WEB Installer (this was the mistake) and flashed 1.51.1 ESP32 to the module. Annex worked so far. When I noticed the error, I flashed 1.51.1 CAM via OTA, which also worked. But since then the camera couldn´t be adressed in any way. Finally I erased the flash via the Toolkit and flashed 1.49.2 CAM and later 1.48.22 CAM also via the toolkit, the result is in all cases the same:
When adressing the camera eg

Code: [Local Link Removed for Guests]

'
'Ver 1.48.22
wlog "init"
Ret = CAMERA.PARAMS("framesize",13)
wlog Ret
wait
This ended with reboot:

Code: [Local Link Removed for Guests]

Number of program lines :6
Basic File Loaded: /test.bas
Program RunningProgram Running
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core  1 register dump:
PC      : 0x400e57e8  PS      : 0x00060830  A0      : 0x800e4ad7  A1      : 0x3ffcdd60  
A2      : 0x00000000  A3      : 0x3ffd6ac4  A4      : 0x3ffc5cac  A5      : 0x3f41b508  
A6      : 0x3ffcddbc  A7      : 0x0000000d  A8      : 0x800e57e4  A9      : 0x3ffcdd40  
A10     : 0x00000001  A11     : 0x0000000d  A12     : 0x3ffd635c  A13     : 0x3ffc3df4  
A14     : 0x00000008  A15     : 0x7ffa0000  SAR     : 0x00000014  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000040  LBEG    : 0x4008ca6d  LEND    : 0x4008ca91  LCOUNT  : 0x8011870a  

Backtrace: 0x400e57e5:0x3ffcdd60 0x400e4ad4:0x3ffcddf0 0x400e4c13:0x3ffcde30 0x400e4e78:0x3ffcde60 0x400e7cce:0x3ffcde90 0x4008210e:0x3ffcdec0 0x400f063f:0x3ffcdef0 0x400f088c:0x3ffcdf50 0x40117855:0x3ffcdf90

ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
Annex initializing...
PSRAM enabled
module Type 0 Display 255 SD_Card 0
OK
No SD cards found. Reverts to FFAT

AnnexCAM 1.48.22
(C) ciccioCB 2022
Personal use only, commercial use strictly prohibited

Chip revision 1 Freq 240
STARTING
Connecting to abc
.............
Connected to abc
IP address: 192.168.0.59
ws[/ws][1][2] connect
I feel for the next tests, I have to buy a new module.
Any other idea would be appreciated very much.

Rainer
User avatar
cicciocb
Site Admin
Posts: 1996
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 428 times
Been thanked: 1336 times
Contact:

Re: Base64 encoder

Post by cicciocb »

I tested personally yesterday night and it was working.

I think that you didn't selected the right module in the config page so the camera is not initialized.

This message is not correct

Code: [Local Link Removed for Guests]

module Type 0 Display 255 SD_Card 0
The module type should be 201 (for the esp32-cam or 202 for the M5 camera)
rmsta
Posts: 36
Joined: Sat Feb 20, 2021 9:36 am
Location: Sindelfingen, Germany
Has thanked: 140 times
Been thanked: 10 times

Re: Base64 encoder

Post by rmsta »

Ooh, you are right ! I was too fast and forgot to set the module type on then config page.
Meanwhile I flashed another 2 "garden" CAMs and I can confirm everything is working as expected.
I thint the picture buffer works as in 1.48.22, but taking 4 additional pictures doesn´t matter.
Thank you for the hint !

Rainer
Post Reply