Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
s19 file format / adress for SPC564L70
Jürgen S. Jan 21, 2015 at 03:31 AM (03:31 hours)
Staff: Takao Y.

  • Hello,

    we area using 2 different uC.
    SPC5643 (1MB Flash)
    SPC564L70 (2MB Flash)

    When i generate the .sap file the generation works fine for both uC.
    As input i have the same .s19 file for both uC (because i am only adressing from 0..FFFFF).

    The flash driver i am using is:
    Freescale_MPC5643L_1x32x256k_Freescale_C90FL_Driver_031.PCP
    ST_SPC564L70_1x32x512k.pcp

    The programming of the SPC5643 works fine.
    But programming the SPC 564L70 always interrupts during programming phase with error code $3003: Program operation failed or canceled.

    When is use as input for the .sap generation instead of my .s19 file my .elf file it works fine. (The problem is i must use the .s19 because of some patch bytes that are different to the elf file).

    Maybe some format problem of the .s19.
    But what is strange, the .s19 works fine for the other uC (SPC5643).

    Do you have a idea what can be the problem.
    Or is it not possible to program 2MB ?

    Thanks for your support
    Jürgen




    Comments

  • Greetings,

    The patch bytes is suspicious to me. Are you editing it manually? If the ELF file works, and you are modifying the S19 then that most likely is your problem.

    I would do is first, program the S19 without modification to confirm that it works. And then see after putting in the patch bytes that it fails. This will help narrow down the possible problem. If the original S19 fails before your patch bytes are written, then there is a bigger issue at hand.


    Takao Yamada

    • Hello,

      the s19 is modified manually, but in a hex editor.
      That means the crc is updated by the tool.
      I checked with the unmodified file but it shows the same error.
      But the same file (original and modified) works fine on the Freescale uC.
      The problem only occurs on the 2MB ST uC.
      Can is send you the s19 to check its format or is there a possibility to try out with the .hex format ?

      Thanks in avance
      Jürgen

  • Greetings,

    Sorry for the delayed response. Were you able to resolve this issue?

    I am told that HEX files are supported, so you should give it a try.

    This sounds to me like an issue with the SPC algorithm or firmware on the cyclone max. Could you create a support request ticket and attach both the unmodified and modified S19 files?


    Takao Yamada

    • Hello,

      thanks for your reply. Bur how do i create a support request ticket where i can attach the files ?

      Jürgen

  • Greetings,

    Go to our support page -> Support Requests.


    Takao Yamada

Add comment


   Want to comment? Please login or create a new PEMicro account.







© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement