Content originally posted in LPCWare by mysepp on Wed Nov 12 07:05:51 MST 2014
Ok, problem found.
Sorry, LPCXpresso beginner error: I had not deleted a project, which is to be put into RAM, but the RAM areas (in MCU settings).
I have put the RAM areas back to the place (via Restore Defaults) and now it is compiling.
I am creating a hex file by post build steps:
arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"
arm-none-eabi-objcopy -I binary "${BuildArtifactFileBaseName}.bin" -O ihex "${BuildArtifactFileBaseName}.hex"
Now I am getting a hex file, hopefully with a valid checksum.
Now I am trying to flash the hex file via flash magic.
When doing this via "Erase blocks used by Hex File", I am getting a error message "Invalid value or command sent".
When selecting "Erase all flash" then it is downloading.
But I see no reaction.
I also added some blinking LED into this example, but also no reaction.
Someone an idea, what could be wrong?