Programming using J-Link Commander
This page describes how to program the MR-CANHUBK344 Evaluation board with a Segger J-Link using the J-Link Commander application
Program the MR-CANHUBK344 Evaluation board using Segger J-LINK.
You can use J-Link for programming, for example with the J-Link Commander. J-LINK Commander can be downloaded this from the Segger website: https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/
Steps to flash using the J-Link commander:
Make sure the MR-CANHUBK344 is powered and the programmer is connected to the MR-CANHUBK344 and your PC as shown here
Start the J-Link commander application
Type "connect" to connect to the target
Type: "S32k344" to select the correct core.
>> If you get an error, it could be that your program is not up to date, please install the latest version of the J-Link commander
Type "s" for SWD programming
Press enter if you are using the J-Link base (4000kHz).
For the J-Link EDU Mini, it is recommended to type "1000". to slower programming speed
>> If you get that the target voltage is too low, make sure 12V is supplied. You may need to remove JP1 and reattach it to bypass the watchdog timer on the FS26xx regulator. Then type again "connect".
You should be connected to the Cortex-M7
Type "r" to reset the core
Type "erase" to erase the core
Then load the binary with
"loadbin <path to .bin file> 0x00400000"
This will program the specified binary at program flash address 0x00400000 of the MR-CANHUBK344.
Reset the core with "r"
Then let it run with "g"
Last updated