Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Problem after trying to load software to RAM
. Jun 11, 2017 at 09:07 AM (09:07 hours)
Staff: Kevin M.

  • Hello,
    We are using Multilink Universal FX (0585536309) JTag, with Kinetis environment, on Freescale MK22FN512VLH12 MCU.
    We used K22FN512xxx12_flash.ld linker file, and it worked properly. Then, trying to avoid burning to flash, we tried to load our software to the RAM using K22FN512xxx12_ram.ld linker file, and changed some details such as __heap_size__ and __stack_size__ trying to make it work, we apparently screwed up the Boot loader or something.
    Now, trying to burn to the flash and debug the software as before, we get the output:
    Loading programming algorithm ...
    Error loading .ARP file : C:\Freescale\KDS_1.1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.6.201409261701\win32\gdi\P&E\freescale_k22fn512m12_1x32x128k_pflash.arp at address 20000000

    Error loading programming algorithm - load aborted.

    Error occured during Flash programming.

    PE-ERROR: Error downloading to the device.

    What can be done to fix this problem?
    Thanks




    Comments

  • Hi,

    If the code is all in RAM then we should not need to flash program because we do not need to call any routines to write to RAM.

    Is it possible that you secured the Kinetis device?

    Best,

    Kevin

  • Hi,
    We didn't succeed to load the sw to the RAM.
    We're not sure. It's possible that we secured the device.
    Thanks,
    Nadav

  • Nadav,

    I believe you may have damaged the target.

    Can you try on another setup? Also, make sure your reset pin is connected

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