Search found 60 matches

by iosixllc
Mon May 15, 2017 10:04 am
Forum: Hardware
Topic: can bus circuit
Replies: 4
Views: 2556

Re: can bus circuit

And PLEASE, if you are connecting to a vehicle, use a proper automotive transceiver instead of the MCP2551 piece of junk. TJA1042TK/3 would work fine and has the correct logic levels for the ESP32.
by iosixllc
Fri May 12, 2017 7:16 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 165
Views: 51436

Re: About the CAN controller.

A note - unless you are only going to configure on a hard power-up (instead of after firmware OTA or other reset), you should add the following after the Pelican mode change [MODULE_CAN->CDR.B.CAN_M = 0x1;]:

MODULE_CAN->MOD.B.RM = 1;

Otherwise, the code cannot change the module configuration.
by iosixllc
Thu May 11, 2017 9:13 pm
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

Good to know, thanks!
by iosixllc
Wed May 10, 2017 5:37 am
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

In case anyone is following along, looks like this is the operative paragraph: App partitions have to be at offsets aligned to 0x10000 (64K). If you leave the offset field blank, the tool will automatically align the partition. If you specify an unaligned offset for an app partition, the tool will r...
by iosixllc
Wed May 10, 2017 4:28 am
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

It would be amazing to get some sort of response here........... When I adjust the flash tool to flash both regions and then manually switch, I get the following: I (118603) setupgrade: OTA Partition: 3FFB9A68 E (118662) esp_image: Segment 1 has load address 0x3f400010, conflict with segment data at...
by iosixllc
Tue May 09, 2017 4:35 am
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

Also, here is my partition table [2MB flash]:

# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
factory, app, factory, 0x10000, 0xF8000
ota_0, app, ota_0, 0x108000, 0xF8000
by iosixllc
Mon May 08, 2017 9:59 pm
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

Just in case I wasn't reproducing the binary correctly, I tried to write the OTA section with the flash tool as well: python /c/ESP32/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /COM4 --baud 2000000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --...
by iosixllc
Mon May 08, 2017 9:52 pm
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

If I change the partition table to rename the OTA partition to #0, the above step succeeds, but it doesn't boot correctly: I (12) boot: ESP-IDF v2.0-rc1-725-g07b61d54-dirty 2nd stage bootloader I (12) boot: compile time 22:59:14 I (13) boot: Enabling RNG early entropy source... I (14) qio_mode: Enab...
by iosixllc
Mon May 08, 2017 9:31 pm
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

Re: OTA issue

To follow up, it looks like the image is loading correctly, as esp_image_basic_verify attests: E (145783) upgrade: Image verify: 0, size: 570432 E (145784) upgrade: Find part: 3FFB99D8; 1 0 D000 2000 otadata 0 E (145785) upgrade: OTA part: 3FFB9A68; 0 11 108000 F8000 ota_1 0 E (145785) upgrade: Rewr...
by iosixllc
Mon May 08, 2017 6:12 am
Forum: ESP32 IDF
Topic: OTA issue
Replies: 9
Views: 2108

OTA issue

It seems my erase and write process is working well, but when I get to the end I get the following: E (114474) esp_image: Segment 1 has load address 0x3f400010, conflict with segment data at 0x00118010 E (114661) esp_image: Segment 7 has load address 0x400d0018, conflict with segment data at 0x00148...