error trying to make blended-rectangle from chap. 9 of IOT dev book #693
Replies: 7 comments
-
It looks like you may have tried to run the blended-rectangle example using The process is described in the section "Running Examples" starting on page 12. In short, to run the blended-rectangle example:
|
Beta Was this translation helpful? Give feedback.
-
Host applied successfully via mcconfig. But error on mcrun: C:\Users\Bill\projects\iot-product-dev-book\ch9-poco\blended-rectangle>mcrun -d -m -p esp32/moddable_two |
Beta Was this translation helpful? Give feedback.
-
If I follow the instructions, everything works correctly. I'm using the current Moddable SDK and a Moddable Two. I am able to duplicate the error you report if I install the wrong host. Is it possible that you didn't install the Chapter 9 host, or perhaps you installed another host over it after? On your PC Chapter 9 host is at |
Beta Was this translation helpful? Give feedback.
-
I tried it again, same thing. I am tempted to rebuild the whole thing from the ground up. I've got a decent windows 7 machine (current machine is win 10 - where the setup is now.) I do get the "device flashed" message after the host install. In case this matters - here is my process: after installing the host, I ctrl-c twice to get back to a cmd prompt, then I do the mcrun on the blended rectangle (I do not close xsbug during this process). Thank you so much for helping - I had a good career in software dev. (now retired) - and I tend not to give up. I've got some ideas for this platform. |
Beta Was this translation helpful? Give feedback.
-
Rebuilt entire toolchain and SDK. Same issue. One possible difference is that I am on Win 10. |
Beta Was this translation helpful? Give feedback.
-
Windows 10 should be fine; that's where I develop and test the Windows build. @bap293: what device are you using? The symptoms you're seeing can sometimes crop up when we don't have the correct baud rate set for the device. But that shouldn't be an issue with, e.g., a Moddable Two. One other thing that's worth trying is erasing the ESP32's flash storage. Sometimes you can get stuck in an odd state and erasing can fix the problem. You can do that with:
|
Beta Was this translation helpful? Give feedback.
-
I erased the flash (thanks for that info. - was wanting to be able to do that). I am using the moddable-two I am able to run the moddable examples that only use mcconfig - I just can't get the ones from the iot dev book that need the mcrun command after loading the host. One thing to note: I get a missing file error at the end of the flashing o]f the host: Leaving... i noticed this after I rebuilt the toolchain. Is it worth rebuilding the tool chain using this: from git: the esp-idf |
Beta Was this translation helpful? Give feedback.
-
I am getting this error when building blended-rectangle from chap. 9 of IOT dev book. The hello world gui example works fine.
[2/3] Linking CXX executable xs_esp32.elf
FAILED: xs_esp32.elf
cmd.exe /C "cd . && C:\Users\Bill.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\xs_esp32.elf.rsp -o xs_esp32.elf && cd ."
c:/users/bill/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: xs_esp32.a(xsHost.o): in function
modInstrumentationSystemFreeMemory': C:\Users\Bill\projects\moddable\xs\platforms\esp/xsHost.c:1219: undefined reference to
modInstrumentationAdjust_'Beta Was this translation helpful? Give feedback.
All reactions