Comments (13)
Without context information, I would guess a side-effect of an UNLOCK operation?
Could you post the pyXCP code sequence your are using and most important, the CANape trace, esp. during setup?
from pyxcp.
Here is pictures of Python code and CANape trace window. Please give me your point if view.
from pyxcp.
You should also capture the CANape connection part
from pyxcp.
Here is XCP trace (received messages from slave marked yellow), Python Code, and address in A2L file where I want to write a value.
from pyxcp.
The excel trace does not contain the TX messages were the XCP commands are sent. Please provide a complete trace recorded when CANape is doing the connect and download
from pyxcp.
Honestly, I don't know why you are completly bypassing pyXCP...
Are you sure this is a CANape trace?
One would expect CANape issuing GET_STATUS, GET_COMM_MODE_INFO, GET_ID commands after CONNECT.
from pyxcp.
Sorry for misunderstanding, trace file which I sent is trace according to Python Code. Now, I am sending trace files from CANape. Commands are in Trace2 file and marked yellow.
from pyxcp.
Trace 1 starts after CANape has established the XCP connection
from pyxcp.
Yes, but this trace is from beginning, I don't know why skiped CONNECT command.
from pyxcp.
it is possible that CANape is connecting with mode != 0
from pyxcp.
Let's focus please on Python code and DOWNLOAD command problem with error "FE 23"-memory location is protected to write. I found in XCP documentation that parameter which you want to change, first of all, needs to be moved from Flash to RAM, but I am not sure how to do this.
Have you any idea?
from pyxcp.
The movement is usually done with SET_CAL_PAGE
. In the first step you should consult your A2L (if available),
MOD_PAR
/MEMORY_SEGMENT
s, maybe your address is pageable to RAM.
Optional commands GET_PAG_PROCESSOR_INFO
, GET_SEGMENT_INFO
, and GET_PAGE_INFO
may also helpful.
from pyxcp.
I resolved problem with command "SET_CAL_PAGE".
Thank you for your support!
from pyxcp.
Related Issues (20)
- SeedAndKey DLL returned: ERR_COULD_NOT_LOAD_DLL HOT 1
- python can filter is not correct HOT 7
- XcpResponseError [ERR_ACCESS_LOCKED] - Seed and Key unlock process error HOT 6
- No more queues! HOT 1
- How to collect and save the XCP data ? HOT 15
- REINIT_DAQ HOT 7
- [Question] Retrieve timestamp from frame HOT 1
- How to get daq data?
- Help HOT 2
- ERR_CMD_UNKNOWN HOT 1
- Python 3.12 wheels HOT 2
- Read error HOT 11
- ERROR:pyxcp.errorhandler:XcpTimeoutError [Response timed out [block_receive].] HOT 7
- How to get DAQ data. HOT 3
- CAN-FD transport MAX_DLC_REQUIRED HOT 4
- Concurrent pyxcp method calls with asyncio HOT 1
- About DAQ data HOT 2
- pyxcp build error with pip in ubuntu HOT 2
- Cannot build pyxcp with python3.12 on ubuntu 24.04 HOT 6
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 pyxcp.