B4R Question ESP32 first try: works with Arduino, but not in B4R

peacemaker

Expert
Licensed User
Longtime User
HI, All

Strange, my ESP8266 project works OK in B4R, but now i'm trying to start with ESP32 ... with no success.

Arduino IDE connects, starts the board OK, logging is OK, the reset button makes the reset OK.
In B4R the flashing of the min template app is OK, but no log output.


B4X:
Sub Process_Globals
    Public Serial1 As Serial
    Private wifi As ESP8266WiFi
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Delay(3000)
    Log("AppStart")
    'example of connecting to a local network
    If wifi.Connect2("ssid", "password") Then
        Log("Connected to network")
    Else
        Log("Failed to connect to network")
    End If
End Sub

p.s. Arduino can log the output of B4R sketch !
B4X:
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6360
entry 0x400806b4
AppStart
Connected to network

Where to dig ?
 
Last edited:

peacemaker

Expert
Licensed User
Longtime User
correct board:
AI Thinker ESP32-CAM
No help - no log from B4R:
But Arduino shows that B4R's sketch is running:
But anyway the video at http://192.168.0.128/live is terrible, so, the board can be thrown out with no regret.
 
Last edited:
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
No help - no log from B4R:

But Arduino shows that B4R's sketch is running:

But anyway the video at http://192.168.0.128/live is terrible, so, the board can be thrown out with no regret
Good you make the board working now

Yes.. B4R havae to reviewed to work with that board.

I'm happy with the board/video - it works great for me. (Also less of 10usd)

For better video - I use a 97usd camare
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…