Hi,
We are using the HCS08 programmer to program the MC9S08JS16. We are successful programming with USBDM 4.10.3 on one Windows 7 computer, but on two other Windows 7 computers we always get the error message:
Programming of the target flash failed! Reason: Program data not within target flash memory
We have tried USBDM 4.10.3, 4.10.4, and 4.10.6 on these machines, but we get the same error message with all versions. Can anyone suggest what might be causing this problem?
Thank you,
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am no longer actively using the HCS08 version of the programmer so I can't comment immediately on your problems. I am also not using Windows any more so that also complicates matters.
The error message indicates (obviously) that the programmer thinks you are trying to program using an image that lies outside of the programmable range of the target. There may be some other reason triggering this error or an code error that has crept in to later versions but I am not aware of any. I certainly can't think of why this error would only appear on certain versions of Windows.
Please do any of the following:
* Check the image you are programming against the expected memory range(s) indicated in the configuration files for the programmer. ( Windows program directory.../pgo/usbdm/DeviceData/hcs08_devices.xml)
* Under windows, debug versions of the programmer are installed - Look for UsbdmFlashProgrammer-debug.exe in the installation directory. You can run this from the command line with the option -target=hcs08. When doing so this will create debug logs in ~%APPDATA%/usbdm which should have details of the failures. Post these here.
* Post the failing image so that I can test it myself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We are using the HCS08 programmer to program the MC9S08JS16. We are successful programming with USBDM 4.10.3 on one Windows 7 computer, but on two other Windows 7 computers we always get the error message:
Programming of the target flash failed! Reason: Program data not within target flash memory
We have tried USBDM 4.10.3, 4.10.4, and 4.10.6 on these machines, but we get the same error message with all versions. Can anyone suggest what might be causing this problem?
Thank you,
Mark
I have the same problem with MC9S08SH16MTG programming. Please help solve this problem.
Last edit: Viktor Skvortsov 2024-03-13
Hi,
I am no longer actively using the HCS08 version of the programmer so I can't comment immediately on your problems. I am also not using Windows any more so that also complicates matters.
The error message indicates (obviously) that the programmer thinks you are trying to program using an image that lies outside of the programmable range of the target. There may be some other reason triggering this error or an code error that has crept in to later versions but I am not aware of any. I certainly can't think of why this error would only appear on certain versions of Windows.
Please do any of the following:
* Check the image you are programming against the expected memory range(s) indicated in the configuration files for the programmer. ( Windows program directory.../pgo/usbdm/DeviceData/hcs08_devices.xml)
* Under windows, debug versions of the programmer are installed - Look for UsbdmFlashProgrammer-debug.exe in the installation directory. You can run this from the command line with the option -target=hcs08. When doing so this will create debug logs in ~%APPDATA%/usbdm which should have details of the failures. Post these here.
* Post the failing image so that I can test it myself.