Andy,
Here is a screenshot of the Flash Buffer manipulating screen for the LPC2000 flash utility:
I dont actually have a device present. I compile my code with the Keil uVision3 compiler, then take that .HEX file, load it with the LPC flash utility, click "Vector Calc", then resave the file.
From talking to Richard (who taught me this step) this calculates some sort of vector checksum and stores it at address 0x0014. I do see that 4 bytes of the file change when I do this.
I then resave the file.
At that point, I can use a hex2bin utility to create a .bin file that I can load into a another device.
If I do not do this vector calculation step, the code in the .BIN file does not run - the arm7 will hang.
I admit I am not fully aware of all the details of why this is necessary, but it is critical to the process we have in releasing builds.
With the LPC2000 version 2.2.3, the combo box used to select a device does not allow you to select the device type (which you need to do before you can load a .hex file) - until you actually connect a physical device and click "Get device IDs"
At the moment I dont even have a physical device, so it is causing a headache in trying to generate a valid .bin file.
Since NXP retired the lpc flash utility and replaced it with Flash Magic, I was hoping that Flash Magic had the same ability to do this.
Here is a screenshot of the Flash Buffer manipulating screen for the LPC2000 flash utility:
I dont actually have a device present. I compile my code with the Keil uVision3 compiler, then take that .HEX file, load it with the LPC flash utility, click "Vector Calc", then resave the file.
From talking to Richard (who taught me this step) this calculates some sort of vector checksum and stores it at address 0x0014. I do see that 4 bytes of the file change when I do this.
I then resave the file.
At that point, I can use a hex2bin utility to create a .bin file that I can load into a another device.
If I do not do this vector calculation step, the code in the .BIN file does not run - the arm7 will hang.
I admit I am not fully aware of all the details of why this is necessary, but it is critical to the process we have in releasing builds.
With the LPC2000 version 2.2.3, the combo box used to select a device does not allow you to select the device type (which you need to do before you can load a .hex file) - until you actually connect a physical device and click "Get device IDs"
At the moment I dont even have a physical device, so it is causing a headache in trying to generate a valid .bin file.
Since NXP retired the lpc flash utility and replaced it with Flash Magic, I was hoping that Flash Magic had the same ability to do this.