Memtool to read-write a XC161CJ microcontroller's flash?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,



Can I read-write a XC161CJ microcontroller's flash with Memtool by USB port from truck diagnostic interface made by Softing?
It have USB interface for connection with PC and OBD2 connection with K-Line and CAN connections with truck.

Can anybody advice it is possible to use memtool to read-write a XC161CJ microcontroller's flash?

1230.attach


Thanks in advance for help!
0 Likes
12 Replies
Not applicable
Hi,

Memtool can only be use with COM port or DAS server.
If connect via DAS server, miniWiggler is required and this has to be connected to the debug interface of the device.
As for connect via COM Port, it has to be connected to the bootloader interface.
0 Likes
Not applicable
"If connect via DAS server, miniWiggler is required and this has to be connected to the debug interface of the device."

Jackson,

You mean that USB port that have device for connection to laptop can't be a debug interface? So I need to find in device other debug interface?
Can you tell me how I can find it?
Sorry for silly questions, as I do not have experience in it...
And thanks in advance for your help.

Looking forward.
0 Likes
Not applicable
And how about flashing with Universal Access Device 2pro: http://www.pls-mc.com/universal-access-devices-uad/universal_access_devices-a-797.html
buy CAN?
0 Likes
Not applicable
I have found that with memtool and Universal Access Device 2pro: http://www.pls-mc.com/universal-access-devices-uad/universal_access_devices-a-797.html
Can access via JTAG, cJTAG, DAP, DAP over CAN Physical Layer (DXCPL).

an I read-write a XC161CJ microcontroller's flash with Universal Access Device 2pro by CAN port?
0 Likes
Not applicable
Hi bmwcoder,

The microcontroller has to be configured in order to use different boot interface.
So, first you need to know what boot configuration is configured for the device.
Then only you can choose what type of interface you want to connect with it.

Is the board you have there a target board or a final product?
If it is a final product, it is most probably the MCU is not longer in any bootloader mode (UART or CAN).
This is because if the MCU is in bootloader mode, the MCU would not start running the application and just wait for bootloader signal.
If it is final product, most probably the MCU is configured to run application from flash and no external access is allowed.
0 Likes
Not applicable
Can I read-write a XC161CJ microcontroller's flash with Memtool via JTAG over CAN with your Universal Access Device 2 made by:http://www.pls-mc.com/universal-access-devices-uad/universal_access_devices-a-797.html ?



Thanks in advance for help!

Looking forward.
0 Likes
Not applicable
Can I use Universal Access Device 2 from: http://www.pls-mc.com/universal-access-devices-uad/universal_access_devices-a-797.html for read-write a XC161CJ microcontroller's flash with Memtool via JTAG over CAN?
0 Likes
Not applicable
1293.attach
I need assistance with configuring Infineon MemTool with Infineon MemTool.
I'm trying to connect DAP miniWiggler V3 and Infineon MemTool with XC161CJ by JTAG connection but not success.
0 Likes
Not applicable
Can somebody help me?
0 Likes
Not applicable
Hi bmwcoder,

You also need to connect the /TRST pin.

Anyway, please ensure that flash read protection is not enabled.
If read protection is enabled, external access will be disabled.
0 Likes
Not applicable
I have connected to TRST pin but still get an error "DAS errors DEVICE_ACCESS"
0 Likes
User19045
Level 1
Level 1
Also need to connect
“ Target presence detection. Connected to GND on target side. Pull-up and sensing on tool side”
0 Likes