Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
Programming S25FL256S attached to LPC54018JET180
David B. Feb 3, 2020 at 02:56 PM (14:56 hours)
Staff: Gilbert Y.

  • I can't program the S25FL256S flash attached to LPC54018JET180 M4 processor within MCUXPRESSO IDE. This is our own hardware design. I was able to successfully erase the flash. 
    I downloaded and unzipped *.arp programming algorithms for LPC. I selected the Spansion S25FL256S, and that did not work.
    I know Spansion was bought by Cypress, and the manufacturer may now be Cypress. Not sure if a Manufacturer ID is checked during programming. I see that there are several programming algorithms listed for the S25FL256S device. I also don't know which one to select. I tried Spansion_S25FL256S-64K and Spansion_S25FL256S-256K. Neither worked. There are a total of 6 different programming algorithms. Help on this would be appreciated.
    The Cypress part is a QSPI device.




    Comments

  • I am getting an error when loading the programming algorithm.
    Does the algorithm file need to be located in a specific directory?
    Once it has an error MCUXpresso reverts to the original flash selection.

    Loading programming algorithm ...
    Error loading .ARP file : C:\Users\dbennett\Documents\MCUXpressoIDE_11.0.0_2516\workspace2\ProgrammingAlgorithms\FlashAlgorithms_External_SPI_NXP_ARMP\Spansion_S25FS256S-64K_8x32Meg_sw_spi_nxp.arp at address 10000000
    Error loading programming algorithm - load aborted.
    Error occured during Flash programming.

  • I also get a gdb server error when programming.

  • More information
    Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58917" to 6224
    Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58924" to 7224
    Telnet server running on 127.0.0.1:51794
    Searching for FreeRTOS Kernel Symbols...
    rsp_qC - qSymbol: 707843757272656E74544342
    pxCurrentTCB not found. FreeRTOS analysis not enabled.
    Copyright 2018 P&E Microcomputer Systems,Inc.
    Command Line :C:\nxp\MCUXpressoIDE_11.0.0_2516\ide\plugins\com.pemicro.debug.gdbjtag.pne_4.2.5.201908072150\win32\pegdbserver_console -device=NXP_LPC540xx_LPC54018 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speex

    CMD>RE

    Initializing.
    Target has been RESET and is active.
    CMD>CM C:\Users\dbennett\Documents\MCUXpressoIDE_11.0.0_2516\workspace2\.mcuxpressoide_packages_support\LPC54018_support\Flash\Spansion_S25FL256S_8x32Meg_sw_spi_nxp.arp

    Initializing.
    Initialized.

    ;version 1.00, 03/15/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [Spansion_S25FL256S_sw_spi_nxp_m0]

    ;device Spansion, S25FL256S, 8x32Meg, desc=sw_spi_nxp

    ;begin_cs device=$00000000, length=$02000000, ram=$10000000

    Loading programming algorithm ...
    Error loading .ARP file : C:\Users\dbennett\Documents\MCUXpressoIDE_11.0.0_2516\workspace2\.mcuxpressoide_packages_support\LPC54018_support\Flash\Spansion_S25FL256S_8x32Meg_sw_spi_nxp.arp at address 10000000
    Error loading programming algorithm - load aborted.
    Error occured during Flash programming.

    PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

Add comment


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







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