Comments (4)
I am having the same issue.
It appears to be an issue with 64-bit Python and 32-bit PyLink. Correct?
I am using SEGGER 6.40. I noticed that there is a 64-bit JLink .DLL JLink_x64.dll
. Could this help?
I also noticed that SEGGER has a Beta version (v6.41a) of 64-Bit JLink (link below) Has anyone tried this?
https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPackBeta
Traceback (most recent call last):
File "C:\projects\piranha\assembly_tester\dev\python\test_pylink.py", line 6, in <module>
jlink = pylink.JLink()
File "C:\Program Files\Python37\lib\site-packages\pylink\jlink.py", line 249, in __init__
lib = library.Library()
File "C:\Program Files\Python37\lib\site-packages\pylink\library.py", line 239, in __init__
self.load_default()
File "C:\Program Files\Python37\lib\site-packages\pylink\library.py", line 277, in load_default
return self.load(path)
File "C:\Program Files\Python37\lib\site-packages\pylink\library.py", line 331, in load
self._lib = ctypes.cdll.LoadLibrary(tf.name)
File "C:\Program Files\Python37\lib\ctypes\__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:\Program Files\Python37\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
My Environment - has problem
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\>python
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
from pylink.
This is a known bug. I just merged in a PR #25, which should remedy this issue for you if you upgrade to 0.1.3
of the package.
from pylink.
That has resolved the issue...
Thank you very much!
from pylink.
@hkpeprah Thanks
from pylink.
Related Issues (20)
- RTT Autodetect works with J-Link RTT Viewer, but for pylink I have to explicitly provide the address HOT 1
- AttributeError: module 'pylink' has no attribute 'JLink'. HOT 9
- Loading library on Aarch64 fails because pylink attempts to load 32-bit library HOT 2
- pylink.errors.JLinkFlashException: Could not write target memory when trying to flash a .hex file. HOT 1
- Error when programming or erasing Kinetis microcontrollers HOT 3
- pylink.errors.JLinkException: Could not find supported CPU HOT 24
- pylink.JLink.rtt_read blocks indefinitely when no data is available? HOT 1
- Specify JLinkScript file HOT 1
- CORESIGHT_AddAP doesn't execute HOT 6
- Can support C-JTAG HOT 14
- Unlocking STM32L0 HOT 1
- custom ResetTarget function in pylink HOT 7
- Error "Failed to perform RAMCode-sided Prepare()" Fail "JLinkFlashException: Unspecified error." HOT 2
- rtt_write only working when I have JLink RTT viewer open HOT 8
- Downloading Firmware image to Cortex Fails HOT 2
- 1.2.0: Some tests are incompatible with Python 3.12 HOT 2
- Do I need to use jlink.connect before doing jlink.rtt_start? HOT 2
- Square: Thanks For Developing pylink (Not An Issue - Just Kudos) HOT 1
- REQ: Please Add Support For: Keil JLinkEFM8.dll HOT 3
- pylink.errors.JLinkException: Unspecified error - during connect() HOT 2
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 pylink.