Mindtribe has trouble loading firmware on the lpc824 with new installations of coretools (py2 or py3)
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
They have a working installation with python2.7 however they are unable to recreate it.
WORKING PYTHON 2 VIRTUALENV INSTALLED A FEW MONTHS AGO
The commands used were something like this:
```
virtualenv --python=python2.7 iotile
source iotile/bin/activate
sudo pip install iotile-core iotile-test iotile-emulate iotile-transport-bled112
sudo pip install -U iotile-support-con-nrf52832-3 iotile-transport-jlink iotile-support-lib-controller-3
sudo pip install iotile-sensorgraph
sudo pip install iotile-build
sudo pip install iotile-ext-cloud
(iotile) AMAC02XJ19JJGH6:EVT mike.ho$ pip list
Package Version
------------------------------- ----------
alabaster 0.7.12
asciimatics 1.10.0
Babel 2.6.0
backports.functools-lru-cache 1.5
breathe 4.11.1
certifi 2018.11.29
chardet 3.0.4
configparser 3.7.1
crcmod 1.7
cycler 0.10.0
decorator 4.3.2
docutils 0.14
entrypoints 0.3
enum34 1.1.6
future 0.17.1
idna 2.8
imagesize 1.1.0
iotile-build 2.7.0
iotile-cloud 0.9.9
iotile-core 3.26.3
iotile-emulate 0.2.0
iotile-ext-cloud 0.6.0
iotile-sensorgraph 0.8.1
iotile-support-con-nrf52832-3 3.1.12
iotile-support-lib-controller-3 3.7.13
iotile-test 0.11.0
iotile-transport-bled112 1.8.0
iotile-transport-jlink 0.3.1
Jinja2 2.10
kiwisolver 1.0.1
MarkupSafe 1.1.0
matplotlib 2.2.3
monotonic 1.5
msgpack 0.6.1
numpy 1.16.1
packaging 19.0
Pillow 6.0.0
pip 19.0.3
psutil 5.5.0
py2 0.1.0
pycparser 2.19
pyfiglet 0.8.post1
Pygments 2.3.1
pygtrie 2.3
pylibftdi 0.17.0
pylink-square 0.1.3
pyparsing 2.2.2
pyserial 3.4
python-dateutil 2.7.5
pytz 2018.9
requests 2.21.0
setuptools 40.8.0
six 1.12.0
snowballstemmer 1.2.1
sortedcontainers 2.1.0
Sphinx 1.8.3
sphinxcontrib-websupport 1.1.0
subprocess32 3.5.3
toposort 1.5
typedargs 0.13.2
typing 3.6.6
urllib3 1.24.1
wcwidth 0.1.7
wheel 0.33.1
ws4py 0.5.1
----------------------------------------------
```
PYTHON 3 VIRTUALENV NEWLY CREATED THIS MORNING
The commands used were something like this:
```
virtualenv --python=python3 iotile3
source iotile3/bin/activate
sudo pip install iotile-core iotile-test iotile-emulate iotile-transport-bled112
sudo pip install -U iotile-support-con-nrf52832-3 iotile-transport-jlink iotile-support-lib-controller-3
sudo pip install iotile-sensorgraph
sudo pip install iotile-build
sudo pip install iotile-ext-cloud
(iotile3) AMAC02XJ19JJGH6:EVT mike.ho$ pip list
Package Version
------------------------------- ------------
alabaster 0.7.12
Babel 2.7.0
breathe 4.13.0.post0
certifi 2019.6.16
chardet 3.0.4
crcmod 1.7
cycler 0.10.0
decorator 4.4.0
docutils 0.14
entrypoints 0.3
future 0.17.1
idna 2.8
imagesize 1.1.0
iotile-build 3.0.9
iotile-cloud 0.9.9
iotile-core 5.0.2
iotile-emulate 0.5.0
iotile-ext-cloud 1.0.9
iotile-sensorgraph 1.0.7
iotile-support-con-nrf52832-3 3.2.4
iotile-support-lib-controller-3 3.7.17
iotile-test 2.0.0
iotile-transport-bled112 3.0.0
iotile-transport-jlink 1.0.8
Jinja2 2.10.1
kiwisolver 1.1.0
MarkupSafe 1.1.1
matplotlib 2.0.2
msgpack 0.6.1
numpy 1.16.4
packaging 19.0
pip 19.1.1
psutil 5.6.3
pycparser 2.19
Pygments 2.4.2
pygtrie 2.3
pylibftdi 0.17.0
pylink-square 0.2.0
pyparsing 2.2.2
pyserial 3.4
python-dateutil 2.8.0
pytz 2019.1
requests 2.22.0
setuptools 41.0.1
six 1.12.0
snowballstemmer 1.2.1
sortedcontainers 2.1.0
Sphinx 2.1.2
sphinxcontrib-applehelp 1.0.1
sphinxcontrib-devhelp 1.0.1
sphinxcontrib-htmlhelp 1.0.2
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.2
sphinxcontrib-serializinghtml 1.1.3
toposort 1.5
typedargs 1.0.1
urllib3 1.25.3
wheel 0.33.4
```
Here’s the error output from trying to program the LPC (iotile hw --port=jlink debug -c device=lpc824 flash executive_tile.elf):
```
DeviceAdapterError: Operation connect on conn 0 failed because HardwareError: Could not find control structure magic value in search area
Additional Information:
reason: HardwareError: Could not find control structure magic value in search area
operation: connect
conn_id: 0
```
Contributor guide
Assessment
This issue has not been assessed yet.