For Freescale-USBDM Programmer BDM/OSBDM OSBDM Download Debugger-Emulator Downloader 48MHz USB2.0 V4.12 RCmall FZ0622C. Popular Brands Secure Excellent 4.6/5. USBDM BDM V6.3 Download Debugger Emulator 48MHz USB2.0 Support HCS12/HCS08/RS08. 1 x 6P Cable(BDM Port). It has USB to serial port TTL. 1 x USB Printing Cable. Usually it cost about 35USD-50USD. Supports firmware upgrade online. A USB BDM would be a nice option for users who need more functionality than what is supported by the serial monitor and d-bug12. I looked at this long and hard over the last few days and I've come to the conclusion that the BDM pod should only support the BDM primitives and leave the higher level functionality to the debugger program. Product Details PEmicro's PROGPPCNEXUS BDM Programmer software allows you to program/reprogram both internal and external flash devices in-circuit, via PEmicro's BDM interface cable (sold separately), on an NXP MPC55xx/56xx/57xx device or STMicroelectronics SPC5 device with a BDM module. To read, erase or write to the ECU i need to enter in BDM mode, which motorola claims that it is pretty close the motorola SPI protocoll! Anyway i can reset and stop the CPU using the arduino so i am into BDM mode! Now in order to read,erase or write to it i need to call some routines! All these routines end up calling a routine called bdmclk.
The following suite of programs are intended to be used with USBDM BDM interfaces.
They provide the ability to program the internal Flash memory of the following Freescale microcontrollers:
- RS08, HCS08, HCS12, S12Z, Coldfire V1, Coldfire V2, Kinetis and a limited range of MC56F800x microcontrollers.
- GUI usage is available for interactive use.
- Command line usage is available for batch files.
- Supports most chips - see list below.
- Trimming of internal target clock to specified frequency (RS08, HCS08 & CFV1).
- Programming of security options to leave the chip unsecured or secured after programming.
- May be used to unsecure chips (by mass erase).
- The code has been written in a modular fashion. It should be straightforward to re-use the flash programming code to create other custom programming utilities.
Usage:
FlashProgrammer <options> <BinaryFilename>
If neither of the -program or -verify options are given then all options apart from -target are ignored and a GUI interface is opened.
You may rename the executable to e.g. ARMProgrammer to automatically select ARM target.
- BinaryFilename
The name of the S19 or ELF binary file to program. - Options (order is not significant).
- -bdm=bdm_name
Serial number of preferred BDM to use. - -requiredBDM=bdm_name
Serial number of required BDM to use. - -device=device_name
Target device e.g. MC9S08AW16A, MCF51CN128. - -erase=erase_option
Selects erase method used (Mass, All, Selective, None). - -execute
Leave target power on & reset to normal mode at completion. - -flexNVM=eeprom,partition
FlexNVM parameters (eeprom,partition hex values) - -masserase
Equivalent to erase=Mass. - -noerase
Equivalent to erase=None. - -nvloc=address
Trim non-volatile memory location address (hex). - -power=dur,rec
Power off duration & recovery times (ms). - -program
Program and verify flash contents. - -reset=dur,rel,rec
Reset duration, release & recovery times (ms). - -security=value
Security value (unsecured, image, smart). - -securityValue=value
Explicit security value to use (as hex string) - -speed
Communication speed on some targets (kHz). - -trim=trim_frequency
Trim internal clock to frequency (in kHz) e.g. 32.7. - -target=target
Type of target e.g. RS08,HCS08,HCS12,S12Z,CFV1,CFVX,ARM,MC56F - -useReset
Use reset signal. - -unsecure
Leave device unsecured after programming. - -vdd=vdd_value
Supply Vdd to target (3V3 or 5V). - -verify
Verify flash contents.
The program sets the error code to 0 on success, non-zero otherwise.
The program will use the first BDM located. There is no option to select a BDM.
- -bdm=bdm_name
Examples of usage:
- Programming an image with clock trimming: This will program a MC9S08AW16A with the contents of the file Image.s19 and trim the internal clock to 243kHz. Target Vdd will be 3.3 Volts (if this option applies to the BDM used). The Flash image will be modified so that the device will be secure after programming. After programming the device will be left powered and will be reset into normal mode i.e. will be left running the loaded program.
- Programming the clock trim in an already programmed chip: This will trim the internal clock of MC9S08QG8 to 35.25kHz without erasing the present flash contents. Target Vdd will be 3.3 Volts (if this option applies to the BDM used). It is necessary that the clock trim locations in flash are still unprogrammed (0xFF) when using the -trim option. The target cannot be secured after trimming.
- Programming image with custom security value: This will program the device with Image.elf and explicitly set the security area to '123456789ABCDEF0FFFFFFFFFEFFFFFF'.
If the program is started without the -program or -verify options then an interactive dialogue is opened to allow the user to configure the programmer. The other options are ignored.
The dialogue has three tabs.
- The first tab is concerned primarily with USBDM interface selection, communication options and general features.
- The second tab is specific to a particular target device.
- The third tab contains other BDM options that are more advanced or less likely to need modification.
Note that the programmer uses a buffer to store the image to be programmed to the device. Some of the following options will persistently modify this buffer. This means that, for example, if you choose the secure option, program the device and then select the image option then further programming will also result in secured devices.
Tab 1 - USBDM
Select BDM - Allows selection between BDMs when multiple are connected
|
Tab 2 - Target
| |
| |
|
Tab 3 - Advanced
BDM Parameters
| |
Note: The programmer supports programming of the region of FlexNVM used as conventional Flash. It cannot program the emulated EEPROM. | |
Custom Security Parameters This section allows the security area of the target to be programmed to a custom value.
|
PEmicro's PROGPPCNEXUS BDM Programmer software allows you to program/reprogram both internal and external flash devices in-circuit, via PEmicro's BDM interface cable (sold separately), on an NXP MPC55xx/56xx/57xx device or STMicroelectronics SPC5 device with a BDM module. The programmer talks to the processor's Nexus/JTAG port through a PEmicro hardware debug Interface , which connects the parallel port or USB port of a PC to a 14-pin Nexus/JTAG connector on the target system.
Programmer features include:
- Program
- Verify
- Blank check
- Upload
- Display
- Erase
PROGPPCNEXUS for Windows also includes the command-line version of the programmer software - CPROGPPCNEXUS. Together they are perfect for development, production line programming, or field firmware upgrades.
PEmicro has a resource page describing different methodologies for programming target flash in both development and production environments: Flash Programming Resource Page
Licensing Update
The license that activates PROG now resides on a Multilink debug probe rather than in the software itself. The user who activates the software will choose a Multilink on which to permanently install the license. The allows that Multilink to work with PROG on any machine where a supported version of the software is installed. No license is required to use PROG software with Cyclone programmers, as the Cyclone includes PROG software.
Check our PROG Licensing blog post to see which Revisions of Multilink debug probe are supported.
Note: The PROG software itself is unchanged, it is only the licensing which has been updated.
Pipelined Programming Algorithms
Pipelined programming algorithms are included for NXP MPC56xx, NXP MPC57xx, ST Micro SPC56xx, ST Micro SPC57xx, ST Micro SPC58xx. These can increase programming speeds by 50-100% over the previous, non-pipelined algorithms.
Which Devices Are Supported?
PROGPPCNEXUS is able to support NXP's MPC55xx/56xx/57xx devices and STMicroelectronics' SPC5 devices. PEmicro maintains a library of programming algorithms for specific devices that is included with the programming software. Click to view the list of devices in our NXP MPC55xx/56xx/57xx and STMicroelectronics SPC5 programming algorithm libraries. If you do not see an algorithm for your device, you may request an algorithm for your device free of charge. You may also get an overview of the Supported Devices from the list below:
Supported NXP Device Families
Cyclone Universal Flash Programming For ARM And Freescale ...
MPC55xx
| MPC56xx
| MPC57xx
| S32 Power Devices
|
Supported STMicroelectronics SPC5 Device Families
Freescale Bdm Programmer
SPC56xx
| SPC57xx
| SPC58xx
|