I am attempting to flash a board using the command line.
Chip is an LPC11U24/401
Attempting to flash using LinkServer with the command:
LinkServer.exe flash LPC11U24/401 load "Main.axf"
Gives the error:
INFO: Exact match for LPC11U24/401 found
INFO: Selected device LPC11U24/401:
INFO: Getting available probes
INFO: Selected probe #1 MLXAIXAEG1GMO (MCU-LINK (r0FF) CMSIS-DAP V3.133)
INFO: MCU-Link firmware update CHECK: local firmware [3.140] can be programmed on the selected probe ([MLXAIXAEG1GMO] [MCU-LINK (r0FF) CMSIS-DAP V3.133])
Firmware update CHECK: - the update can be performed using `AUTO` mode
CRITICAL: Critical error
ERRMSG: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\LM\\AppData\\Local\\Temp\\tmp7_naesyr\\LPC11U24/401.xml'
Since a file cannot exist with a forward slash in it, something seems wrong here with what its looking for (LPC11U24/401.xml).
I am able to flash using redlink, on the command line, with the command:
./crt_emu_cm_redlink.exe --flash-load-exec "Main.axf" -g --debug 2 --vendor NXP -p LPC11U24_401 --probeserial MLXAIXAEG1GMO -CoreIndex=0 --flash-driver LPC11_12_13_32K_4K.cfx -x "<PATH TO DEVICE XML FILES>" --flash-hashing
However, when I run the GUI flash tool through MCUXpresso, the redlink command produced is the same as above, but with the LPC11U24_401 replaced with a LPC11U24/401, which again causes it to fail with an error.
My device/chip XML files both exist in the directory its looking in for them, but they are named LPC11U24_401.xml and LPC11U24_401_part.xml because you cant have a forward slash in a file name, which seems to be what the programs are looking for.
Solved! Go to Solution.
As for the solution, I also download the latest version of MCUXpresso IDE and LPCOpen example. I have verified that using MCUXpresso IDE v11.10.0_ear2, the code example can be programmed and run successfully on LPCXpresso11C24/CD rev PA1 board.
MCUXpresso IDE for NXP MCUs | Linux, Windows and MacOS | NXP Semiconductors | NXP SemiconductorsAs for the solution, I also download the latest version of MCUXpresso IDE and LPCOpen example. I have verified that using MCUXpresso IDE v11.10.0_ear2, the code example can be programmed and run successfully on LPCXpresso11C24/CD rev PA1 board.
MCUXpresso IDE for NXP MCUs | Linux, Windows and MacOS | NXP Semiconductors | NXP SemiconductorsHello, sorry for the late response I´m waiting for more information, my department are analyzing your case.
Best regards,
Pavel
Hello, my name is Pavel, and I will support your case, let me get more information when I have it, and I will contact you.
Best regard,
Pavel