Comments (8)
please reflash bin :
$ make erase_flash
$ make defconfig
$ make IOT_TEST_ALL=1
$ make flash monitor
from esp-iot-solution.
Thank you for reply.
I tried your step.
But unit-test-app don't work.
I think No Factory partition is the cause.
I (30) boot: ESP-IDF v3.1.3 2nd stage bootloader
I (30) boot: compile time 13:13:10
I (30) boot: Enabling RNG early entropy source...
I (34) boot: SPI Speed : 40MHz
I (38) boot: SPI Mode : DIO
I (42) boot: SPI Flash Size : 16MB
I (46) boot: Partition Table:
I (50) boot: ## Label Usage Type ST Offset Length
I (57) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (65) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (72) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (80) boot: 3 ota_0 OTA app 00 10 00010000 00100000
I (87) boot: 4 ota_1 OTA app 00 11 00110000 00100000
I (95) boot: End of partition table
I (99) boot: No factory image, trying OTA 0
I (104) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x269354 (2528084) map
I (998) esp_image: segment 1: paddr=0x0027937c vaddr=0x3ffc0000 size=0x04350 ( 17232) load
I (1005) esp_image: segment 2: paddr=0x0027d6d4 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at /home/robotics/esp-iot-solution/submodule/esp-idf/components/freertos/xtensa_vectors.S:1779
I (1006) esp_image: segment 3: paddr=0x0027dadc vaddr=0x40080400 size=0x02534 ( 9524) load
I (1018) esp_image: segment 4: paddr=0x00280018 vaddr=0x400d0018 size=0xfdc08 (1039368) map
0x400d0018: _flash_cache_start at ??:?
I (1387) esp_image: segment 5: paddr=0x0037dc28 vaddr=0x40082934 size=0x17580 ( 95616) load
0x40082934: _xt_medint3 at /home/robotics/esp-iot-solution/submodule/esp-idf/components/freertos/xtensa_vectors.S:1323
I (1427) esp_image: segment 6: paddr=0x003951b0 vaddr=0x400c0000 size=0x00064 ( 100) load
I (1427) esp_image: segment 7: paddr=0x0039521c vaddr=0x50000200 size=0x00008 ( 8) load
E (1434) esp_image: Image length 3691088 doesn't fit in partition length 1048576
E (1442) boot: OTA app partition slot 0 is not bootable
E (1448) esp_image: image at 0x110000 has invalid magic byte
W (1454) esp_image: image at 0x110000 has invalid SPI mode 141
W (1460) esp_image: image at 0x110000 has invalid SPI size 7
E (1467) boot: OTA app partition slot 1 is not bootable
E (1473) boot: No bootable app partitions in the partition table
Fatal exception (0): IllegalInstruction
epc1=0x40080354, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
0x40080354: _UserExceptionVector at ??:?
from esp-iot-solution.
Please provide you solution commit id.or you can update lastest version.
I tried the unit test is ok.
I assume your app bin too larger to hard for app partition config.
Image length 3691088 doesn't fit in partition length 1048576
so you can try following:
make TEST_COMPONENTS="bh1750"
make flash monitor
from esp-iot-solution.
Hello.
My Environment:
ESP-IDF version:v4.0-dev-311-g70eda3d22-dirty
I renamed my esp-idf to other name.
$mv esp-idf esp-idf-back
I installed esp-idf newly.
But an error occurs in make process.
$ make
The following Python requirements are not satisfied:
pyparsing>=2.0.3,<2.4.0
Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.
Alternatively, you can run "/usr/bin/python -m pip install --user -r /home/robotics/esp-idf/requirements.txt" for resolving the issue.
I executed this command.
But error of make don't fix.
/usr/bin/python -m pip install --user -r $HOME/esp-idf/requirements.txt
So i renamed old one.
$mv esp-idf esp-idf-new
$mv esp-idf-back esp-idf
I tried this.
make TEST_COMPONENTS="bh1750"
make flash monitor
Monitor output:
Here's the test menu, pick your combo:
(1) "Sensor BH1750 test" [bh1750][iot][sensor]
(2) "Sensor BH1750 obj test" [bh1750_cpp][iot][sensor]
from esp-iot-solution.
Yeah, This‘s right.
Reason:
Image length 3691088 doesn't fit in partition length 1048576
from esp-iot-solution.
I understood that we can't to work unit-test-app with IOT_TEST_ALL=1.
If my understand is right, please close this issues.
Thank you for your support.
from esp-iot-solution.
@nopnop2002 hello. If your issue is now resolved, can you please close the issue. Thank you.
from esp-iot-solution.
Thank you for your help.
from esp-iot-solution.
Related Issues (20)
- 获取usb camera描述符错误 (AEGHB-549) HOT 5
- Set all channels simultanously in 5CH mode (AEGHB-551) HOT 1
- Build Error when fetching Component Dependencies for WS2812 LED Strips example (AEGHB-553) HOT 2
- 关于usb-dongle demo 中通过USB-CDC对esp32s3无法正确输入命令 (AEGHB-571) HOT 1
- led_indicator: Different indicator LEDs on same strip (AEGHB-576) HOT 1
- usb cdc 4g module issue (AEGHB-580) HOT 2
- ESP32S2使用USB_CDC_4G_MODULE时,连接WiFi芯片重启 (AEGHB-584) HOT 5
- 用USB CDC 4G Module时,卡在了Modem state STAGE_WAIT_IP步骤 (AEGHB-586) HOT 3
- usb hid device barcode scanner can not use (AEGHB-589) HOT 1
- esp32 S3 BOX 按键触发回调函数后,怎么实现触发任务的执行 (AEGHB-592) HOT 1
- knob processing accuracy is not enough for 1-pulse-1-positioning encoder (AEGHB-600) HOT 2
- fail to build usb cdc 4g module (AEGHB-609) HOT 4
- How to change usb host cdc baudrate? (AEGHB-610) HOT 4
- About examples/bluetooth/ble_conn_mgr/ble_spp/spp_server (AEGHB-611) HOT 9
- esp-tinyuf2: hal/usb_phy_hal.h and hal/usb_phy_ll.h are renamed in esp-idf (AEGHB-615) HOT 1
- Feature Request: Support for RNDIS/ECM Connectivity in AP Mode (AEGHB-618) HOT 1
- usb cdc 4g module Auxiliary AT port (AEGHB-623) HOT 5
- I had an error running the usb\device\usb_webcam> instance and I pulled down all the code. There will still be this error, I don't know what went wrong (AEGHB-631) HOT 4
- esp-tinyuf2 + power management: crash when cpu frequency dynamic scaling is enabled (AEGHB-632) HOT 1
- 如何集成到Eclipse中去? (AEGHB-637) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-iot-solution.