Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
You will need to run your custom bootloader in a debugger, e.g. Keil uVision, to see where it is getting stuck. The error means that Flash Magic is not getting a response.

The example booloader for the LPC4337 uses external SPIFI and that part is the same as the LPC1887 for this purpose, so should be a close enough starting point.

We can also develop this for you as a consulting project - please email us if you want to go down that route.

Andy
22
General Discussion / Re: Python DLL interface file
« Last post by Andy Ayre on August 03, 2021, 10:53:03 am »
For python support you will need to download V11 by going to esacademy.org and entering your activation code. Then choose Tools -> Scripts... to access the Python API.

However if you want to add Flash Magic to your own python application then you will need to access the DLL directly using the Python ctypes library.

Andy
23
General Discussion / Re: Python DLL interface file
« Last post by bassa on August 02, 2021, 11:39:31 pm »
Hi Andy,

Thanks for your help, but that is not the file that is missing.
What i am looking for is the Python interface to acces the functions from the DLL's

The interface is described in the manual.
Even the library import is stated in the example code:

Quote
import FlashMagic;
results = FlashMagic.fm_connect()

The referred file (Flashmagic.py) is simply missing in the installer package.
There are no python files at all in the FMPS package....
24
Hi, there,

  Our requirement is to design a customized bootloader for external flash programming. We have tried the example code of Flash Magic\Bootloaders\External Memory\LPCxpresso18S37.
But, that does not work. Could you guide us on this requirement? Please see our below concerns.

1. do any flash magic versions have an example code for the LPC1833 external SPI Flash bootloader?

2. What are changes needed in Flash Magic\Bootloaders\External Memory\LPCxpresso18S37 that can help us?

3. We have changed the descriptor content in FlashPrg.c file as per the LPC1833 memory map, but that also does not work. We got the error as "Bootloader is not executing in RAM".

4. Please find the attachment and help us to provide some details about the requirement.
25
General Discussion / Re: Python DLL interface file
« Last post by Andy Ayre on August 02, 2021, 09:28:04 am »
Depending on which family you are using, it would be something like FlashMagicARMCortex.dll. Andy
26
General Discussion / Python DLL interface file
« Last post by bassa on July 30, 2021, 12:14:23 am »
Hi,

I'm trying to add Flashmagic functionality to my existing python application.

In the FMPSCManual i found a reference to a Python interface. on page 13:

"The Python interface has been written to simply "wrap" the C based functions described in
this manual. The functions are contained in the FlashMagic object, along with all the
constants.
"

Does anyone know where to find this file?
27
ARM Cortex / Re: LPC1833 external SPI flash bootloader
« Last post by Andy Ayre on May 17, 2021, 08:57:53 am »
We include an example for the LPC18S37 that uses SPIFI. See the Bootloaders\External Memory\LPCxpresso18S37 folder in the installation. It may work out of the box for you or it may need modifying.

We can customize and test this for your hardware as part of a consulting project - please contact us for a quote info at esacademy dot com.

Andy
28
ARM Cortex / LPC1833 external SPI flash bootloader
« Last post by tony567 on May 16, 2021, 03:01:12 am »
Hi, there,

   I am not sure if this forum is alive or not, but I have no other way to solve my issue which stucks me more than 2 months cause I am totally a hardware designer, know little about coding, but no one can help me for this.

here my issue is we implement 2 second source external SPI flash IC for LPC1833, so the original bootloader for one time FW updating into flash is nolonger workable for new SPI flash ICs, the situation now is the original bootloader source code has lost, and no one know the next step in my company

now I need help from flash magic,

1. does flash magic have example code for LPC1833 external SPI Flash bootloader?

2. could flash magic support to teach us how to modify the bootloader code for new SPI flash?

3. if flash magic don't support to teach how to modify the bootloader code, is there any reference documents for LPC1833 external SPI flash bootloader?

4. could flash maigc support to teach the steps to set the MCUXpresso IDE v11.3.1_5262 and Keil uVision5 for LPC1833 external SPI flash bootloader code compile?
29
Feature Requests / Re: remember settings, com port delay
« Last post by Andy Ayre on April 27, 2021, 09:34:57 am »
Thanks for the suggestions - we will look into them. Andy
30
Feature Requests / remember settings, com port delay
« Last post by minex on April 27, 2021, 01:59:21 am »
Hello, nice program, but after GUI update I have some reqest.
Saving configuration file is good, but it cannot be accessed by windows search function.
I suggest, that last used settings, like processor, com port, baud rate and hex file path would be saved to registers, and loaded when program starts. This feature very comfortable, when starting program by clicking windows button and typing "flash" and enter. this is quick program launch, but need to configure settings every time. Like I said, this method do not found saved configuration files, so I need to search them on desktop so minimizing all programs, need to create more files for every cpu. But if I work with one device for some continuous time, then would be good to have remembered settings when launching main program.

Also com port list could have some delay when device disconnected. Some usb-comport adapter restarts after connecting device with power supply, so program lost com port settings. Could be fine, that com port would be removed from list after 3sek when device really removed.

One more, when exiting program, every time program ask for save parameters. Could be checkbox for disable that message. Sometimes that message annoys.
Pages: 1 2 [3] 4 5 ... 10