Freescale Semiconductor 56800E User Manual

Flash programmer

Advertisement

Quick Links

56800E
Flash Programmer User Guide
56800E
16-Bit Digital Signal Controllers
56800EFPUG
Rev. 0
09/2005
freescale.com

Advertisement

Table of Contents
loading

Summary of Contents for Freescale Semiconductor 56800E

  • Page 1 56800E Flash Programmer User Guide 56800E 16-Bit Digital Signal Controllers 56800EFPUG Rev. 0 09/2005 freescale.com...
  • Page 2: Document Revision History

    Document Revision History Version History Description of Change Rev 0 Initial release 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 3 56800E Flash Programmer User Guide The 56800E Flash Programmer provides a means to program the on-chip Flash of the 56800E DSC family. The Flash Memory blocks are programmed in circuit, using the JTAG/EOnCE interface. The 56800E Flash Programmer is suitable for both a low volume production environment as well as for in-field firmware upgrades.
  • Page 4: Corrections To Codewarrior V7.2 Configuration Files

    The 56800E Flash Programmer runs under 32-bit Windows operating systems. Before loading to the actual device, the 56800E Flash Programmer will first create a Virtual Device Image on the Host PC. The Virtual Device Image contains all of the memory to be programmed on the device allowing for all of the S-Record, or executable and linking format (ELF) files, to be loaded and verified before any programming begins.
  • Page 5 Digital Signal Controller (DSC) device. Example: fflash flash.cfg my_appl.S –dumpvirtual –vP0x0:0x1fff 2.1.1.4 –erase=<all|unit|page> This parameter tells the programmer how the device should be erased by any one of three modes before any programming occurs: 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 6 S-Record, then proceed to relock the device, allowing an upgrade of a LOCKED device. The 56800E Flash Programmer verifies the SECLO_VALUE location is 0xFFFF before the location is written to. If the location is not 0xFFFF the programming of this location cannot proceed and an error is received.
  • Page 7 2.1.1.9 –LPT<X> By default, the 56800E Flash Programmer uses the current configured device on the CCS server. How- ever, the default can be overridden by the –USB or –LPTX switches. The LPT switch will configures the CCS server for the Parallel Command Converter. Additionally, this change will be permanent to CCS, and may need to be changed before other applications use the CCS server.
  • Page 8 2.1.1.14 –remote=Address[:port] By default, the 56800E Flash Programmer connects to the local computer’s CCS server and attempts to use it to program the DSC device. However, it is possible to program a device connected to a remote computer’s CCS server. When the remote option is specified, the address of the remote CCS server is required;...
  • Page 9 2.1.1.15 –s This option enables Silent mode. Normally the 56800E Flash Programmer reports an error for each word of data, or code, found in the specified S-Record not fitting into any of the address ranges of the Flash blocks defined in the Flash configuration file. When Silent mode is enabled, the 56800E Flash Programmer only reports some data was ignored, but it does not print any further details.
  • Page 10: Operation

    2.1.1.22 –w This option forces the 56800E Flash Programmer to wait until the DSC comes out of a Reset state. This option is useful in situations where there is external circuitry on the proprietary target hardware, prolonging the duration of a Reset. This option is also useful when the DSC is powered down. It is necessary to make sure it will be programmed as soon as the target hardware is powered up.
  • Page 11: Error Messages

    Total: 2719ms Figure 2-1 Application Messages Sample 2.1.3 Error Messages The 56800E Flash Programmer generates error messages in various situations. Those error messages are: • S–record file corruption: — No ‘S’ character at the start of the line — ‘S’ character was not followed by a digit —...
  • Page 12 2.1.4 Observing Result Through Error Level Error level exit status is provided for easier integration of the 56800E Flash Programmer into scripts and manufacturing process control systems. Error level exit status gives the calling script information about the programming result. Possible error level values with their descriptions are provided in Table 2-2.
  • Page 13 3. Select a S-Record, or ELF file to load using the ‘...’ button located on the GUI main screen. 4. Click the Program Button. After performing these steps, the following dialog box, illustrated in Figure 2-3 appears. 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 14 Figure 2-3 Progress Dialog for Programming the FLASH This dialog box shows the current programming process of the 56800E Flash Programmer operation being performed. The Details button reveals more information about the current operation being performed and the operations already performed, illustrated in Figure 2-4. The Programming dialog box also provides a Save to Log button.
  • Page 15 GUI command (i.e., Program, Verify, View Memory) is invoked. If the device is not powered, the GUI reports an error. However, when the option is enabled, the 56800E Flash Programmer waits for the device to power up.
  • Page 16: Viewing Memory

    Viewing Memory The contents of the memory on the device can be viewed by simply pressing the View Memory button. A dialog box similar to the one illustrated in Figure 2-8 appears. 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 17 The output file is a S–Record file. Unlike the View Memory dialog, the Save Memory Range dialog is not limited to storing 0x1000 words. Rather, any length of words can be stored to a S–Record file. 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 18 The Configuration File defines how the FLASH units are organized on a given device. Locate the standard configuration files using the Drop Down button, then select a Device Configuration file. To browse the 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 19 CCS Port Number By default, the 56800E Flash Programmer connects to the CCS server at the Port 41475. However, it is possible to specify a different port for connection. This choice is useful when a connection to a CCS server is behind a firewall.
  • Page 20: Advance Techniques

    2.3.1 Detailed performance information about Erasures Currently, all DSCs using the 56800E core including the HFM (Flash Unit), have the following timing characteristics: Program Word: 20-40µs Erase Page: 20ms (Fastest possible)
  • Page 21 To stop loading the next device press the CTRL+BREAK at this point. Since the batch file automatically records when it was run to the log file, diagnosing potential problems may become easier. 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 22 0x02000000 (Word Address). The combined file is the accepted format for the application. The 56800E Flash Programmer will accept any combination of options that the Linker set-up dialog will support except the Generate Byte Addresses must remain unchecked.
  • Page 23 CRC32 algorithm. The speed of the CRC32 algorithm is based partially on the JTAG clock speed. This speed only applies to the 56800E Flash Programmer. Therefore, if this code were to port to an application, it will run significantly faster because it would run without the JTAG interface.
  • Page 24 The 56800E Flash Programmer uses the typical CRC32 seed of 0xFFFFFFFF, after all subsequent CRC32 operations are completed and an ones compliment of the result is taken. unsigned long myCRC = ~CRC32 (0x0000, 0x2000, 0xFFFFFFFF); Assembly Version of the CRC32 Algorithm for the DSC...
  • Page 25 } while (start <= end); _endloop: The timing of the interior of the do loop is as follows: X Memory: (D1 * 30) Clock Cycles P Memory: (D1 * 39) Clock Cycles 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 26 0x44042d73L, 0x33031de5L, 0xaa0a4c5fL, 0xdd0d7cc9L, 0x5005713cL, 0x270241aaL, 0xbe0b1010L, 0xc90c2086L, 0x5768b525L, 0x206f85b3L, 0xb966d409L, 0xce61e49fL, 0x5edef90eL, 0x29d9c998L, 0xb0d09822L, 0xc7d7a8b4L, 0x59b33d17L, 0x2eb40d81L, 0xb7bd5c3bL, 0xc0ba6cadL, 0xedb88320L, 0x9abfb3b6L, 0x03b6e20cL, 0x74b1d29aL, 0xead54739L, 0x9dd277afL, 0x04db2615L, 0x73dc1683L, 0xe3630b12L, 0x94643b84L, 0x0d6d6a3eL, 0x7a6a5aa8L, 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 27 0xa00ae278L, 0xd70dd2eeL, 0x4e048354L, 0x3903b3c2L, 0xa7672661L, 0xd06016f7L, 0x4969474dL, 0x3e6e77dbL, 0xaed16a4aL, 0xd9d65adcL, 0x40df0b66L, 0x37d83bf0L, 0xa9bcae53L, 0xdebb9ec5L, 0x47b2cf7fL, 0x30b5ffe9L, 0xbdbdf21cL, 0xcabac28aL, 0x53b39330L, 0x24b4a3a6L, 0xbad03605L, 0xcdd70693L, 0x54de5729L, 0x23d967bfL, 0xb3667a2eL, 0xc4614ab8L, 0x5d681b02L, 0x2a6f2b94L, 0xb40bbe37L, 0xc30c8ea1L, 0x5a05df1bL, 0x2d02ef8dL 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 28: Appendix C Configuration File

    Writes a register when the device is sent writereg <reg> <value> into debug mode target_code_sets_hfmclkd Ignored set_hfm_prog_buffer_base <address> Ignored set_hfm_prog_buffer_size <value> Ignored 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 29 X0, Y0, Y1, A0, A1, A2, B0, B1, B2, C0, C1, C2, D0, D1, D2, OMR, SR, LA, LC, HWS0, HWS1, SP, N3, M01, N, R0, R1, R2, R3, R4, R5, SHM01, SHN, SHR0, SHR1, PC. 56800E Flash Programmer User Guide, Rev. 0 Freescale Semiconductor...
  • Page 30 Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for...

Table of Contents